Add a badge to the bell icon on new notifications (#6751)
It changes the icon if a new notification event is consumed and changes it back to normal upon toggling NotificationPanel. Added a new field to NotificationPanel: - have_unseen_notifications: bool Added a new icon asset - IconName::BellBadged => "assets/icons/bell_badged.svg" Release Notes: - Added a badge to bell icon for new notifications ([#6721](https://github.com/zed-industries/zed/issues/6721)).
This commit is contained in:
parent
895c8384bf
commit
62365e6a29
3 changed files with 39 additions and 5 deletions
5
assets/icons/bell_badged.svg
Normal file
5
assets/icons/bell_badged.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bell">
|
||||
<path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/>
|
||||
<path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/>
|
||||
<circle cx="19" cy="19" r="4" fill="white"/>
|
||||
</svg>
|
After Width: | Height: | Size: 370 B |
Loading…
Add table
Add a link
Reference in a new issue