-
Notifications
You must be signed in to change notification settings - Fork 246
[Feature Request] Improve ease of setting dictionary priority #1539
Comments
Having the order of dictionaries be more configurable would probably fix the issue (either drag-and-drop or an option to move up/down), but there are currently some implementation issues that make this difficult without some prior rework.
Yes, but IMO this isn't a great UX, as it's jarring if a UI element jumps around on the page after editing a text input field. |
Hmm yeah I recall that too. What if the position didn't update until the next time the menu was opened? |
Sure thing, thanks!! |
Sweet! I have some feedback, now that I'm able to play with it myself: enumerated for easy reference:
I think this would be ideal, for the reasons explained in the vid (I'd be willing to submit a pull request but I'm pretty sure it's beyond my ability 👀 ) |
I'm hesitant to remove the priority number, at least right now, since there may be users that use or prefer that method, or maybe want to use both. There's really not much information available about how people use Yomichan and what features are/aren't used, which can be both good and bad. For ordering by the index/rank, this is technically already done, but it's done at a stage that is potentially later than it should be. I could probably make the yomichan/ext/js/language/translator.js Lines 1186 to 1228 in e7d349c
|
Ohh I see so you can simply set all the priority numbers the same, making the sort rely on |
#1667 working well so far, thanks again |
oh whoops I didn't read that correctly the first time (just got my covid vaccine; totally out of it lol) |
By "grouping" do you mean "ordering"? It's expected that the ordering is not the same as it's currently designed, and I don't think that the order can be used the same as the priority, because that will cause dictionary the order of entries to be incorrect. I.e., the definitions of the first dictionary would always come before any other dictionary, even if later dictionaries have definitions that match better due to a higher score. Related: #1668 |
The current system of typing in a priority number works great for smaller numbers of dictionaries, but once you have more than a handful it becomes difficult to manage. For example if you have 20 dictionaries/freq lists and want to add one to the middle of the stack, you have to scroll around and bump up each of the top 10 one by one
I recall the titles used to sort themselves by priority on the settings page, which made it a bit easier. It was still a hassle to manually bump around each priority number though
Anyone have ideas of how to improve it? Drag to sort, maybe?
The text was updated successfully, but these errors were encountered: