Add dashboard crosslinks and card drag-and-drop reordering

Dashboard cards (targets, auto-start, profiles) are now clickable,
navigating to the full entity card on the appropriate tab. Card
sections support drag-and-drop reordering via grip handles with
localStorage persistence. Fix crosslink navigation scoping to avoid
matching dashboard cards, and fix highlight race on rapid clicks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 00:40:37 +03:00
parent 88abd31c1c
commit 9194b978e0
8 changed files with 364 additions and 38 deletions

View File

@@ -88,6 +88,11 @@
box-shadow: 0 2px 8px var(--shadow-color);
}
.dashboard-card-link:hover {
border-color: var(--primary-color);
box-shadow: 0 4px 12px var(--shadow-color);
}
.dashboard-target-info {
display: flex;
align-items: center;
@@ -112,6 +117,10 @@
gap: 4px;
}
.dashboard-card-link {
cursor: pointer;
}
.dashboard-target-name .health-dot {
margin-right: 0;
flex-shrink: 0;