-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Implement auto-renaming of multiple selected files #1999
Conversation
* Show bulk rename dialog when more than one file selected for renaming * Allow prefixes and suffixes * Allow basename same as original, fixed text or partial replacement of original * Simplified default options * Allow editing of modifiers if required * Allow sorting and reversing number sequences * Allow partial renaming of list
The interface is considerably simplified, especially if the default options are sufficient. E.g. it only requires 2 clicks to add a default number sequence and do the renaming. More advanced options are still available if requested. |
Thanks for the review. I was trying not to restrict the user too much but that means allowing to them to do something not sensible (as long as it is not destructive). I can certainly restrict some things like having more than one prefix/suffix of the same kind and/or the total number of modifications. Could maybe restyle the "Add -fix" tool to distinguish more obviously from the modifiers? Could have a single separate the "Add -fix" tool like Gnome which defaults to adding a suffix and have an extra option in the modifier menu to make it a prefix? Personally, I did not find the Gnome interface particularly flexible (at least not obviously). It only offers to add a number range as a suffix for me (with few options). I cannot edit placeholders and if I type one in as a prefix it is not interpreted. Maybe it has improved in a later version? |
It seems the more advanced abilities of Gnome Files depend on having Tracker installed and working. I tried installing it but it did not seem to make any difference. Maybe working better in elementary 7? I am still using elementary 6.1 |
The window size still tends to change so I may push an alternate design to a different PR. |
@danirabbit I have pared down the interface some more and replaced the combobox with radiobuttons. Is this going in the right direction? |
# Conflicts fixed: # src/Utils/KeyUtils.vala # src/View/AbstractDirectoryView.vala
@danirabbit Should I continue with this? It has undergone several design iterations. Maybe time to squash and resubmit? |
Sorry Marco, still awaiting approval. It is hard to get large amounts of
new code approved but in this case there is no way of breaking it up into
incremental commits.
I could try reminding Danielle again but she is focused on other projects
at the moment.
Jeremy
…On Thu, 13 Apr 2023 at 23:54, Marco M. ***@***.***> wrote:
Hi, sorry for asking here. But, is there any progress on this? It's a
pretty useful feature.
—
Reply to this email directly, view it on GitHub
<#1999 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQG3NBFH76FK6P5XZHCS4DXBB7YXANCNFSM5NAXK62A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Great work! Would love to see something like this integrated into elementary OS. Some quick UX feedback: "The number in order of" might be confused by a kind of sorting/filter option, since it's directly above the before & after preview list. You must have considered this but why not configure the name parts in a vertical list? I understand it's slightly less intuitive, but it makes the layout easier / more scalable. It might even make it possible to move/drag parts around. |
@peteruithoven Thanks very much for your feedback 😄 I am quite happy to iterate on the design as I know that is not my strong point.
Yes, good idea - I'll try it.
Good idea! If there was a reason I didn't do it this way I've forgotten now 😛
One of my earlier efforts did have a more vertical layout (see https://github.com/jeremypw/bulk-renamer-plugin) but I liked that the horizontal parts matched the actual name so seems more intuitive. If width were an issue could probably make the layout responsive. Supporting narrow layouts was probably not a thing when I started this. If we were to want to support arbitrary numbers of prefixes and suffixes then the UI would have to be rethought anyway.
Absolutely! Not sure what the minimum feature set that would be useful for a start is here, but suggestions for paring it down further welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not super in love with this design, but it is a hotly requested feature so I'm inclined to merge and iterate on it later 👍
Yes, I wrote this a while back and if I went through it again I would definitely find many ways it could be improved in both coding and design but at least it is something that works and can be improved upon in the future depending on feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peteruithoven As this has now been merged, could you raise issues against specific design flaws so that we can iterate on it? Thanks. |
Previous developments squashed into one commit
Possible future enhancements in other PRs