Tauri migration (M1): shell + web UI scaffold side-by-side with egui - #8
Open
tharinfernando wants to merge 1 commit into
Open
Tauri migration (M1): shell + web UI scaffold side-by-side with egui#8tharinfernando wants to merge 1 commit into
tharinfernando wants to merge 1 commit into
Conversation
Add src-tauri workspace member (ping, list_connections, get_palette commands + Omarchy palette with slate fallback) and a Svelte 5 frontend skeleton (TopBar, Sidebar, themed shell). The egui app is untouched; Milestones 2-3 will add live sessions, DataGrid, and query editor.
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.
Goal
Easy-to-update, cross-platform UI (Linux/macOS/Windows) per plan. This is Milestone 1: prove the Tauri IPC + shared-core + theming path while the egui app keeps working untouched.
What lands here
src-tauri/(newtermdb-tauriworkspace member)ping— webview↔Rust round-trip prooflist_connections— reads the same SQLiteConfigStoreas egui (zero core changes)get_palette— Omarchycolors.tomlreader ported fromtheme.rs, slate fallback off-Linuxtauri.conf.json(1200×800, all bundle targets), least-privilegecapabilities/default.json, placeholder RGBA icons (tauri iconfollow-up before release)frontend/(Svelte 5 + TS + Vite)invokewrappers mirroringtermdb-coremodels (hand-written untiltauri-spectalands)TopBar/Sidebarcomponents, CSS-variable theming fromget_palette()Verification
npm run build— svelte-check 0 errors, vite build okcargo check -p termdb-tauri,cargo test -p termdb-tauri(3 passed),fmt --check,clippycleancargo check --workspace— egui + core + Tauri compile togetherRun it
Follow-ups (not in this PR)
connect/list_tables/open_table/load_page+ sidebar tree + DataGrid + connection formtauri icon,tauri-spectabindings, CI job (frontend build → cargo test → tauri build)Kept open as work-in-progress migration branch — do not merge yet.