Merged
Conversation
…n, connection indicator, insert feedback
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.
Summary
5 UX improvements to make the AI chat feel like a proper native macOS citizen:
U1 — User message tinted bubbles: User messages now have a subtle accent-colored background (
Color.accentColor.opacity(0.06)) with rounded corners, while assistant messages remain on the default background. Makes scanning conversations much easier.U12 — Edit and resend: User messages show a pencil edit button. Clicking it populates the input field with the message content and removes the message + all subsequent messages, letting the user modify and re-send. Standard in all AI chat UIs.
U5 — Scroll-to-bottom button: A floating
arrow.down.circle.fillbutton appears when the user scrolls up during streaming. Clicking it jumps back to the latest message. UsesScrollViewProxystored in state for access outside theScrollViewReaderscope.U6 — Connection name in header: The chat header now shows the database connection name as a subtitle below the conversation title. Users can immediately see which database the AI is talking about.
U11 — Insert button feedback: The "Insert" button on code blocks is now properly disabled when no editor is focused, with a tooltip explaining "Focus the query editor to insert". Previously it silently did nothing.
Test plan