feat(admin): standardize Safety pages (LC-510, PR3) #479
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/LC-510-admin-safety-tables"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR3 of the Admin panel redesign (LC-510). Standardizes the Safety pages on the shell (PR1, #477) and the shared
.lc-table(PR2, #478).Scope: Quarantine, Mod log, Anti-spam, Link filter, Reports
.lc-tablewith row hover and shared empty states (replacing the ad-hoc colspan "empty" rows). Per-page<h1>removed (the shell renders the title)..input; the link-filter and honeypot checkboxes become.lc-toggleswitches; the save returns the sharedSettingsFeedback(inline status + toast) on the htmx path, with the no-JS?savedredirect fallback..lc-set-fieldinputs and a.btn-primary; the error banner uses the standard danger-callout..card; Resolve/Dismiss use.btn(primary/secondary); the empty queue uses the shared empty-state. The live OOB region id (#admin-reports-list) and the nav badge are unchanged.Destructive confirmations
Quarantine reject and link-filter delete are plain-POST forms, so they get a native
onsubmit confirm(the established pattern for non-htmx forms) plus the danger-outline button. (Report resolve/dismiss are low-stakes and reversible, so no confirm - matching the "ban/delete/quarantine" destructive set.)i18n
New keys (en+es):
admin-quarantine-reject-confirm,admin-linkfilter-delete-confirm,admin-modlog-empty.Checks
just check,just test,just test-saas(incl. en/es i18n parity),just build-cssall pass.Next (LC-510)
PR4: Integrations (Commands, Bots, Webhooks, Bridges) + Branding/Backup - the last batch.