Let a guide checklist update from its page filters without losing checks, and optionally limit the page to what the checklist contains
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m18s
Validate and deploy Sokko G / deploy (push) Successful in 18s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-01 17:39:00 +01:00
parent 17e5cd5e63
commit 07a43ef848
17 changed files with 486 additions and 36 deletions

View file

@ -21,7 +21,7 @@
display: grid;
align-self: flex-end;
gap: var(--space-2);
width: min(100%, 360px);
width: min(100%, 460px);
padding: 8px;
}
.guide-checklist-page-select {
@ -32,7 +32,7 @@
font-size: var(--font-size-xs);
font-weight: 700;
}
.guide-checklist-page-select > span { white-space: nowrap; }
.guide-checklist-page-select > label { white-space: nowrap; }
.guide-checklist-page-select .nds-select {
width: auto;
min-width: 0;
@ -40,6 +40,7 @@
}
.guide-checklist-page-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: var(--space-2);

View file

@ -80,6 +80,51 @@
margin-top: var(--space-4);
}
// Écart entre la checklist et les résultats de la page, avant « Mettre à jour depuis la page ».
.guide-checklist-update-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--space-2);
margin: var(--space-4) 0 0;
div {
display: grid;
gap: 2px;
padding: var(--space-2) var(--space-3);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
background: rgba(5, 7, 17, 0.32);
}
dt {
color: var(--color-text-muted);
font-size: var(--font-size-xs);
font-weight: 800;
text-transform: uppercase;
}
dd {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: var(--space-2);
margin: 0;
color: var(--color-text-primary);
font-size: var(--font-size-lg);
font-weight: 800;
}
small {
color: var(--color-text-secondary);
font-size: var(--font-size-xs);
font-weight: 600;
}
}
.guide-checklist-update-option.nds-switch {
margin-top: var(--space-4);
}
.results-checklist-modal-actions {
margin-top: var(--space-5);
}