mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
**Preview:** <img width="479" alt="Screenshot 2025-03-18 at 10 38 25" src="https://github.com/user-attachments/assets/2e4cb48e-3606-478c-a68d-13465789330b" /> [Figma file](https://www.figma.com/design/5kRpzK8Qr1k38nNz7H0HSh/Inbox-notifications?node-id=1-2726&t=PUsQwLrwyzXUxhf1-0) **This PR adds:** - Notification widget in the navbar - Show notifications - Option to mark each notification as read - Update notifications in realtime **What is next?** - Option to mark all the notifications as read at once - Option to load previous notifications - Right now, it only shows the latest 25 notifications - Having custom icons for each type of notification **And about tests?** The notification widget components are well covered by the current stories, but we definitely want to have e2e tests for it. However, in my recent projects, I found more useful to ship the UI features first, get feedback, change whatever needs to be changed, and then, add the e2e tests to avoid major rework. Related to https://github.com/coder/internal/issues/336