feat(settings): section off the user settings page with a sticky nav (LC-345) #360
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-345-settings-sections"
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?
What
User settings was one long flat scrollable page of 15 blocks with no grouping. This sections it into 5 labeled groups with a sticky in-page nav of jump links:
Approach
Mirrors the admin sectioning with the lightest faithful mechanism (per the chosen option): a sticky
<nav>of anchor links jumping to<section id>groups on the same page, withscroll-mt-*so the heading clears the sticky bar. Single route, no JS, no new view fields.All existing block markup, forms, scripts (text-size init), and partials (keyword list) are preserved verbatim - only the grouping/order, the section wrappers, and the nav are new. New
settings-section-*+settings-sections-navi18n keys in en + es.Test
./dev/cargo check+just check(clippy/fmt) clean; Askama validates the template + that every referenced key exists.just test+just test-saaspass;i18n_catalogconfirms en/es parity for the new keys.Closes LC-345.