-
Notifications
You must be signed in to change notification settings - Fork 31
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
Sort Picker Changes #1494
Sort Picker Changes #1494
Conversation
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.
Code looks good!
The design is very nice too--my only note is that the pin button being in a separate column feels a bit off. Some alternative ideas:
- Color/fill the icon of the selected sort instead of the checkmark; we'd need a colorblind mode alternative, since fill is not available for scaled (or we find a new icon--megaphone, maybe?)
- Shade the background of the selected sort
Mlem/App/Views/Pages/Community/AdvancedSortView+SortButton.swift
Outdated
Show resolved
Hide resolved
Sure, I can try those. How do you propose that the user changes whether an item is pinned or not? Via context menu? Currently, tapping the pin button toggles the pin state and tapping the sort mode itself selects it. |
Tapping the pin still seems like the way to go--we can also put it on a swipe action |
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.
LGTM! 🔥
This is just the sort picker stuff - I haven't moved filters (e.g. "Hide read" etc) here yet.
Closes #1212
Closes #1217
If there are any unavailable sort modes, they're shown at the bottom of the list.