Notification Enhancements
Status: Partially shipped. Two of the four changes are live:
- Markdown in notification text. An expanded row renders the body as markdown. The collapsed row and the bell show a plain one-line preview.
- Type-based filtering. A second row of category chips sits beside the read-state filter and is filtered server-side (
categoryon the grouped endpoint). The categories differ from the table below. They are Social, Comments, Earnings, Account, Moderation, Projects, not Social/Comments/Content/Creator/System.
Both were live before 2026-07-20. That is further back than the available history reaches, so there is no commit to cite. They moved into the shared inbox that every product renders on 2026-09-20 (80a0f389). The canonical inbox now lives on the account site (account.echoofdreams.eu/notifications).
Still planned: the "notice" link type (link_type / link_slug) and the distinct system-notification styling. Rows currently carry a per-type icon and tone, not the left-border/tint treatment specced below.
Overview
Four changes to the notification system: markdown support in notification text, a "notice" link type that opens a full named page instead of navigating to an entity, visual indicators for system notifications, and type-based filtering on the notifications page.
Markdown in Notification Text
Notification contentText currently renders as plain text. This limits what system and admin notifications can communicate — no bold for emphasis, no links for context, no formatting for readability.
After this change: contentText supports markdown. The notification list, bell dropdown, and grouped notification summaries all render markdown instead of plain text.
Supported Subset
Notifications are short-form UI elements, not documents. The supported markdown subset matches what comments already use:
| Syntax | Renders As |
|---|---|
**bold** |
bold |
*italic* |
italic |
`code` |
code |
[link text](url) |
Clickable link |
||spoiler|| |
Spoiler text |
No headings, images, lists, or block-level elements. Notification text stays inline.
Examples
Your character **Crimson Veil** was approved for publication.
New platform feature: [Packages](/page/introducing-packages) are now available.
Scheduled maintenance on **April 15** — see the [full notice](/page/maintenance-april-2026) for details.
"Notice" Link Type
Today, clicking a notification navigates to an entity — a character page, a creator profile, a moderation queue. But some notifications don't point to an entity. System announcements, policy updates, maintenance notices, and feature introductions need a destination that holds the full message.
The "notice" link type uses the existing named page system (/page/:slug) as that destination. When a notification has link type notice, clicking it opens a named page where the full content lives.
How It Works
A notification with link type notice carries a linkSlug — the slug of a named page. The notification text is the summary; the named page is the full content.
Notification:
type: System
contentText: "**New policy update** — content guidelines have been revised. [Read the full notice](/page/policy-update-april-2026)."
linkType: notice
linkSlug: policy-update-april-2026
Click behavior:
→ Navigate to /page/policy-update-april-2026
→ Named page renders the full markdown content
Use Cases
| Scenario | Notification Text | Named Page |
|---|---|---|
| Maintenance window | Scheduled maintenance on April 15, 2am–4am UTC | Full details: affected services, expected downtime, workarounds |
| Policy update | Content guidelines have been updated | Full changelog of what changed and why |
| Feature launch | Packages are now available | Introduction, how to get started, what's included |
| Platform incident | Service disruption resolved | Root cause, timeline, what we did about it |
Why Named Pages
Named pages already exist, already render markdown, already support auth-gated content, and already have a clean URL pattern (/page/:slug). Creating a new "notice detail" system would duplicate all of that. The named page is the notice — the notification is the alert that points to it.
This also means admins author notice content through the existing named page editor. No new admin UI needed for notice content management.
Navigation
getNotificationUrl() gains a new case: when linkType is notice, return /page/${linkSlug}. This slots into the existing notification click handler without changing the navigation pattern for any other notification type.
System Notification Indicator
System notifications (System type) look the same as every other notification in the list. A maintenance notice, a policy update, and a "someone favorited your character" notification all share the same visual treatment. System notices get lost in the noise.
After this change: System notifications get a distinct color accent so they stand out at a glance — no interaction required.
Visual Treatment
System notifications use a left border accent and a distinct type badge color to differentiate them from user-triggered notifications:
| Element | Standard Notification | System Notification |
|---|---|---|
| Left border | None | 2px solid accent color (e.g., colors.info[400]) |
| Type badge color | colors.primary[400] |
colors.info[400] |
| Background (unread) | alpha(colors.primary[500], 0.06) |
alpha(colors.info[500], 0.08) |
| Icon | User avatar / stacked avatars | Platform icon (megaphone or info) |
The difference is subtle — a tinted background and colored left edge, not a loud banner. System notifications are important but shouldn't scream over everything else in the list.
Which Types Get the Indicator
The indicator applies to notification types that come from the platform, not from other users:
| Gets indicator | Doesn't get indicator |
|---|---|
System |
NewContent, NewFollower |
ContentApproved |
ContentFavorited, SharedWithYou |
ContentRejected |
CommentNew, CommentReply |
ReportResolved |
CommentReaction, CommentMention |
CreatorRequestApproved |
CommentHighlighted |
CreatorRequestRejected |
ConversationPublishReview |
The rule: if a human user triggered it, standard styling. If the platform/moderation system generated it, system styling. ConversationPublishReview is a gray area — it's system-generated but triggered by a user action. Keep it standard.
Type-Based Filtering
The notifications page has three filter tabs: All, Unread, Read. These filter by read state, not by content. A user who wants to find a system announcement from last week scrolls through favorites, comments, and follows to get there.
After this change: A second filter dimension lets users narrow by notification category.
Filter Categories
Individual notification types are too granular for filter tabs — 18 types would create an unusable bar. Group them into user-meaningful categories:
| Category | Label | Includes |
|---|---|---|
| All | All | Everything (default) |
| Social | Social | NewFollower, ContentFavorited, SharedWithYou |
| Comments | Comments | CommentNew, CommentReply, CommentReaction, CommentMention, CommentHighlighted |
| Content | Content | NewContent, ContentApproved, ContentRejected, ConversationPublishReview, ConversationPublishReminder, ConversationAutoPublished |
| Creator | Creator | CreatorRequestApproved, CreatorRequestRejected |
| System | System | System, ReportResolved |
UI Layout
The existing read-state filter (All / Unread / Read) stays as the primary row. Category filters appear as a second row of pill buttons below it. Both filters apply simultaneously:
[All] [Unread] [Read] ← read-state filter (existing)
[All] [Social] [Comments] [Content] [Creator] [System] ← category filter (new)
Selecting "Unread" + "Comments" shows only unread comment notifications. Selecting "All" + "System" shows all system notifications regardless of read state.
Backend vs. Frontend Filtering
The grouped notifications endpoint already accepts a filter parameter for read state. Add an optional category parameter:
GET /api/notifications/grouped?page=1&limit=20&filter=unread&category=comments
Backend filtering is preferred over frontend filtering — the notification list is paginated, and filtering client-side only works on the current page. If a user has 200 notifications and filters to "System", they expect to see all system notifications, not just the ones that happened to load on page 1.
Empty States
Each category filter gets a specific empty state message:
| Category | Empty State |
|---|---|
| Social | No social notifications |
| Comments | No comment notifications |
| Content | No content notifications |
| Creator | No creator notifications |
| System | No system notifications |
Data Model Changes
Notifications Table
Two new columns on notifications:
| Column | Type | Default | Purpose |
|---|---|---|---|
link_type |
TEXT |
NULL |
Navigation behavior: NULL = existing entity-based navigation, 'notice' = named page |
link_slug |
TEXT |
NULL |
Named page slug (only set when link_type = 'notice') |
When link_type is NULL, the existing getNotificationUrl() logic applies unchanged — entity type, entity ID, share token, and type-specific routing all work as before.
Notification Model (C#)
Notification
+ LinkType string? // null = default entity navigation, "notice" = named page
+ LinkSlug string? // named page slug when LinkType = "notice"
API Response
Notification (JSON)
+ linkType string | null
+ linkSlug string | null
Both fields are nullable. Existing notifications return null for both — no breaking change to current consumers.
Migration Path
Phase 1: Markdown rendering + system indicator
Frontend-only changes. Render contentText through the markdown renderer instead of as plain text. Existing plain-text notifications render identically (no markdown syntax = no formatting). Add the system notification visual indicator — left border accent, distinct background tint, platform icon. Both are pure styling changes with no backend work.
Phase 2: Type-based filtering
Add category parameter to the grouped notifications endpoint. Backend maps notification types to categories and filters in the query. Frontend adds the category pill row below the existing read-state filters. Requires a small backend change (query filter) and frontend UI addition.
Phase 3: Notice link type
Add link_type and link_slug columns. Update the C# model and API response. Update getNotificationUrl() to handle the notice case. Admin notification creation gains optional link type and slug fields.