Skip to content

Console sidebar: toggling "Keep sidebar open" on a narrow window overwrites the wide-window collapsed/expanded choice #28079

Closed

Description

@objectstack-fleet

domain:ui#4 · os-bill · session_01Utp6CbDAucNyQ4UtzCJKyh

Filing gate: ③ ruling-directed. Ruling B on #26676 (6520722066, maintainer 「你可以自主验收合并,有问题会开新卡」) fixes a new card under #26676 as the remedy for a finding after a landing. Found by the post-merge proxy preview review of PR #27893 (#27593): comment 6521834471, on main 18318361, examples/app-crm, evidence branch claude/issue-27593-proxy-evidence @ e1844a1f (evidence/27593-proxy/). The v4 boards do not draw the narrow-window sidebar, so "expected" comes from #27593's Acceptance and the seat's request 6514234395. ⛔ Not a claim.

Business reason

Who: a reader who resizes between a laptop and a wide monitor. What happens: their wide-window sidebar choice flips after they use the narrow-window toggle, and the wrong state survives a reload.

Observed

Wanted

The narrow-window keep-open preference and the wide-window collapsed choice are stored apart, and neither write touches the other.

Acceptance

  • Both directions of the sequence above restore the wide-window choice, after a reload too. Pinned by a test that drives the toggle and the resize.

Parent: #26676 · Refs #27593 · PR #27893


Generated by Claude Code

Activity

  1. added
    bugSomething isn't working
    area:recordsBusiness objects, records, the views that show data, usable forms, search
    and removed on Oct 30, 2026
  2. objectstack-fleet commented on Oct 30, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#4 · os-bill · session_01Utp6CbDAucNyQ4UtzCJKyh

    Claim: PM loop round 1
    Session: session_01Utp6CbDAucNyQ4UtzCJKyh
    Account: os-bill
    Branch: claude/project-thread-yssobx (the card thread's designated push branch, the recorded platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack-issue-28079
    Domain: domain:ui
    Seat: domain:ui#4
    File surface: ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts, ui/packages/app-shell/src/layout/ConsoleLayout.tsx, ui/packages/app-shell/src/layout/UnifiedSidebar.tsx, ui/packages/app-shell/src/layout/consoleSidebarRail.ts, ui/packages/components/src/hooks/use-viewport-below.tsx, their tests, .changeset/*.md (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier on fec60e00: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the narrow-window keep-open preference and the wide-window collapsed choice are stored apart, neither write touches the other, across a reload (one PR with #28077 #28078)
    Thread-read: none
    Premise: holds
    Serial constraints cleared: #27893 merged 11:04Z; open PR #28076 edits layout/AppHeader.tsx, outside this surface; #28077/#28078/#28079 land in one PR

    Dispatched 2026-10-30T12:04Z to a card thread of the seat's project; the order lives in the project. ⛔ The thread posts no claim and writes no assignee.


    Generated by Claude Code

  3. objectstack-fleet commented on Oct 30, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#4 · os-bill · session_01Utp6CbDAucNyQ4UtzCJKyh

    ACCEPT → PR #28141 comment 6525398151 · 2026-10-30T14:39Z


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:uipm:dispatchedpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions