Feature: UI#4430
Open
donhardman wants to merge 8 commits into
Open
Conversation
- 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
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Embedded Web UI
Out-of-the-box web UI embedded directly into the
searchdbinary. Zero external files, zero separate processes — justui = 1in 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=ONcmake 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.