Skip to content

fix: add close button to settings page (#417)#419

Merged
sauravpanda merged 1 commit intomainfrom
Fix-github-tickets
Apr 15, 2026
Merged

fix: add close button to settings page (#417)#419
sauravpanda merged 1 commit intomainfrom
Fix-github-tickets

Conversation

@sauravpanda
Copy link
Copy Markdown
Owner

Summary

Why

SettingsTab renders as a full-page view (replacing the workspace), but there was no in-UI affordance to dismiss it — users had to know the command palette entry or the Esc shortcut. The new button mirrors the pattern already in place on SettingsPage.tsx.

Test plan

  • Open Settings via the sidebar / command palette
  • Click the X — view returns to home / previous worktree
  • Esc still works (existing keybinding untouched)
  • Loading state also shows the close button

The Settings tab is rendered as a full-page view but had no visible way
to dismiss it — users had to fall back on the command palette or the
keyboard shortcut. Add an absolutely-positioned X button in the top-right
corner that calls back to App.tsx to clear showSettings.
@sauravpanda sauravpanda merged commit dd3f9b6 into main Apr 15, 2026
5 checks passed
@sauravpanda sauravpanda deleted the Fix-github-tickets branch April 15, 2026 03:18
@sauravpanda sauravpanda mentioned this pull request Apr 15, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Settings dialog missing close button

1 participant