FEATURE: Separate notification indicators for new PMs and reviewables (#19201)

This PR adds separate notification indicators for PMs and reviewables that have arrived since the last time the user opened the notifications menu.

The PM indicator is the strongest one of all three indicators followed by the reviewable indicator and then finally the blue indicator. This means that if there's a new PM and a new reviewable, then the PM indicator will be shown.

Meta topic: https://meta.discourse.org/t/no-green-or-red-notification-bubbles/242783?u=osama.

Internal topic: t/82995.
This commit is contained in:
Osama Sayegh
2022-12-01 02:05:32 +03:00
committed by GitHub
parent b8b5cbe463
commit 23bd993164
10 changed files with 289 additions and 41 deletions

View File

@@ -486,21 +486,6 @@ table {
}
}
.ring {
$gradient-start: transparent;
$gradient-end: #090;
background: radial-gradient($gradient-start, $gradient-end);
top: -11px !important;
right: 23.5px !important;
border-radius: 100%;
width: 20px;
height: 20px;
transform-origin: center;
animation-iteration-count: infinite;
animation-duration: 3s;
animation-name: ping;
}
.fade {
opacity: 0;
transition: opacity 0.15s linear;