New pages: - /admin: admin overview page with links to user/role/settings/LLM management - /tools: tools overview page with links to mapper/debug/storage/backup tools i18n: - nav.json (en/ru): add description keys for admin and tools sub-items - migration.json (en/ru): add help tooltips and step-by-step instructions for the database mapping workflow UI components: - EnvSelector: add optional helpText with HelpTooltip - MappingTable: add HelpTooltip for status column - MultiSelect: add id for accessibility, fix label element structure - Input: fix reactive id assignment with () - Select: fix reactive id assignment with () Routes: - routes.ts: add admin.overview() and tools.overview() routes - dashboards/+page.svelte: add @RELATION BINDS_TO annotation - migration/mappings/+page.svelte: add HelpTooltip, Card imports, help texts - translate pages: minor annotation updates Other: - .gitignore: add backend/:memory (SQLite test artifact)
Superset Tools Frontend (SvelteKit)
This is the frontend for the Superset Tools application, built with SvelteKit in SPA mode.
Development
-
Install dependencies:
npm install -
Run development server:
npm run devThe frontend will be available at
http://localhost:5173. It is configured to proxy API requests tohttp://localhost:8000.
Production Build
-
Build the static SPA:
npm run buildThis generates a static SPA in the
build/directory. -
Serve with Backend: The Python backend is configured to serve the files from
frontend/build/. Ensure the backend is running:cd ../backend python src/app.py
Architecture
- Routing: File-based routing in
src/routes/. - Layouts: Shared UI in
src/routes/+layout.svelte. - Data Loading:
loadfunctions in+page.tsfor efficient data fetching. - API Client: Centralized API logic in
src/lib/api.js. - Styling: Tailwind CSS.