feat(home): convert dashboard view (closes #15)#27
Merged
Conversation
|
|
This was referenced Jun 11, 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.



Closes
closes #15
Depends on
This PR depends visually on #26 (CSS cache desync fix). Without that fix, the new scoped styles introduced here would silently mismatch their JS scope after upgrade — please review/merge #26 first.
Changes per request
Matches the 6 elements of the issue description :
.card-footto.card-head, computed from a single batchedrest/subscription/status/refresh?id=…(chunks of 50) that fans out across all listed subscription ids, then merged best-effort. When no statuses are available, the bar is hidden.<div class="row">listing replaced by a lightweight scoped mini-table (.mini/.mrow). Headers: project name + LjStatus dot (imported from @ligoj/host since #115). Capped at 50 rows with a+N moremarker./project/${row.projectId}, mirroringProjectListView.openProject.realToolsnow preservesprojectIdper row..card-head, local reactiveSetof collapsed tool keys, smoothv-expand-transition. Default state : all expanded..toolbarnext to the existingLjSegmentedCartes/Liste toggle, visible only in cards mode. Dynamic label (common.collapseAll/common.expandAll, new i18n keys).COLORSnamed map → deterministicPALETTEfallback. Applied as a 4pxborder-topon.card-headin addition to the existing gradient.Note on the SVG-derived option
The issue text says the color can also be "provided by the plugin (need data model evolution)". This PR stays strictly frontend (no plugin-api / data model changes). A follow-up PR is planned to migrate
NodeIconfrom<img>PNG to inline<svg>in the host, which would enable a stricter SVG-derived color path. Tracked separately.Verified runtime
All six criteria validated on localhost:
/projectsince rows are tools, not single projects)No behavioural regression introduced. Stat-bar and admin layout bugs surfaced during this work are fixed in the companion PR #26.