Skip to content

Commit 8b3f637

Browse files
authored
Merge pull request #40 from markrai/notification-system-expanded
Notification system expanded
2 parents d410ab5 + dbe797d commit 8b3f637

15 files changed

Lines changed: 1050 additions & 36 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
> **Upgrades:** No breaking changes in **3.7.x** / **3.8.x** / **3.9.x** / **3.10.x** / **3.11.x** unless noted below.
44
55

6+
## [3.11.4] - 2026-04-05
7+
8+
### Features
9+
10+
- **Assignments — notification panel** — The bottom-right badge **toggles** an inbox panel (`#global-notification-panel`) instead of clearing the count on click. **localStorage** list **`scrumboy_notifications_v1_{userId}`** stores up to **100** assignment rows (prepend, dedupe by event **id** or **projectId + todoId + type**), with **read/unread** state and **“Mark all as read”**. Rows open **`/{slug}?openTodoId={id}`** via the SPA router when a project slug is known; slugs are filled from the existing **projects** cache (dashboard / project list / board load) or resolved on demand when needed.
11+
- **Web Push (PWA)****Service worker** **`notificationclick`** opens **`/{projectSlug}?openTodoId={todoId}`** when the push payload includes both fields (otherwise **`/`**), focusing an existing window and using **`WindowClient.navigate`** when supported.
12+
13+
### Improvements
14+
15+
- **Assignments — performance** — Inbox updates stay off the realtime hot path: **no `GET /api/projects`** during **`todo.assigned`** handling; **debounced** persistence and **`notifications:updated`** emissions reduce **localStorage** and UI churn during bursty SSE. Legacy **`incrementUnread()`** / **`scrumboy_unread_v1_`** remain for migration; the badge count is driven by **unread rows in the inbox list**.
16+
17+
---
18+
619
## [3.11.3] - 2026-04-05
720

821
### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<img width="372" src="internal/httpapi/web/githublogo.png" alt="scrumboy logo" />
33
<br />
4-
<img src="https://img.shields.io/badge/version-v3.11.3-blue" alt="version" />
4+
<img src="https://img.shields.io/badge/version-v3.11.4-blue" alt="version" />
55
<a href="LICENSE">
66
<img src="https://img.shields.io/badge/license-AGPL--v3-orange" alt="license" />
77
</a>

0 commit comments

Comments
 (0)