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

Various improvements to the display of unread conversation and unread message counts. #2693

Closed
wants to merge 6 commits into from

Conversation

ianmacd
Copy link

@ianmacd ianmacd commented Mar 9, 2023

Contributor checklist:

Description

Various fixes for tracking the unread message count:

  • There's now no cap on the number of unread messages reported. Arbitrarily imposing an upper bound on this doesn't seem useful to me, so I have removed it.
  • For the same reason, there's now also no cap on the number of unread conversations reported.
  • The number of unread conversations is now reported with the total number of unread messages across all conversations.
  • The scroll-to-bottom button is now overlaid with the number of messages still unread in the currently selected conversation.

If you don't want all of these changes, just pick and choose the parts you want.

It's getting harder for me over time to submit modular pull-requests, because my own fork is steadily diverging from upstream and the features I add are slowly introducing dependencies between pull-requests, some of which have already been rejected upstream.

The dual unread convo/unread message count from the action panel:

image

Examples of the unread message count atop the scroll-to-bottom. The position auto-adjusts, based on the width (i.e. number of digits) of the count:

chevron10chevron9chevron8chevron7chevron6

@ianmacd ianmacd changed the title Pr56 Various improvements to the display of unread conversation and unread message counts. Mar 9, 2023
@KeeJef
Copy link
Collaborator

KeeJef commented Mar 15, 2023

Spoke with the team about these changes, we all liked the inclusion of the unread count on the scroll down button and are happy to merge this if alignment issues are fixed.

However other elements of the PR we don't see as necessary, removing caps on the number of unread messages displayed can clutter the interface and overwhelm the user with information which isn't really useful.

The dual unread convo/unread message count is cool, but visually it looks unprofessional, its not exactly clear what it means by just looking at the icon.

@ianmacd
Copy link
Author

ianmacd commented Mar 15, 2023

Spoke with the team about these changes, we all liked the inclusion of the unread count on the scroll down button and are happy to merge this if alignment issues are fixed.

I'll look at fixing the alignment.

However other elements of the PR we don't see as necessary, removing caps on the number of unread messages displayed can clutter the interface and overwhelm the user with information which isn't really useful.

Well, the character count difference between 9999+ and a 5-digit unread message count is 0, so we literally gain an order of magnitude in count accuracy for no increase in element width. Removing the cap doesn't actually result in more interface clutter until the user has more than 99,999 unread messages. That's a lot. I wonder whether such a user currently exists and, if he does, whether the extra digit would truly "overwhelm" him.

I suggest this consideration is almost certainly a non-issue, and that open-group pruning (i.e. the removal of old messages in large open groups) would kick in and take care of this edge case anyway.

Similarly, once the number of unread conversations rises to 100, the number of characters required to display 99+ is 3. Again, abandoning the + here and instead using that character for the actual count provides us with an order of magnitude more accuracy up to 999 without increasing the width of the element. So here again, no actual interface clutter arises.

The only users theoretically burdened with an extra digit are those with more than 999 unread conversations. I suggest that the number of users who even administer more than 999 conversations is infinitesimal, and that the number of them who have more than 999 unread conversations is almost certainly 0. Again, this seems a non-issue to me.

The dual unread convo/unread message count is cool, but visually it looks unprofessional, its not exactly clear what it means by just looking at the icon.

I agree it doesn't look good, but I couldn't think of a better alternative within the space constraints that apply. I'm open to ideas.

@RubenGarcia
Copy link

I would like to see this merged. Thanks!

@Bilb
Copy link
Collaborator

Bilb commented Mar 22, 2024

going to be merged as part of

@Bilb
Copy link
Collaborator

Bilb commented Mar 22, 2024

#2996

@Bilb Bilb closed this Mar 22, 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.

None yet

4 participants