Skip to content

Feature: UI#4430

Open
donhardman wants to merge 8 commits into
masterfrom
feature/ui
Open

Feature: UI#4430
donhardman wants to merge 8 commits into
masterfrom
feature/ui

Conversation

@donhardman
Copy link
Copy Markdown
Member

@donhardman donhardman commented Apr 2, 2026

Embedded Web UI

Out-of-the-box web UI embedded directly into the searchd binary. Zero external files, zero separate processes — just ui = 1 in config and open your browser.

Why: New users face a CLI-only experience with no way to explore tables or run queries without memorizing SQL. Every modern database ships a UI. This eliminates onboarding friction.

How: Svelte 5 app compiled to static assets, converted to C++ byte arrays at build time, served from memory on /ui/ endpoint. Same HTTP port, no CORS, no separate service. WITH_UI=ON cmake flag gates the build. ~160KB gzipped.

Features: SQL editor with autocomplete, table browser with row counts, create table/insert row dialogs with live SQL preview, CSV/JSON export, sortable results, server status, dark mode.

- Add Svelte 5-based web interface for database management
- Implement HTTP routing and asset serving in searchd
- Add CMake logic to build and embed UI assets with WITH_UI option
- Support SQL query execution with CodeMirror syntax highlighting
- Add table management for RT, Distributed, and Percolate types
- Implement table creation dialog with KNN vector search options
- Add dashboard with health monitoring and connection status
- Support light and dark themes with global CSS variables
- Include sidebar for table listing and tabbed navigation
- Add UI configuration options and root HTTP redirect to /ui/
- Fix macOS architecture flags for external builds
- Add InsertRowDialog for manual data entry
- Implement dynamic form generation based on table schema
- Include SQL preview and execution logic
- Add insert button to table detail view
- Standardize input and field focus styles for accessibility
- Support table-specific row insertion workflows
- Improve button interaction states and styling
- Include ID column in the insert row form
- Synchronize SQL preview with input keystrokes
- Add hint for auto-generated ID field
- Use numeric input mode for integer database types
@donhardman donhardman changed the title Feature/UI Feature: UI Apr 2, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@donhardman donhardman requested a review from sanikolaev April 2, 2026 07:22
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.

2 participants