-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Notifications] Add a Mentions tab #7044
Conversation
|
I apologise for commenting with a feature request here, but since features aren't often revisited I'd like to ask here. |
I think we could just remember the selection across reloads which would solve that |
It's great to see this being worked on, as I think it will be a big QoL improvement for so many users!
Conversations does seem like a more precise, intuitive name to me (replies and quotes are just as important to see as mentions) and so I think it will better convey the meaning of what notifications it shows, especially to new users, some of whom may not be familiar with Twitter. People may still refer to it as "my mentions" in casual usage, but we'll know what they mean. (Or maybe they'll start saying "my convos"?)
This would be excellent, as I think I would probably spend most of my time in the Notifications screen in the Conversations tab, maybe occasionally checking out All, so it would be very useful if the selection were to be remembered across reloads.
I don't have a particularly strong view on this, I think it looks fine as-is, but maybe it would look better with bigger tabs, like Twitter? Fwiw one of my followers commented that they'd prefer that it look that way. I also have one feature request, although I don't know how technically feasible it would be: what about showing follow back notifications as well in the Conversations tab? Yes, they're not strictly speaking Conversations, but I think they're more valuable info to most users compared to general follower notifications from people you probably don't know, as you've already indicated that you're interested in that account by following it. |
I changed to Mentions to reduce bikeshedding, for familiarity, and because we already use the word "Conversations" in DMs. |
talked to @pfrazee, merging to test |
This adds a new Mentions tab to the Notifications screen. This tab is equivalent to the Mentions tab on Twitter. It filters out non-post notifications (follows and likes) but displays every post in your notifications (including replies, mentions, and quotes). The previous behavior is now a tab called All (which remains the default on the Notifications screen).
Note that this does not filter out any posts. On the contrary, it lets you read only notifications that are posts. The All tab did not work very well for that because it fetches likes and follows, causing posts (including quotes, mentions, and replies) to be easily lost behind the pagination boundary. Unlike All, the Mentions tab will only display posts (including quotes, mentions, and replies) so it should reduce the likelihood of missing replies.
Here's a screenshot of two tabs being displayed:
I'm not showing the Mentions tab because we don't actually have the backend wired up for it yet so I can't test whether it will work. However, you can imagine it will display only the posts.
RQKEY
for whether it should do both or just'all'
Expand tab widths?Reviewing
I don't have a great suggestion other than testing it. You can review commit by commit to trace the line of thinking, I tried to keep those digestible. Reading through the entire code isn't too bad either.
Some things to pay attention to: