Repository navigation
Instrumentation Dashboard: rearrangeable panels with dupontbertrand:gridstack - #59
Merged
nachocodoner merged 2 commits intoNov 19, 2026
Conversation
…ridstack The admin page becomes a grid of panels that can be dragged and resized. The layout is one admin_layouts document, saved by admin.saveLayout (positions only, checked against the known panels and the 12 columns) and published, so every open dashboard follows a move. Reset layout puts the panels back. On a narrow screen they stack in one column, which is not saved.
Member
|
Could you update this one to 3.6.1? |
nachocodoner
approved these changes
Nov 19, 2026
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.
The admin page of the Instrumentation Dashboard becomes a grid of panels that people can rearrange, through
dupontbertrand:gridstack, a Blaze component for gridstack.js.What changes
admin_layoutsdocument, published to the dashboard: a move made on one open dashboard shows up on the others at onceadmin.saveLayoutstores positions only, each panel once, within the 12 columns and no smaller than the panel allows. Titles and templates stay in the code (imports/admin/layout.js), so a client cannot inject a panel. Both Methods go throughrequireAdmin(), like the snapshotgridstack@^14.1.0inpackage.json), sonpm auditsees itChecks
npm run test:headless: 18 Mocha tests, 3 of them new (what the layout Method saves, what it refuses, the reset)npm run e2e:headless: 4 Playwright tests, 2 of them new:npm run lint: 0 errors, the same 3 warnings as beforeexamples.jsonregenerated withscripts/update-examples-json.mjsThe package is mine, on Atmosphere since this week (0.2.1).