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
Copy link
Copy Markdown
Contributor

@Terbau Terbau commented Mar 4, 2026

No description provided.

@linear
Copy link
Copy Markdown

linear Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

Terbau commented Mar 4, 2026

@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 from 983ceec to 51ecf05 Compare May 19, 2026 23:33
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