Skip to content

Include links in notification hub entries#81

Merged
ChrisPenner merged 4 commits into
mainfrom
cp/hydrate-notification-links
May 28, 2025
Merged

Include links in notification hub entries#81
ChrisPenner merged 4 commits into
mainfrom
cp/hydrate-notification-links

Conversation

@ChrisPenner
Copy link
Copy Markdown
Member

Overview

Adds a link field to notifications which point to the relevant page for a notification.

Implementation notes

One big additional change this includes is adding a MonadReader instance for the app env in database transactions so I can hydrate links inside transactions; which doesn't come up often, but is used in the Webhook worker

Test coverage

Transcripts

},
"data": {
"kind": "projectBranchUpdated",
"link": "http://<HOST>:1234/@test/publictestproject/code/newbranch/latest",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@hojberg Here's all you need to care about :)

@ChrisPenner ChrisPenner requested a review from hojberg May 27, 2025 23:45
@ChrisPenner ChrisPenner force-pushed the cp/hydrate-notification-links branch from 7b3f625 to ac91fcb Compare May 28, 2025 18:12
@ChrisPenner ChrisPenner merged commit 30dc253 into main May 28, 2025
4 checks passed
@ChrisPenner ChrisPenner deleted the cp/hydrate-notification-links branch May 28, 2025 20:28
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