From e0e2bb9f3cfb29b8017ab9cb4fc6648b01ff68ed Mon Sep 17 00:00:00 2001 From: ciregenz Date: Thu, 18 Jun 2026 00:21:55 -0700 Subject: [PATCH] [eric] settings: Data & Privacy buttons match the About outlined style (Restart tour), drop the ellipsis + add section spacing --- .../sections/general/DataPrivacySection.tsx | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/pages/Settings/sections/general/DataPrivacySection.tsx b/frontend/src/app/pages/Settings/sections/general/DataPrivacySection.tsx index 5017785d..8c0c7335 100644 --- a/frontend/src/app/pages/Settings/sections/general/DataPrivacySection.tsx +++ b/frontend/src/app/pages/Settings/sections/general/DataPrivacySection.tsx @@ -75,24 +75,41 @@ const DataPrivacySection: React.FC<{ styles: SettingsStyles }> = ({ styles }) => const cancelSx = { color: c.text.secondary, textTransform: 'none', fontWeight: 500 }; const actionRowSx = { display: 'flex', justifyContent: 'flex-end', gap: 1 }; + // Match the About-section outlined buttons (Restart tour / Check for Updates). + const rowBtnSx = { + color: c.text.secondary, + borderColor: c.border.medium, + textTransform: 'none' as const, + fontSize: '0.8rem', + whiteSpace: 'nowrap' as const, + '&:hover': { color: c.accent.primary, borderColor: c.accent.primary }, + }; + const eraseBtnSx = { + ...rowBtnSx, + color: c.status.error, + borderColor: c.status.error, + '&:hover': { color: c.status.error, borderColor: c.status.error, bgcolor: c.status.errorBg }, + }; + const rowSx = { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 3, py: 2 }; + return ( - Data & Privacy + Data & Privacy - + Reset all settings Puts your preferences back to defaults. Your apps, chats, skills, and sign-in stay. - + - + Erase all content and settings Removes every chat, app, skill, and setting and restarts OpenSwarm fresh. This can't be undone. - +