- AuthRepository: add missing save_user_dashboard_preference (PATCH /api/profile/preferences returned 500) - DatasetItem.schema_name nullable — GET /api/datasets no longer 503s on Superset datasets with null schema - migration: TaskLogger calls used extra= kwarg which raised TypeError and killed the composite-key recovery branch, leaving the target server unrepaired after failed dashboard imports (e.g. PR-0160); switched to metadata= - maintenance settings: lazy-create singleton with IntegrityError race guard instead of permanent 404 - mapper upload-xlsx: structured 400 detail (expected vs actual columns); MapperTool shows inline error panel instead of toast; i18n ru/en - connection_service: eager re-encryption of legacy plaintext passwords in get_connection; returns a copy so live config never holds plaintext - check_target_schema: log exception type/repr/traceback (was empty error) - scheduler/maintenance auto-end: skip empty-tick INFO logs; suppress HTTP framing for GET polling endpoints - reencrypt script: repair broken merge artifact, JSON-serialize payload on save, fix failed-count arithmetic
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.