Skip to content

Add notification dropdown#2979

Draft
Terbau wants to merge 1 commit into
mono-859-create-notification-backendfrom
mono-851-create-notifications-dropdown
Draft

Add notification dropdown#2979
Terbau wants to merge 1 commit into
mono-859-create-notification-backendfrom
mono-851-create-notifications-dropdown

Conversation

@Terbau

@Terbau Terbau commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@linear

linear Bot commented Mar 4, 2026

Copy link
Copy Markdown

Terbau commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

@Terbau
Terbau force-pushed the mono-859-create-notification-backend branch from d6e23e1 to 6c25f83 Compare March 18, 2026 18:35
@Terbau
Terbau force-pushed the mono-851-create-notifications-dropdown branch from faba847 to 6d8159e Compare March 18, 2026 18:35
@JacobKH123
JacobKH123 force-pushed the mono-859-create-notification-backend branch from 6c25f83 to 04e80f7 Compare March 18, 2026 19:44
@JacobKH123
JacobKH123 force-pushed the mono-851-create-notifications-dropdown branch from 6d8159e to 20b39af Compare March 18, 2026 19:44
@brage-andreas brage-andreas changed the title feat: add notification dropdown Add notification dropdown Mar 29, 2026
@Terbau
Terbau force-pushed the mono-859-create-notification-backend branch from 04e80f7 to d21d581 Compare March 29, 2026 18:13
@Terbau
Terbau force-pushed the mono-851-create-notifications-dropdown branch from 20b39af to f0f08f5 Compare March 29, 2026 18:13
@Terbau
Terbau force-pushed the mono-851-create-notifications-dropdown branch from f0f08f5 to e82fa2b Compare April 15, 2026 12:35
@Terbau
Terbau force-pushed the mono-859-create-notification-backend branch from d21d581 to 0cd8e9e Compare April 15, 2026 12:35
@ErlendSae
ErlendSae force-pushed the mono-859-create-notification-backend branch from 0cd8e9e to ec90836 Compare April 22, 2026 06:14
@ErlendSae
ErlendSae force-pushed the mono-851-create-notifications-dropdown branch from e82fa2b to 30f3d17 Compare April 22, 2026 06:14
@simponm
simponm force-pushed the mono-851-create-notifications-dropdown branch from 30f3d17 to ccd9c46 Compare April 27, 2026 18:40
@simponm
simponm force-pushed the mono-859-create-notification-backend branch from ec90836 to 8907be3 Compare April 27, 2026 18:40
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from ccd9c46 to 9884c96 Compare May 10, 2026 18:56
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 8907be3 to 6d29f53 Compare May 10, 2026 18:56
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from 9884c96 to f64d51d Compare May 11, 2026 09:01
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 797836d to e8b9360 Compare May 13, 2026 23:02
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch 4 times, most recently from 5ca79ae to 74ec7de Compare May 14, 2026 17:24
{!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>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from 74ec7de to fd5f781 Compare May 19, 2026 10:45
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 2a3952e to 974f446 Compare May 19, 2026 10:45
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from fd5f781 to d0c21e6 Compare May 19, 2026 21:58
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 974f446 to cd0baef Compare May 19, 2026 21:58
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from d0c21e6 to 983ceec Compare May 19, 2026 23:17
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from cd0baef to 24a10f4 Compare May 19, 2026 23:17
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch 2 times, most recently from 51ecf05 to 816fcc4 Compare May 21, 2026 17:19
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch 2 times, most recently from b36a014 to b770004 Compare May 23, 2026 16:02
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch 2 times, most recently from a090bf4 to febf237 Compare May 25, 2026 16:56
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch 2 times, most recently from 9fc2ebc to e6fcc7e Compare May 25, 2026 22:03
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from febf237 to 52621d1 Compare May 25, 2026 22:03
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from e6fcc7e to c491f77 Compare June 11, 2026 19:59
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch 2 times, most recently from 313e471 to b2f4af7 Compare June 14, 2026 12:11
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from c491f77 to 96a6d22 Compare June 14, 2026 12:11
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from b2f4af7 to de1cd8f Compare June 17, 2026 15:48
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 57ed375 to a4b384d Compare June 24, 2026 18:07
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from de1cd8f to 88e1983 Compare June 24, 2026 18:07
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch 2 times, most recently from cb2c756 to 387b1eb Compare July 7, 2026 09:17
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 21b0501 to 2632abd Compare July 7, 2026 09:17
@brage-andreas
brage-andreas force-pushed the mono-851-create-notifications-dropdown branch from 387b1eb to b0863d2 Compare July 11, 2026 16:46
@brage-andreas
brage-andreas force-pushed the mono-859-create-notification-backend branch from 2632abd to 949ad3a Compare July 11, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant