Repository navigation
fix(ui): agent panel and table designer P1s - #854
Merged
Merged
Conversation
Fixes #802. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Render the permission's detail (the whole SQL) under its title, and style "Always allow" as a secondary button so the one-off choice is the obvious one. Fixes #786. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
MainPanel had no branch for structure tabs, so View Structure fell through to the query editor. Add the branch and a test that renders every tab kind, keyed on the tab union so a new kind must get a case. Fixes #787. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
A second approval request arriving while the dialog was open replaced the statement in place, so a click could approve SQL the user never read and the first request was never answered. Hold approvals in a FIFO queue, show the head with "1 of N", and key the dialog on the request id so each request is a fresh dialog. Fixes #790. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Apply Changes in alter mode ran the ALTER at once, so a misclicked trash icon dropped a column with no confirmation on any connection not marked production. Open the SQL preview first, as create mode does. Also label the remove-column button. Fixes #791. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
One failed read emptied the form, and with no baseline the designer fell back to CREATE TABLE, so Apply sent `CREATE TABLE orders ()`. Load with allSettled and keep what loaded. If columns or DDL fail, show a full-panel error with Retry instead of the form. Never generate CREATE TABLE for a tab that alters an existing table. Fixes #796. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
The "Also hide columns matching" field was seeded once per row and kept showing old patterns after revoking and re-sharing cleared them. Re-seed it whenever the connection's stored patterns change. Fixes #794. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first batch of fixes from the UX review (#783). Each fix is its own commit with a regression test.
Fixes #786, fixes #790, fixes #794, fixes #787, fixes #791, fixes #796, fixes #802.
Agent panel
approvalremains the head of the queue, so existing callers are unchanged.Schema browser and designer
TableStructurepanel; before,MainPanelhad no branch for structure tabs. A test renders every tab kind, keyed onEditorTab["type"], so a new kind without a case fails to type-check.generateSqlnever emitsCREATE TABLEfor an existing table.Checks
tsc --noEmitis clean.Generated by Claude Code