Skip to content

Viewer: a Try again action when the first recording fails to open #416

Closed

Description

@neuromechanist

Found in review of #415 (silent-failure lens, finding 10). When the first open of a recording fails (the failed outcome in src/lib/eeg-viewer/viewer-session.ts), the viewer shows an error and a link but no way to retry: live is null, so the nav controls hide, and only a reload recovers. This matters most in the embed (#411), where a partner's visitor has no surrounding page to fall back on. In-place navigation is unaffected because it keeps its controls.

Proposal: a Try again button in the failed state that re-runs the same open through the session (same supersession and guards), on both the dataset page dialog and the embed. Out of scope: automatic retries. Part of #410's follow-ups.

Activity

  1. neuromechanist commented on Oct 6, 2026

    @neuromechanist
    ContributorAuthor

    Shipped to staging in #428 (merge commit 4d6bacd), so it reaches production with the next release.

    The failed-open message now has a Try again button on the dataset page dialog and in the embed. It re-runs the same open through the viewer session, for a failed mount and for a store that would not open (an outage). When the viewer's own code failed to load it reads Reload page and reloads with ?view= naming the recording, because Chromium and WebKit remember a failed dynamic import for the life of the document. Checked in Chromium and WebKit; Firefox was not.

    Follow-ups filed: #429 (the inline viewer under a tree row has the same remembered-import dead end) and #430 (a throw after present() leaves "Loading viewer..." with no message).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions