Skip to content

feat(web): dialogs match the settings look and say what each action does - #242

Merged
AadiJo merged 3 commits into
mainfrom
dialog-refresh
Nov 9, 2026
Merged

AadiJo merged 3 commits into
mainfrom
dialog-refresh

Conversation

@AadiJo

@AadiJo AadiJo commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Most dialogs were still near-copies of t3code's: a glass panel, a large title, a grey footer band, and one confirm host that pulled a title out of a message string and always labeled its button "Confirm". The settings modal already looks different, so the dialogs did not match the rest of the app.

Dialogs now use the settings modal's solid card, a smaller title, and no footer band. confirm() takes a structured request, so every dialog names its own action ("Restart now", "Delete thread", "Remove project") and can list what an action keeps or deletes.

  • Update. "Restart to update" warns only when chats are running, and gives the count.
  • Add project. Each option is a row with one line on what it is. The CAD file option comes first.
  • Remove project. The dialog lists what removal keeps and what it deletes. CAD data is a switch. A folder project's removal is one dialog, which replaces the "Project is not empty / Delete anyway" toast step.
  • Archive and unpin. Both act at once and show an Undo toast instead of asking first. The hidden confirmThreadArchive and confirmThreadUnpin settings and the sidebar's inline "Confirm" archive button are gone.

The command palette keeps its glass look.

Add project Restart to update Remove project
Add project Restart to update Remove project
Delete thread Archive with Undo
Delete thread Archive with Undo

Proof: the new apps/server/scripts/dialogs-e2e.ts drives each dialog and both undo toasts in the dev app and passes all 14 steps. Typecheck passes in web, desktop, server, and contracts, and all 1,900 web unit tests pass.

Reviewed with sol-loop: 2 rounds with gpt-6.1-sol on high. Sol verdict: approved


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cadsense Ready Ready Preview Nov 9, 2026 8:40pm UTC

@AadiJo
AadiJo merged commit 4e071b4 into main Nov 9, 2026
12 checks passed
@AadiJo
AadiJo deleted the dialog-refresh branch November 26, 2026 19:49

This branch was successfully deployed

1 active deployment
Preview — ed6a49c0 Deployed Nov 9, 2026 by vercel[bot]
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.

1 participant