20 Commits

Author SHA1 Message Date
Usman Baig
477a3b4568 fix: don't render ScriptSetupBlock until state initialized from site data 2026-03-25 23:03:53 +01:00
Usman Baig
8fb2f603bd debug: log site.script_features on init 2026-03-25 22:57:10 +01:00
Usman Baig
1121a72d63 debug: log script_features at save time 2026-03-25 22:54:01 +01:00
Usman Baig
d819b4bd17 fix: remove card wrapping from bare inputs + fix privacy false-dirty on load 2026-03-25 22:49:25 +01:00
Usman Baig
095b68d769 fix: site name + domain side by side in general tab 2026-03-25 22:46:35 +01:00
Usman Baig
1da71aa1a2 fix(settings): wrap all settings items in card blocks for visual consistency 2026-03-25 22:44:23 +01:00
Usman Baig
1cbc8064e2 fix(settings): normalize SiteGeneralTab + SiteGoalsTab to design standards 2026-03-25 22:20:42 +01:00
Usman Baig
f794696e90 fix: script features save with Save Changes instead of instantly 2026-03-25 21:55:14 +01:00
Usman Baig
549ac273a1 refactor(settings): move save bar to modal level, remove from tabs 2026-03-25 21:23:42 +01:00
Usman Baig
570dda7bd2 fix: remove -mb-6 from sticky bar — prevents jump at scroll bottom 2026-03-25 21:12:45 +01:00
Usman Baig
8ec9edb126 fix: rose warning bar + proper Discard button sizing 2026-03-25 21:09:37 +01:00
Usman Baig
43005fb9ee fix: red warning bar instead of amber when navigating with unsaved changes 2026-03-25 21:05:52 +01:00
Usman Baig
1c21bf5ff6 fix: amber warning style on sticky bar when navigating with unsaved changes 2026-03-25 21:02:00 +01:00
Usman Baig
81fafcf711 fix: discard button in sticky save bar instead of browser confirm 2026-03-25 20:51:39 +01:00
Usman Baig
93401cc1a1 fix: dirty tracking — prevent SWR revalidation from resetting form state 2026-03-25 20:27:47 +01:00
Usman Baig
9dceca765c feat(settings): sticky save bar appears only when dirty, replaces static button 2026-03-25 20:18:26 +01:00
Usman Baig
9a3fab3535 feat(settings): unsaved changes guard with inline confirmation bar 2026-03-25 20:09:11 +01:00
Usman Baig
4e6837a9ee feat(settings): add framework picker and verification to unified general tab 2026-03-25 17:42:34 +01:00
Usman Baig
45a8adff0f feat(settings): add danger zone to unified site general tab 2026-03-25 17:38:47 +01:00
Usman Baig
3c17895d64 feat(settings): unified settings modal with context switcher (Phase 1)
New unified settings modal accessible via `,` keyboard shortcut.
Three-context switcher: Site (with site dropdown), Workspace, Account.
Horizontal tabs per context with animated transitions.

Phase 1 tabs implemented:
- Site → General (name, timezone, domain, tracking script with copy)
- Site → Goals (CRUD with inline create/edit)
- Workspace → General (org name, slug, danger zone)
- Workspace → Billing (plan card, usage, cancel/resume, portal)
- Account → Profile (wraps existing ProfileSettings)

Phase 2 tabs show "Coming soon" placeholder:
- Site: Visibility, Privacy, Bot & Spam, Reports, Integrations
- Workspace: Members, Notifications, Audit Log
- Account: Security, Devices

Old settings pages and profile modal remain functional.
2026-03-23 20:57:20 +01:00