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

Indicate and sort on rooms with unread messages #205

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Conversation

ulyssa
Copy link
Owner

@ulyssa ulyssa commented Feb 28, 2024

This fixes #83 by adding two new fields to sort on, unread and recent. I've updated the sort order for "rooms" (and therefore by default all of the other room-like lists) to now be ["favorite", "lowpriority", "unread", "name"], so that favorites will still be at the top, and low-priority items at the bottom of the list, with unreads at the top inside those groups, and finally sorted by names.

The "recent" sort field can be used by folks who also want rooms to move within the list based on how recently someone has messaged there. This could potentially be annoying for users in multiple rooms with frequent activity that keep swapping positions in the list, so I haven't put it in the default sort.

@ulyssa ulyssa added this to the v0.0.9 milestone Feb 28, 2024
@ulyssa ulyssa merged commit a2a708f into main Feb 28, 2024
4 checks passed
@ulyssa ulyssa deleted the indicate-unreads branch February 28, 2024 17:03
@ulyssa ulyssa mentioned this pull request Mar 22, 2024
@ulyssa ulyssa mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature suggestion: sort rooms by unread first
1 participant