Skip to content

Conversation

@kevinmcconnell
Copy link
Collaborator

@kevinmcconnell kevinmcconnell commented Jan 10, 2025

This doesn't have the real UI yet, but I wanted to start assembling the parts we're likely to need. It has the basics of generating per-user notifications from the tracked events, broadcasting them, and dismissing them when the associated bubble is viewed.

Clicking on a notification takes you to the associated resource for that notification -- currently that's either the bubble or a specific comment.

cc @jzimdars

notification-tray.webm

jzimdars and others added 11 commits January 13, 2025 20:46
Previously when a notification was read, we'd remove it from the list.
This will often be fine, but if there were more unread notifications
that hadn't been loaded yet (because there were too many for the initial
page) then the list could become empty when really there are still more
items to show.

So instead of removing the items when they're read, we can reload the
list with the new page of items. This should allow the older
notifications to come into view when necessary.
@kevinmcconnell kevinmcconnell merged commit 55e6efd into main Jan 14, 2025
4 checks passed
@kevinmcconnell kevinmcconnell deleted the notifs branch January 14, 2025 15:25
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