Skip to content

adding notification filters#3612

Closed
skiniks wants to merge 8 commits into
bluesky-social:mainfrom
skiniks:feature/notification-sorting
Closed

adding notification filters#3612
skiniks wants to merge 8 commits into
bluesky-social:mainfrom
skiniks:feature/notification-sorting

Conversation

@skiniks
Copy link
Copy Markdown
Contributor

@skiniks skiniks commented Apr 18, 2024

This PR is meant to be a jumping point for adding filters to the notifications screen to sort by type.

Screenshot 2024-04-18 at 3 18 44 PM

@gaearon
Copy link
Copy Markdown
Contributor

gaearon commented Apr 18, 2024

Thanks for the PR! This is quite overwhelming and I think this level of granularity isn't that useful. How about we start with All and Mentions, similar to Twitter? Mentions would include any textual interactions, i.e. both replies and quotes.

@skiniks
Copy link
Copy Markdown
Contributor Author

skiniks commented Apr 19, 2024

Thanks @gaearon! I agree. I've gone ahead and updated the PR.

Screenshot 2024-04-19 at 9 51 58 AM

@gaearon
Copy link
Copy Markdown
Contributor

gaearon commented Apr 19, 2024

This implementation seems to just replace the contents of the same list, but I think we should treat these as actually separate tabs. E.g. you don't want scrolling one to affect the other. You can check the Search page for an example of how to make it work.

Copy link
Copy Markdown
Contributor

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to use a real Pager

@gaearon
Copy link
Copy Markdown
Contributor

gaearon commented Apr 22, 2024

OK, so the experience here isn't super great because all filtering is done client-side, and so the "mentions" tab may require multiple roundtrips to get anything on the next page (and it may just be a few items). I think this makes it not super great since for large accounts, most notifications would probably be non-mentions anyway so the feature won't solve the problem they're having. We need to add a separate backend endpoint for this. I'll add it to a roadmap but probably not super soon.

@skiniks
Copy link
Copy Markdown
Contributor Author

skiniks commented Apr 22, 2024

Sounds good, thanks @gaearon!

@surfdude29
Copy link
Copy Markdown
Contributor

surfdude29 commented Dec 11, 2024

Following on from this, there's now a draft PR open to add a Mentions tab to the Notifications screen:

@skiniks
Copy link
Copy Markdown
Contributor Author

skiniks commented Dec 12, 2024

Closing this as #7044 has been merged. Thanks for working on this with me, @gaearon!

@skiniks skiniks closed this Dec 12, 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.

3 participants