Skip to content

Bug: expanded Notifications stays open over the selected destination #3903

Closed

Description

@yannickmonney

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

  1. 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.
  2. Open Notifications, click Expand, then activate the alert row.
  3. 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.”
  4. 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 actual NotificationBell, NotificationListPanel and NotificationRow. Compact control and expanded failure both pass.
  • Frozen readbacks: notifications-compact-navigation.json, notifications-expanded-navigation.json and .html.
  • CUA real-browser replay at http://127.0.0.1:3087/, running the same production notification components unchanged. Browser fixture source is under browser/; only the hooks and router are owned synthetic boundaries. window.fetch rejects unexpected transport; no Tale data is read or mutated by the fixture.
  • Before/after AX: notifications-expanded-before.ax.txt, notifications-expanded-after.ax.txt prove the route changed to /dashboard/org-fixture/automations while the modal remains present/focused.
  • Screenshots: notifications-expanded-before.png, notifications-expanded-after.png show the modal still blocking the Automation destination; notifications-compact-after.png and .ax.txt show 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

  1. yannickmonney commented on Sep 29, 2026

    @yannickmonney
    ContributorAuthor

    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.

  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    ed04627
  4. added a commit that references this issue on Oct 30, 2026
    db64a72
  5. added a commit that references this issue on Oct 30, 2026
    4afe077
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions