2.2.0 — Admin UX cleanup
2.2.0: admin UX cleanup (review follow-through)
Implements the full UX & functional review:
- Merge the Default poster, Play button, and Shorts cards into one Appearance
card (one nav pill instead of three). - Consent: rename "No Consent Integration" to "Facade only (no prompt)", lead
the card with the "cookie-free until the click" reassurance, and hide the
geo-source diagnostic unless Global mode is selected. - Trim the block Inspector: filter style, card text, consent mode, and privacy
URL now inherit the site defaults (attributes + render unchanged, so no data
loss); the block keeps the genuinely per-instance controls. - The singular [xroad-video] without a valid id now shows editors a visible
hint pointing to the correct usage and to the plural [xroad-videos], instead
of failing silently. - Delete the unreachable 'light' consent mode and the vestigial write-once
'locked' permalink flag. - Video URLs: show how many published videos use the current base, warn
prominently when any are live, and auto-flush rewrite rules on version change
so a changed base resolves without a manual re-save. - Menu label is now "XRV Video" for clarity.
Net effect: admin code shrank, and the front-end payload dropped slightly
(deleted the light-mode JS branch) to 32.1 KB raw / 9.1 KB gzipped.