-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Updating assets #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
thanks for reporting! i think it would be confusing if it just overwrote the old asset. however, maybe this can function like in an operating system—the editor could show an alert, asking if the user wants to overwrite the file or keep both. |
Yes, I agree. An alert would be best to prevent user error. |
@catarak I would like to work on this issue. Can you please help me with which functions needs refactoring. Also, the only method I know to add a file in the ide is to click on the new file or new folder dragdown, in the sidepane. Are there any other methods to achieve it? |
Yes, that is the only method I know of to upload files. I have also noticed that you can only upload 6 files at a time. |
yeah! i would use the component |
…#734) - Add a check in the createFile action for repeated files - Add a NameCollisionModal.jsx[WIP] and corresponding reducers and actions to show and hide it
in my opinion, the amount of effort it would take to work on this issue exceeds its benefit, and therefore i think it makes sense to close this issue. feel free to reopen if you think otherwise!! |
@catarak That makes sense. I would like to say that I have students every semester frustrated with this because they often need to re-edit their assets and when some of those assets are image sequences this can be a tedious process. One solution for this is for me to just have them work in vs code, but then that takes them out of the p5 environment and I love using this editor as a teaching tool for art and media students new to code. I will let you be the judge to re-open, as I am sure there are higher-priorities needing attention. |
got it! maybe the solution here is not being able to edit assets, but for the flow for uploading/renaming/deleting assets to be easier. |
@catarak Yes, that sounds like a plausible solution. Sounds like this may be relative to being the able to the re-order/drag files into folders issue, not sure what issue that is but I have seen it. |
Instead of adding a
-#
to the end of a file that is being re-uploaded (or more specifically a file that has the same name as an existing file in the project), it would be nice if it would just overwrite that existing file.The text was updated successfully, but these errors were encountered: