Skip to content

Make the field panels rearrangeable too - #270

Merged
it-rec merged 1 commit into
masterfrom
claude/ux-reorder-all
Jun 1, 2026
Merged

Make the field panels rearrangeable too#270
it-rec merged 1 commit into
masterfrom
claude/ux-reorder-all

Conversation

@it-rec

@it-rec it-rec commented Jun 1, 2026

Copy link
Copy Markdown
Owner

What

Extends drag-to-reorder beyond the notebook to the full-width panels below it — Initiative, Treasure, Journal, Chronicle — each with the same handle and its own persisted order.

The reorder wiring (order reconcile + sortable + per-key drag props) is extracted into a shared usePanelReorder hook, so the notebook grid and the new Field stack share one engine instead of duplicating it.

Why

Follow-up to #267 — players wanted to reorder all of their panels, not just the four notebook ledgers.

Tests

New Field.test.jsx (reconcile + persisted-order render); Notebook refactored onto the shared hook with its existing tests still green. App + Panel suites green. Lint + build pass.

Screenshot

The field panels (Treasure, Session Journal, The Chronicle) now each carry a ⠿ handle in their header:

field reorder

Screenshot file included in this PR at docs/screenshots/ux/reorder-all.png.

Notes

⚠️ Stacked on #267 (reorderable notebook panels) — it reuses PanelReorderContext and refactors Notebook, so this targets claude/ux-reorderable-panels as its base. Review/merge #267 first; this diff then shows only the field-group additions.

https://claude.ai/code/session_0166awMvVyFXuwEex3x7jDmM


Generated by Claude Code

Base automatically changed from claude/ux-reorderable-panels to master June 1, 2026 12:28
Extract the reorder engine into a shared usePanelReorder hook and add a
second group (Initiative, Treasure, Journal, Chronicle) below the notebook.
Each grows the same drag handle and persists its own order per device.
@it-rec
it-rec force-pushed the claude/ux-reorder-all branch from 8b61798 to a3a98a3 Compare June 1, 2026 12:29
@it-rec
it-rec merged commit 818ed71 into master Jun 1, 2026
4 checks passed
@it-rec
it-rec deleted the claude/ux-reorder-all branch June 1, 2026 12:32
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.

2 participants