Skip to content

Tier 1: the worker-table sort preference survives a reload #3086

Closed as not planned

Description

@VijitSingh97

What's the problem

Manual step: checklist 5.5. Every view preference, including the worker-table sort, is remembered across reloads.

Current coverage:

  • onSort calls savePref, which writes through the global localStorage (static/app/logic.mjs), not the injected storage the other preferences use. Under node it is a no-op.
  • dashboard.test.mjs asserts that the view, theme, series and averaging window are stored, but the sort tests never read storage.

what it impacts

Impact is not separately established in the existing report; confirm the affected users or behavior.

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.

possible solutions

Proposed check (tier 1):

  • Stub globalThis.localStorage (or pass storage into savePref).
  • Call onSort(3) and assert dashboardSort === "3:asc".
  • Re-initialise and assert the table is sorted by that column.

Found while building the manual QA walkthrough (#3065). Part of #3068. Test debt for after the 2.0.0 cut, so it is blocked by #2774.

Activity

  1. added
    dashboard
    testing
    P3-hardening
    blocked
    on Oct 3, 2026
  2. removed
    blocked
    on Oct 14, 2026
  3. VijitSingh97 commented on Oct 16, 2026

    @VijitSingh97
    CollaboratorAuthor

    Not planned (lean roadmap cleanup, owner decision 2026-10-16): Worker-table sort persistence; the table is being rebuilt.

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

    P3-hardeningdashboardtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions