Skip to content

fix(signals-dashboard): keep hiding classroom desks stashed before desk groups - #22

Merged
jennyf19 merged 1 commit into
mainfrom
stash-legacy-classroom
Nov 9, 2026
Merged

jennyf19 merged 1 commit into
mainfrom
stash-legacy-classroom

Conversation

@jennyf19

@jennyf19 jennyf19 commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Follow-up to #21, from Copilot's review of the same change in github/awesome-copilot#6302: github/awesome-copilot#6302 (comment)

Stash entries written before desk groups hold only a desk name, and the old dashboard hid the desk of that name in both desks/ and classroom/. #21 mapped every such entry to desks/<name>, so a stashed classroom desk would reappear after upgrading, until its 48-hour stash expired. Each one now maps to every built-in root that holds the desk, falling back to desks/<name>. Entries that already carry a desk id are unchanged.

Testing: the dashboard tests (node --experimental-vm-modules --test) pass, 33 of 33. The new test covers a desk only in classroom/ and a name in both desks/ and classroom/; it fails without the fix.

…sk groups

Stash entries written before desk groups hold only a desk name, and the
old dashboard hid the desk of that name in desks/ and in classroom/. The
migration mapped every such entry to desks/<name>, so a stashed classroom
desk reappeared after upgrading. Map each one to every built-in root that
holds the desk, falling back to desks/<name>. Entries that already carry a
desk id are unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a3e3bdc9-f091-4246-8b0f-3d3442cd59f2
@jennyf19
jennyf19 merged commit add485c into main Nov 9, 2026
1 check passed
@jennyf19
jennyf19 deleted the stash-legacy-classroom branch November 9, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant