Unified settings modal + dashboard shell redesign #69

Merged
uz1mani merged 107 commits from staging into main 2026-03-26 09:15:33 +00:00
46 changed files with 4491 additions and 381 deletions
Showing only changes of commit 1121a72d63 - Show all commits

View File

@@ -63,6 +63,7 @@ export default function SiteGeneralTab({ siteId, onDirtyChange, onRegisterSave }
const handleSave = useCallback(async () => { const handleSave = useCallback(async () => {
if (!site) return if (!site) return
try { try {
console.log('[General] saving script_features:', scriptFeatures)
await updateSite(siteId, { name, timezone, script_features: scriptFeatures }) await updateSite(siteId, { name, timezone, script_features: scriptFeatures })
await mutate() await mutate()
initialRef.current = JSON.stringify({ name, timezone, scriptFeatures: JSON.stringify(scriptFeatures) }) initialRef.current = JSON.stringify({ name, timezone, scriptFeatures: JSON.stringify(scriptFeatures) })