You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bf78c4c
Browse filesBrowse the repository at this point in the historyBrowse files
improvement(settings): unify save/discard across editable surfaces (#6173)
Save is now always rendered (primary, disabled until there is something to
save) and Discard only appears once there is something to discard. Previously
sandboxes showed no action at all until dirty — so a new sandbox had no visible
Create button — while skills always showed a disabled Save and no Discard.
- saveDiscardActions moves to @/components/settings and owns the one rule
- adds SettingsActionChip / SettingsActionChips so the settings shell and the
ReactNode-slot headers render actions through the same chip path
- skills, secrets, connected credentials, custom tools and the secrets manager
drop their hand-rolled Save chips for the shared helper
- credential-detail drafts seed once per credential instead of re-seeding from
every refetch, which was acting as an implicit discard
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/integrations/connected/[credentialId]/connected-credential-detail.tsx
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ import { ArrowLeft } from '@sim/emcn/icons'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/settings/components/custom-tools/components/custom-tool-detail/custom-tool-detail.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/settings/components/secrets/components/secrets-manager/secrets-manager.tsx
+13-22Lines changed: 13 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ import { createLogger } from '@sim/logger'
0 commit comments