release: v0.14.0

Fourteen commits since v0.13.0. See CHANGELOG.md for the full list.

Two additions: `npm run doctor`, which runs the config doctor from a terminal — including inside the shipped image — and exits with the worst finding, so it can gate a deployment script; and a Playwright spec that loads all fourteen admin routes against a production build.

One change, invisible on screen: the admin panel got a form-field layer (#533).

Five fixes: grid.gap on both axes (#513), the dashboard status badge (#539), the journal editor's unsaved-changes guard (#538), essay paragraph markup (#537), and aria-pressed on the panel's switches and pickers.
This commit is contained in:
Ralksta
2026-08-30 15:11:25 +02:00
committed by GitHub
parent a813433891
commit e99d3f2f1b
59 changed files with 8652 additions and 6676 deletions

View File

@@ -0,0 +1,141 @@
/* The manual per-album photo order editor. */
/* Split out of admin.css (#533). Loaded from admin.css in a fixed order —
later sheets override earlier ones, so the order there is the cascade. */
/* ── Per-album photo order (sort: manual) ────────────────────── */
.admin-field-hint {
display: block;
margin-top: 0.35rem;
font-size: 0.75rem;
line-height: 1.4;
color: var(--admin-text-muted);
}
.order-editor-body {
flex: 1;
min-height: 0;
overflow-y: auto;
overscroll-behavior: contain;
padding: 0.75rem;
}
.order-editor-notice {
margin: 0 0 0.75rem;
padding: 0.5rem 0.7rem;
border-radius: 6px;
font-size: 0.78rem;
line-height: 1.4;
color: var(--admin-accent);
border: 1px solid rgba(245, 158, 11, 0.3);
background: rgba(245, 158, 11, 0.05);
}
.order-editor-section + .order-editor-section {
margin-top: 1.25rem;
padding-top: 1rem;
border-top: 1px solid var(--admin-border);
}
.order-editor-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.order-editor-section-head h4 {
margin: 0;
font-size: 0.85rem;
font-weight: 600;
color: var(--admin-text);
}
.order-editor-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
gap: 0.5rem;
margin-top: 0.5rem;
}
.order-tile {
position: relative;
aspect-ratio: 1;
border-radius: 8px;
overflow: hidden;
background: var(--admin-bg-elevated);
border: 2px solid transparent;
cursor: pointer;
transition:
border-color 0.15s,
opacity 0.15s;
}
.order-tile img {
width: 100%;
height: 100%;
object-fit: cover;
/* The whole tile is a drag handle; without this the browser's native image
drag wins and dnd-kit never sees the gesture. */
-webkit-user-drag: none;
user-select: none;
}
.order-tile-pinned {
border-color: var(--admin-accent);
cursor: grab;
}
.order-tile-pinned:active {
cursor: grabbing;
}
.order-tile-unpinned {
opacity: 0.55;
}
.order-tile-unpinned:hover {
opacity: 1;
border-color: var(--admin-border);
}
.order-tile-index {
position: absolute;
bottom: 4px;
left: 4px;
min-width: 18px;
padding: 0 4px;
border-radius: 4px;
font-size: 0.68rem;
font-weight: 700;
text-align: center;
color: #000;
background: var(--admin-accent);
}
.order-tile-action {
position: absolute;
top: 4px;
right: 4px;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 50%;
font-size: 0.85rem;
line-height: 1;
cursor: pointer;
color: var(--admin-text);
background: var(--admin-overlay, rgba(0, 0, 0, 0.6));
}
.order-editor-footer {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
padding: 0.75rem;
border-top: 1px solid var(--admin-border);
}