Skip to content

feat: JDBC bridge driver expansion, UI enhancements#111

Open
Blankll wants to merge 8 commits into
masterfrom
feat/jdbc-bridge-and-ui-enhancements
Open

feat: JDBC bridge driver expansion, UI enhancements#111
Blankll wants to merge 8 commits into
masterfrom
feat/jdbc-bridge-and-ui-enhancements

Conversation

@Blankll

@Blankll Blankll commented Jun 22, 2026

Copy link
Copy Markdown
Member

Changes

JDBC Bridge Driver Expansion

  • YashanDB: migrated from PG-wire to JDBC bridge (com.yashandb:yashandb-jdbc)
  • KingbaseES: migrated from PG-wire to JDBC bridge (cn.com.kingbase:kingbase8), fixed default port (5432 → 54321)
  • GBase 8a: added direct download support (driver not on Maven Central, downloads from gbase8.cn)
  • XuguDB: fixed artifact name, driver class, and URL protocol; added credentials_in_url flag
  • NullPointerException: fixed null user/password in ConnectionManager.getConnection()

UI Improvements

  • SearchableSelect: new composable component with search/filter, keyboard navigation, icon slots. Replaces 80+ static SelectItem entries in connection form
  • ConnectionsPage scroll: header+stats fixed, only card list scrolls
  • ServerCard badges: server version badge (V-prefixed), connection strategy badge (icon + tooltip), Oracle TNS/cloud_wallet URL display
  • Width matching: dropdown width matches trigger via CSS var(--radix-popover-trigger-width) — no JS

Store & Config

  • Added serverVersion to ServerConnection, connection helpers (getConnectionStrategy, formatServerVersion, database defaults)
  • i18n for strategy tooltips (enUS/zhCN)
  • YashanDB SQL formatter switched to Oracle dialect

Dependencies

  • Updated data-studio-agent to local path dependency

Commits

0e1bb9d chore(deps): update data-studio-agent dependency path
c39c501 feat(store): connection store types, i18n, tests, and YashanDB formatter
0a5c860 feat(ui): enrich ServerCard with version badges, strategy icons, Oracle URL
d6e1af0 fix(ui): limit ConnectionsPage scroll to card list only
d94fc34 feat(ui): add SearchableSelect component and integrate in connection form
f2a93d9 feat(database): migrate YashanDB/KingbaseES to JDBC bridge, fix defaults
cf9ea23 feat(jdbc-bridge): add driver configs for YashanDB, KingbaseES, GBase 8a, XuguDB

Blankll and others added 8 commits June 22, 2026 11:35
… 8a, XuguDB

Add download_url and credentials_in_url fields to DatabaseDriverConfig. Register YashanDB (com.yashandb:yashandb-jdbc), KingbaseES (cn.com.kingbase:kingbase8), GBase 8a (direct download from gbase8.cn), and fix XuguDB artifact/class/URL. Implement credentials_in_url in ConnectionManager for XuguDB.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Move YashanDB and KingbaseES from PG-wire compatibility to JDBC bridge in strategy.rs. Fix KingbaseES default_port from 5432 to 54321. Add username-as-dbname fallback in postgres.rs build_connection_string for PG-wire compat engines.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…form

Create SearchableSelect.vue with search/filter, keyboard navigation, and slot-based icon support. Replace 80+ static SelectItem entries in ServerFormDialog with the searchable version. Dropdown width matches trigger width via CSS var(--radix-popover-trigger-width).

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Restructure layout so header and stats are fixed (shrink-0), only the connection card list scrolls (flex-1 min-h-0 overflow-y-auto). Prevents the whole page from scrolling.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…le URL

Add server version badge (V-prefixed concise version with tooltip), connection strategy badge (icon + tooltip for native/jdbc-bridge/http-bridge), and Oracle connection URL display for TNS/cloud_wallet connections.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Add serverVersion to ServerConnection, isJdbcDatabase/jdbcDatabaseTypes helpers, getConnectionStrategy, formatServerVersion, database defaults/requirements. Add i18n for strategy tooltips. Update tests. Switch YashanDB SQL formatter to Oracle dialect.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Switch data-studio-agent from crates.io to local path dependency.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
YashanDB was migrated to JDBC bridge so its SQL formatter dialect changed from postgresql to oracle.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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