Partially refresh notifications list (#35010)

This PR prevents full reloads for the notifications list when changing a
notifications status (read, unread, pinned).

---------

Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
authored and GitHub committed 2025-07-10 04:15:14 +00:00
1 parent b6d6402a1b
commit ea809a5220
5 files changed
+120 -196

No files matched your search

+11
View File
@@ -114,6 +114,14 @@
border-radius: var(--border-radius);
}
.notifications-item {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5em;
padding: 0.5em 1em;
}
.notifications-item:hover {
background: var(--color-hover);
}
@@ -129,6 +137,9 @@
.notifications-item:hover .notifications-buttons {
display: flex;
align-items: center;
justify-content: end;
gap: 0.25em;
}
.notifications-item:hover .notifications-updated {