Skip to content
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

Move dictionary up and down buttons out of kebab menu #971

Merged
merged 5 commits into from
May 21, 2024

Conversation

Kuuuube
Copy link
Member

@Kuuuube Kuuuube commented May 19, 2024

Depends on #981. It doesn't make sense to have this ui unless the dict order sorting works properly.

Repositioning dictionaries is a huge pain right now and requires two button clicks to move a dictionary a single space up. Using Move to... or having to repeatedly hit the menu button and then move up or down is not a good user experience.

Ideally we want something like drag and drop but I think this change helps a bit before we get to that.

Screenshot:
image

Tested on Firefox, Chromium, Firefox Android, and Kiwi browser.

@Kuuuube Kuuuube added kind/enhancement The issue or PR is a new feature or request area/ui-ux The issue or PR is related to UI/UX/Design labels May 19, 2024
@Kuuuube Kuuuube requested a review from a team as a code owner May 19, 2024 15:07
Copy link
Collaborator

@jamesmaa jamesmaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "move to.." functionally do? Is it just the dictionary display order in settings?

@@ -62,6 +62,8 @@
</button>
</div>
<input type="number" step="1" class="short-height dictionary-priority">
<button type="button" class="icon-button" id="dictionary-move-up" data-menu-action="moveUp"><span class="icon-button-inner"><span class="icon" data-icon="up-chevron"></span></span></button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there alt text that we can add to help confused users?

Copy link
Member Author

@Kuuuube Kuuuube May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If users are getting confused about what up and down arrows do I'm concerned about them.

Due to the size of the arrows we cant really add a "down" label. Could do "Up" and "Dn" maybe.

@MarvNC
Copy link
Member

MarvNC commented May 20, 2024

What does "move to.." functionally do? Is it just the dictionary display order in settings?

Yes, it moves the dictionary to number in the list that you input.

@Kuuuube
Copy link
Member Author

Kuuuube commented May 20, 2024

Moved dict priority setting under advanced. Expecting this to be merged alongside or after #981. Without that change this ui doesn't make sense.

@jamesmaa jamesmaa added this pull request to the merge queue May 21, 2024
Merged via the queue into themoeway:master with commit 4f39126 May 21, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design kind/enhancement The issue or PR is a new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants