Skip to content

feat: client improvements — plugin-store, native SSE streaming, UI polish#50

Merged
ajainvivek merged 1 commit into
mainfrom
feat/client-improvements
Mar 16, 2026
Merged

feat: client improvements — plugin-store, native SSE streaming, UI polish#50
ajainvivek merged 1 commit into
mainfrom
feat/client-improvements

Conversation

@ajainvivek
Copy link
Copy Markdown
Contributor

Summary

  • API key storage: Replace OS keychain (keyring crate) with tauri-plugin-store — stores keys in the app data directory instead of macOS Keychain, eliminating the system authorization prompt on every app launch
  • REASON query streaming: Route SSE through a native Rust reqwest command (5-min timeout) to bypass WKWebView's internal resource timeout that was silently cutting long-running REASON queries before the LLM could complete
  • StatusBar: Fetch live table count, document count, and server version on connect instead of showing hardcoded "3 tables · 150 documents · v0.1.0"
  • Welcome screen: Replace generic Database phosphor icon with the ReasonDB logo SVG; update subtitle and feature descriptions to match reasondb.ai messaging
  • Links: Fix documentation URL → https://reasondb.ai/ and GitHub URL → https://github.com/brainfish-ai/ReasonDB

Test plan

  • Connect to a server that requires an API key — no macOS keychain prompt appears
  • API key persists after restarting the app (no re-entry needed)
  • Run a REASON query against the AWS dev instance — results return successfully (previously timed out after ~60 s)
  • Status bar shows correct table/document counts and server version after connecting
  • Welcome screen shows the ReasonDB logo and updated descriptions
  • Documentation and GitHub buttons open the correct URLs

…lish

## Storage
- Replace OS keychain (keyring crate) with tauri-plugin-store for API key
  persistence — eliminates macOS keychain authorization prompts entirely
- Keys stored in app data directory (~/Library/Application Support/com.reasondb.desktop/api-keys.json)

## Streaming
- Route REASON query SSE through a native Rust reqwest command (5-min timeout)
  to bypass WKWebView's internal resource timeout that cuts long-running
  REASON queries before the LLM completes
- Keep fetch-based fallback for non-Tauri (browser dev) environments

## UI
- StatusBar now fetches live table count, document count, and server version
  instead of showing hardcoded "3 tables · 150 documents · v0.1.0"
- Welcome screen: replace generic Database icon with ReasonDB logo SVG
- Welcome screen: update subtitle and feature descriptions to match reasondb.ai
- Fix documentation URL → https://reasondb.ai/
- Fix GitHub URL → https://github.com/brainfish-ai/ReasonDB
@ajainvivek ajainvivek merged commit dafbc46 into main Mar 16, 2026
2 checks passed
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