Conversation
The default dashboard mixes every extension's default widgets, and the grid placed them in whatever order the extensions booted. Ledger's widgets on it now carry an `order` (see fleet-ops' registerWidgets for the whole layout): - Revenue (20) joins the top KPI row beside fleet-ops' Radar and Active Orders. - Expenses, Net Income, Outstanding AR and Overdue AR (110-140) form their own row of four; Overdue AR is new on the default dashboard. - Recent Financial Activity (150) fills the left half, 19 rows high: the console's Blog and GitHub card stack on the right at 13 + 6 rows. Ledger's own dashboard keeps its full widget set, unordered.
…hboard - Expenses, Net Income, Outstanding AR and Overdue AR (41-44) now form the second row, directly under the top KPI row. - Recent Financial Activity is 10 rows tall with Cash Flow Summary (165, 9 rows) under it, together as tall as the console's Blog and GitHub card beside them. Cash Flow is ordered after the Blog so the grid places it under Activity rather than beside it.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 1249 1249
===========================================
Files 74 74
Lines 6981 6981
===========================================
Hits 6981 6981
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Why
The console's Default Dashboard mixes every extension's default widgets, and the grid auto-placed them in whatever order the extensions happened to boot. Ledger's widgets landed in odd spots between fleet-ops' widgets.
What changed
Ledger's widgets on the shared
dashboardnow declare anorder, which the dashboard lays out by (see fleetbase/ember-ui#180):Ledger's own
ledgerdashboard keeps its full widget set, unordered.Depends on
order. Without it,orderis ignored and the old behaviour remains.feature/dashboard-widget-orderPR: the fleet-ops, Blog and GitHub placements that complete the layout.Verification
Checked in the running console with fleet-ops, ledger and ember-ui linked. The grid positions match the intended rows exactly, and the bottoms of the two lower columns line up.