This PR adjusts the UI to be more in line with the updated design tokens and similar components in the product. There's a lot of refactor around the previous components because all notifications were very similar, so I consolidated around a reusable item. Also it simplifies a lot of unnecessary features like filtering the notifications or the extra dropdown menu for each notification item.
This also means that each notification can be read, but cannot be unread (something I don't feel it's worth keeping just for cluttering the UI for now). Let's see what feedback we get from our users.
On stream, we have the PR related notifications which would be great to flip in production, once this is there
No new messages
The presence of new messages is highlighted with an on-brand dot, without showing the number, because of the small space and potential for big numbers to start pilling up
New styling for text, better contrast, highlighting the important parts by font-weight, not color.
Similar on-brand dots used to show unread notifications (we can try using purple as well if lime doesn't work)
New style for hover effects and single cross button to dismiss each message one by one
Current state of notifications
This PR adjusts the UI to be more in line with the updated design tokens and similar components in the product. There's a lot of refactor around the previous components because all notifications were very similar, so I consolidated around a reusable item. Also it simplifies a lot of unnecessary features like filtering the notifications or the extra dropdown menu for each notification item.
This also means that each notification can be read, but cannot be unread (something I don't feel it's worth keeping just for cluttering the UI for now). Let's see what feedback we get from our users.
On stream, we have the PR related notifications which would be great to flip in production, once this is there
No new messages
The presence of new messages is highlighted with an on-brand dot, without showing the number, because of the small space and potential for big numbers to start pilling up
New styling for text, better contrast, highlighting the important parts by font-weight, not color. Similar on-brand dots used to show unread notifications (we can try using purple as well if lime doesn't work) New style for hover effects and single cross button to dismiss each message one by one