feat(arr): show subtitle chips on title detail

Per media file: a chip per present language (origin, forced/SDH, sync
flag, dashed for machine translation) and a chip per still-missing
wanted language naming why (§15, #201). Movie and series pages both
wire it in through the new status endpoints.
This commit is contained in:
Miguel Palhas
2026-08-25 02:16:25 +01:00
parent e5092034d3
commit e684813d0c
3 changed files with 254 additions and 7 deletions
+17
View File
@@ -1464,6 +1464,23 @@ body {
border-color: oklch(from var(--signal-warn) l c h / 55%);
}
/* ---- subtitle status (§15, §9.6, issue #201) --------------------------- */
/* forces the subtitle row below a disk-row's or episode's own line, the
same 100%-basis trick .rel-name uses to keep the release name secondary */
.subtitle-line {
flex-basis: 100%;
padding-top: var(--space-1);
margin-top: var(--space-1);
border-top: 1px solid oklch(from var(--line) l c h / 30%);
}
/* a machine translation reads as machine-made at a glance (§15) — the same
dashed mark a waived release already carries for "not the clean case" */
.chip[data-mt="true"] {
border-style: dashed;
}
/* ---- attention queues (§5.2 + §5.7) ------------------------------------ */
/* the badge is a signal, not a control: amber attention on the cyan word */