feat(social): collapsible + collapsed-by-default config for floating social bar #149

Merged
jmiller merged 2 commits from feature/social-floating-collapsible-config into dev 2026-07-13 00:12:04 +00:00
Owner

Adds admin config for the floating social icons sidebar: social_floating_collapsible (show/hide the collapse toggle handle, default on) and social_floating_collapsed (start collapsed on first visit, default on). The collapse behaviour already existed but was hardcoded; this wires it to template params. Layout renders initial collapsed state server-side to avoid a flash; JS honors a visitor saved preference first, then the admin default. Language strings added for en-GB and en-US.

Adds admin config for the floating social icons sidebar: social_floating_collapsible (show/hide the collapse toggle handle, default on) and social_floating_collapsed (start collapsed on first visit, default on). The collapse behaviour already existed but was hardcoded; this wires it to template params. Layout renders initial collapsed state server-side to avoid a flash; JS honors a visitor saved preference first, then the admin default. Language strings added for en-GB and en-US.
jmiller added 1 commit 2026-07-13 00:11:44 +00:00
feat(social): add collapsible + collapsed-by-default config for floating social bar
Universal: Auto Version Bump / Version Bump (push) Successful in 8s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 4s
Universal: PR Check / Validate PR (pull_request) Failing after 3s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 8s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
abbd70b7f0
Adds two template params for the floating social icons sidebar:
- social_floating_collapsible: show/hide the collapse toggle handle
- social_floating_collapsed: start collapsed on first visit (default on)

The layout renders the initial collapsed state server-side (no flash),
gates the toggle button behind the collapsible param, and exposes the
admin default via data-default-collapsed. The JS honors a visitor's
saved localStorage preference first, falling back to the admin default.
jmiller force-pushed feature/social-floating-collapsible-config from d545a1681f to abbd70b7f0 2026-07-13 00:11:44 +00:00 Compare
jmiller added 1 commit 2026-07-13 00:11:55 +00:00
chore(version): auto-bump patch 02.27.04-dev [skip ci]
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
0fbff8671c
jmiller merged commit 782abe81db into dev 2026-07-13 00:12:04 +00:00
jmiller deleted branch feature/social-floating-collapsible-config 2026-07-13 00:12:05 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoOnyx#149