-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Action to mass rename all ROMs for a platform #253
Conversation
Looks really nice, didn't know about the good practice of prepend sockets events with the endpoint. Apart from that, I think it is better to open the pull requests to Also I have the bad practice of sometimes, for small fixes or refactor changes, working directly on I also changed the |
That's debatable: in most open-source projects, For simplicity's sake, I'd recommend switching the base branch back to master.
That's wise, I do the same thing for the projects I maintain. |
You convinced me. Anyway is mostly like the same method I am proposing but instead of |
Since you are making a new socket endpoint and refactoring some parts of the front (and back) code, I will merge this PR with the API wrapper to let you adapt the code and use it if needed. Maybe we can add the socket logic into the wrapper |
@zurdi15 After thinking about this today, I think there's some preliminary work that needs to happen before we can tackle a feature like this (namely an integration with no-intro). I'm going to close this PR in a bit, after I've extracted some of the refactoring we can still use into a separate PR. |
Yeah would be nice to first integrate no-intro in order to have a proper renaming feature 👍 |
Closes #251
This PR introduces a new socket endpoint that allows mass-renaming all ROMs for a platform (when in the Gallery view). This should make it easier for users with large libraries who's games have been correctly categorized to clean up their files.
What changes
mass_rename
rename_all_roms
with a given platform slugscan:done
,scan:done_ko
,mass_rename:done
At some point I'd like to add a simple prettier config (and settle on consistent code style).
TODO