Add notification dropdown#2979
Draft
Terbau wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Terbau
force-pushed
the
mono-859-create-notification-backend
branch
from
March 18, 2026 18:35
d6e23e1 to
6c25f83
Compare
Terbau
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
March 18, 2026 18:35
faba847 to
6d8159e
Compare
JacobKH123
force-pushed
the
mono-859-create-notification-backend
branch
from
March 18, 2026 19:44
6c25f83 to
04e80f7
Compare
JacobKH123
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
March 18, 2026 19:44
6d8159e to
20b39af
Compare
Terbau
force-pushed
the
mono-859-create-notification-backend
branch
from
March 29, 2026 18:13
04e80f7 to
d21d581
Compare
Terbau
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
March 29, 2026 18:13
20b39af to
f0f08f5
Compare
Terbau
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
April 15, 2026 12:35
f0f08f5 to
e82fa2b
Compare
Terbau
force-pushed
the
mono-859-create-notification-backend
branch
from
April 15, 2026 12:35
d21d581 to
0cd8e9e
Compare
ErlendSae
force-pushed
the
mono-859-create-notification-backend
branch
from
April 22, 2026 06:14
0cd8e9e to
ec90836
Compare
ErlendSae
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
April 22, 2026 06:14
e82fa2b to
30f3d17
Compare
simponm
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
April 27, 2026 18:40
30f3d17 to
ccd9c46
Compare
simponm
force-pushed
the
mono-859-create-notification-backend
branch
from
April 27, 2026 18:40
ec90836 to
8907be3
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 10, 2026 18:56
ccd9c46 to
9884c96
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
May 10, 2026 18:56
8907be3 to
6d29f53
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 11, 2026 09:01
9884c96 to
f64d51d
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
May 13, 2026 23:02
797836d to
e8b9360
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
4 times, most recently
from
May 14, 2026 17:24
5ca79ae to
74ec7de
Compare
| {!isRead && <div className={cn("h-2 w-2 rounded-full mx-auto mt-2", unreadDotColor)} />} | ||
| </div> | ||
| <div className="flex flex-col p-0.5 w-full relative"> | ||
| <p className="text-black/70 dark:text-white/70 text-xs ml-auto absolute top-0 right-0">5 timer siden</p> |
There was a problem hiding this comment.
Hardcoded timestamp string will display "5 timer siden" for all notifications regardless of their actual creation time. This should calculate the relative time from notification.createdAt or notification.updatedAt.
// Fix: Replace with dynamic time calculation
<p className="text-black/70 dark:text-white/70 text-xs ml-auto absolute top-0 right-0">
{formatRelativeTime(notification.createdAt)}
</p>
Suggested change
| <p className="text-black/70 dark:text-white/70 text-xs ml-auto absolute top-0 right-0">5 timer siden</p> | |
| <p className="text-black/70 dark:text-white/70 text-xs ml-auto absolute top-0 right-0">{formatRelativeTime(notification.createdAt)}</p> | |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 19, 2026 10:45
74ec7de to
fd5f781
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
May 19, 2026 10:45
2a3952e to
974f446
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 19, 2026 21:58
fd5f781 to
d0c21e6
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
May 19, 2026 21:58
974f446 to
cd0baef
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 19, 2026 23:17
d0c21e6 to
983ceec
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
May 19, 2026 23:17
cd0baef to
24a10f4
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
2 times, most recently
from
May 21, 2026 17:19
51ecf05 to
816fcc4
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
2 times, most recently
from
May 23, 2026 16:02
b36a014 to
b770004
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
2 times, most recently
from
May 25, 2026 16:56
a090bf4 to
febf237
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
2 times, most recently
from
May 25, 2026 22:03
9fc2ebc to
e6fcc7e
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
May 25, 2026 22:03
febf237 to
52621d1
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
June 11, 2026 19:59
e6fcc7e to
c491f77
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
2 times, most recently
from
June 14, 2026 12:11
313e471 to
b2f4af7
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
June 14, 2026 12:11
c491f77 to
96a6d22
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
June 17, 2026 15:48
b2f4af7 to
de1cd8f
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
June 24, 2026 18:07
57ed375 to
a4b384d
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
June 24, 2026 18:07
de1cd8f to
88e1983
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
2 times, most recently
from
July 7, 2026 09:17
cb2c756 to
387b1eb
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
July 7, 2026 09:17
21b0501 to
2632abd
Compare
brage-andreas
force-pushed
the
mono-851-create-notifications-dropdown
branch
from
July 11, 2026 16:46
387b1eb to
b0863d2
Compare
brage-andreas
force-pushed
the
mono-859-create-notification-backend
branch
from
July 11, 2026 16:46
2632abd to
949ad3a
Compare
This was referenced Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.