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

Show unread count for each account #1160

Open
gnprice opened this issue Dec 14, 2024 · 1 comment
Open

Show unread count for each account #1160

gnprice opened this issue Dec 14, 2024 · 1 comment
Labels
a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for

Comments

@gnprice
Copy link
Member

gnprice commented Dec 14, 2024

In the UI where we list your accounts, we should show your number of unreads in each account.

The eventual design for this is tracked in #1038, for an account-switcher modal. But this could also be implemented before such a modal — the unread counts would fit just as well on the existing choose-account page.

The semantics for how many unreads you have, and in particular for which messages count toward the total (in the presence of muting, etc.), should be the same as for the desktop app and for the favicon in the web app.

Implementation

Getting the data to know how many unreads the user has in each account will involve creating a PerAccountStore proactively for each account. To do this, we'll make a PerAccountStoreWidget for each account in this UI.

When the PerAccountStore for a given account isn't yet ready — for example because we haven't yet been able to reach that server and load data — we'll want to somehow let the user know that the unread count is still loading. We shouldn't just silently show no unreads, the same way we would if we did know the answer and the answer was zero, because that would mislead the user.

This feature won't be suitable for a contributor new to the project.

@gnprice gnprice added a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for labels Dec 14, 2024
@gnprice gnprice added this to the M6: Post-launch milestone Dec 14, 2024
@gnprice
Copy link
Member Author

gnprice commented Dec 14, 2024

This feature is valuable for people who use a large number of different Zulip accounts, and generally keep their unreads clear. For those users, it makes it possible to quickly spot which accounts have new messages to look at, without having to go into each of them one by one to check.

For example we heard this feedback from a user today in the context of a migration from Slack:

I currently have 22 Slack workspaces that I communicate with all the time. Unfortunately, not using my phone to commuinicate with them is not an option as I am away from my pc for extended periods but work still goes on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for
Projects
Status: No status
Development

No branches or pull requests

1 participant