Skip to content

Allow drag-and-drop reordering of dashboard widgets - #270

Open
moderathor12 wants to merge 3 commits into
IceWhaleTech:mainfrom
moderathor12:feature/widget-drag-reorder
Open

Allow drag-and-drop reordering of dashboard widgets#270
moderathor12 wants to merge 3 commits into
IceWhaleTech:mainfrom
moderathor12:feature/widget-drag-reorder

Conversation

@moderathor12

Copy link
Copy Markdown

What this does

Adds drag-and-drop reordering to the Widgets Settings panel, so users can customize the order of widgets (System status, Storage, etc.) on their dashboard.

How it works

  • Wraps the widget list in the existing Settings.vue with <draggable> from vuedraggable, which is already a project dependency (used in AppSection.vue for app icon reordering — this follows the same pattern).
  • A small CSS-based grip handle (no new icon dependency) lets users grab and reorder items.
  • On drag end, the existing handleInput() method fires, which already persists the new order through SideBar.vue's saveData() — no backend or storage schema changes needed, since widget order was already driven by the array order in widgets_config.

Related discussions

This addresses long-standing community requests for customizable dashboard widgets:

Testing

Tested locally against a live CasaOS instance — widgets can be reordered via the Widgets Settings dropdown, and the new order is reflected immediately on the dashboard and persists after refresh.

@sonarqubecloud

Copy link
Copy Markdown

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