feat: add connection picker and multi-connection tab UX#29
Merged
ahmadnazir merged 3 commits intoMay 21, 2026
Merged
Conversation
|
@Koziar is attempting to deploy a commit to the pine-lang Team on Vercel. A member of the Team first needs to authorize it. |
GitHub conflict resolution kept a reference to `status` after main removed the zap/plug emoji. Caption now shows the connection label only; version remains top-right in AppView. Co-authored-by: Cursor <cursoragent@cursor.com>
ahmadnazir
approved these changes
May 21, 2026
Contributor
Author
|
PR has some noise due to my prettier, which updates the white spaces in files I touched. |
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.
Related PR
beamlynx/pine-lang#39
Summary
Adds a connection picker dropdown in the header, integrates the new Pine
GET /api/v1/connectionsendpoint, and improves multi-connection tab behavior so each tab can keep its own database while sharing a single Pine server session.Requires: Pine server with the structured
GET /api/v1/connectionsresponse (companion PR inpine-lang).Changes
Connection picker (
ActiveConnection)label(e.g.localhost:5432 · myapp_dev) and color dots.Connection list sync (
GlobalStore,HttpClient)listConnections()— callsGET /api/v1/connections.refreshConnections()— updatesglobal.connections, assigns colors for new ids, and prunes stale entries fromconnectionColorsin localStorage when ids are no longer on the server.Tab and connection assignment rules
selectConnection.connectionId(not Pine’s global default).UI polish
[Development]/ user box.--primary-color.