Repository navigation
Description
Candidate: notifications-expanded-navigation-remains-open-20260929
Severity: P2. Activating a notification from the expanded dialog marks it read and changes the route, but its destination stays obscured by the modal. The user sees a caught-up list and must dismiss it manually to reach the requested page.
Source SHA: 9ea59724df24d62729a9360f3902d964dab39b3e.
Reproduction
- Have an unread notification with a navigation target. The owned replay supplies one synthetic organization/system alert whose production fallback target is
/dashboard/org-fixture/automations. - Open Notifications, click Expand, then activate the alert row.
- Observe the new destination route under the still-open Notifications modal. The successful synthetic mark-read update removes the row from Unread, leaving “You're all caught up.”
- Control: reload only the owned fixture, open the compact Notifications popover and activate the same alert without expanding. It navigates and closes the popover.
Expected: activating a navigation row closes the expanded Notifications surface so the requested destination is visible and reachable, consistent with compact mode.
Actual: navigation succeeds and the row is marked read, but the expanded modal remains open and blocks interaction with the destination.
Root cause
The compact NotificationListPanel in services/platform/app/features/notifications/components/notification-bell.tsx:139-146 receives onNavigate, which sets navigating and closes the popover. The expanded panel at :153-165 receives no onNavigate, so nothing clears expanded when its row activates. Both personal and organization row handlers call onNavigate?.() in notification-list-panel.tsx:498-502,523-526; the navigation link itself still activates.
This is one expanded-surface lifecycle defect; org and personal rows are variants of the same omitted callback.
Evidence
- Closed component replay:
notifications-expanded-navigation.probe.test.tsx, with actualNotificationBell,NotificationListPanelandNotificationRow. Compact control and expanded failure both pass. - Frozen readbacks:
notifications-compact-navigation.json,notifications-expanded-navigation.jsonand.html. - CUA real-browser replay at
http://127.0.0.1:3087/, running the same production notification components unchanged. Browser fixture source is underbrowser/; only the hooks and router are owned synthetic boundaries.window.fetchrejects unexpected transport; no Tale data is read or mutated by the fixture. - Before/after AX:
notifications-expanded-before.ax.txt,notifications-expanded-after.ax.txtprove the route changed to/dashboard/org-fixture/automationswhile the modal remains present/focused. - Screenshots:
notifications-expanded-before.png,notifications-expanded-after.pngshow the modal still blocking the Automation destination;notifications-compact-after.pngand.ax.txtshow the control has no overlay and the destination is exposed. - Component test log:
probes.log(5/5 tests overall). Browser server log:browser/vite.log; initial fixture-only startup failure was repaired before the observed repro, and is not a product finding.
The current local application at port 3073 has no notification rows, so its direct browser pass established the bell/Unread/All controls only. The navigation failure was observed in the owned local fixture at port 3087 and independently asserted in the isolated component replay; no production origin was used.
Deduplication
Compared findings.json (97 entries), baseline-102.json, and latest issues-live-batch11.json (1072 entries); hashes are saved in dedup-snapshots.json. No matching expanded-dialog lifecycle report was found. #2377 concerns merged ordering and missing targets; this notification has a working target and navigation succeeds. #2650 concerns Escape dismissal in the compact popover; #1988 concerns focus restoration. #3609 is read-mutation rollback after failure, whereas this case reproduces with a successful read mutation.
Independent parent verification
Re-ran both retained suites against the exact source SHA above: 5/5 tests passed, including outside-modal, editable-target and compact-notification controls. Inspected the Home window listener, row navigation helper and compact/expanded NotificationListPanel wiring. Current GitHub searches for Home/modal and Notifications/expanded found no matching report. Log: parent-replay.log.
Activity
yannickmonney commentedon Sep 29, 2026
Current-main revalidation — b7f8ca0
Source:
b7f8ca02ec249c004652b1ee52e112d9cdfa53ea. Two Chromium cases use actual NotificationBell/ListPanel/Row: the expanded row invokes mark-read and the destination callback but leaves its modal mounted; the compact popover closes in the control. Backend/router seams are inert. Bell and ListPanel are unchanged; the row delta only changes its unread-dot color.Evidence:
/Users/yannick/.codex/notes/tale-1000-additional/current-main-reconciliation/home-navigation/browser.log. Installed external dependencies are reused; app/UI/shared source points at the isolated current tree. Browser runs retain the runner/browser version warning. These revalidations add no findings and include no production testing.fix(platform): close expanded notifications when a row navigates
fix(platform): close expanded notifications when a row navigates
fix(platform): close expanded notifications when a row navigates