From db9e51e68357f52f4cb79f7930b16a2f038434d2 Mon Sep 17 00:00:00 2001 From: timmy Date: Thu, 6 Aug 2026 21:55:32 +0000 Subject: [PATCH] feat: bulk acknowledge unread updates (#141) --- frontend/index.html | 55 +++++++++++++++++++++++++++ frontend/my-work.js | 40 ++++++++++++++++++++ src/main.py | 29 +++++++++++++++ tests/test_api_paths.py | 1 + tests/test_my_work.py | 66 +++++++++++++++++++++++++++++++++ tests/test_notification_read.py | 55 +++++++++++++++++++++++++++ 6 files changed, 246 insertions(+) diff --git a/frontend/index.html b/frontend/index.html index 8d584a4..ccab759 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -66,6 +66,8 @@ textarea { resize: vertical; min-height: 120px; } .my-work-card:hover { border-color:var(--accent); } .my-work-card-title { display:block; margin:5px 0; font-weight:650; } .mark-update-read { min-height:44px; width:100%; } +.my-work-bulk { position:sticky; bottom:0; z-index:4; margin:10px -4px -12px; padding:10px 4px; padding-bottom:calc(10px + env(safe-area-inset-bottom)); background:rgba(11,21,38,.98); border-top:1px solid #2a496e; } +.my-work-bulk button { min-height:44px; width:100%; } .my-work[data-stale="true"] { border-color:#fcd34d; } .review-sheet { position:fixed; inset:0; z-index:50; display:none; justify-content:flex-end; background:rgba(5,12,21,.72); backdrop-filter:blur(4px); } .review-sheet.open { display:flex; } @@ -138,6 +140,9 @@ textarea { resize: vertical; min-height: 120px; }
+