Add rearrangeable drag-and-drop dashboard#78
Merged
Conversation
The main panels are now drag-to-rearrange cards, modeled on Fresharr's layout system. Hover a panel header for a grip handle; drag to reorder or move a card between responsive columns (3/2/1 by width). Each width keeps its own arrangement, persisted per-browser in localStorage alongside the existing collapse-state. A "Reset layout" button restores the default. The transient run-status widgets (shutdown warning, progress bar, result tiles) are lifted into a fixed strip above the grid so live repair status never moves mid-run. On narrow screens it degrades to the original single stacked column, so it's a pure progressive-enhancement — no API/backend changes. Verified in a headless browser: 3/2/1 responsive columns, drag reorder, per-width persistence across reload, reset, and single-column fallback. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ffp2b19PUmzEU1fxpnURA
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ports Fresharr's dashboard layout system to Starr: the main panels are now drag-to-rearrange cards.
⠳) appears; drag it to reorder a card or move it to another column.localStorage(same mechanism as the existing panel collapse-state — no backend/API changes).Cards: Connection, Repair Log, Operations, Trends, Backups, Schedules, Notifications. The app-tab row stays fixed at the top.
Implementation
All in
app/templates/index.html:.dashboardflex columns,.dash-card, hover-reveal.drag-handle, drag/drop states.localStoragepersistence, reset, and a debounced resize re-flow. Grip handles are injected into existing headers, andtoggleSectionignores handle clicks so dragging a collapsible panel doesn't toggle it.Verification
Driven in a headless Chromium (screenshots captured):
Staged under
## [Unreleased]. This is a feature, so if you release it, it'd be the 1.3.0 minor bump. Want me to cut it, or leave it onedgefor you to try first?🤖 Generated with Claude Code
Generated by Claude Code