agnes-the-ai-analyst/webapp/templates
Petr b99ec576ca Add self-service data onboarding system
Table Registry as central source of truth (JSON) with atomic writes,
optimistic locking, audit logging, and data_description.md generation.
Existing readers (config.py, profiler.py) need zero changes.

Phase 1 - Discovery API:
  - discover_tables() on DataSource ABC + Keboola implementation
  - admin_required decorator with server-side recomputation
  - GET /api/admin/discover-tables endpoint

Phase 2 - Table Registry:
  - src/table_registry.py with CRUD, validation, migration from MD
  - Admin API: register/update/unregister with version locking
  - DELETE cascade cleans up per-user subscriptions

Phase 3 - Auto-Profiling:
  - profile_changed_tables() for incremental profiling
  - Non-fatal hook in sync_all() after successful sync

Phase 4 - Per-Table Subscriptions:
  - table_mode (all/explicit) with per-table toggles
  - GET/POST /api/table-subscriptions endpoints
  - Subscription status in catalog and dashboard views

Phase 5 - Smart Sync:
  - Python-generated rsync filter files (not shell YAML parsing)
  - sync_data.sh uses --filter="merge ..." for explicit mode

Phase 6 - Admin UI:
  - /admin/tables with discovery, registration modal, registry mgmt
  - Vanilla JS, matching existing design system
2026-03-09 14:25:37 +01:00
..
activity_center.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
admin_tables.html Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
base.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
base_login.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
catalog.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
corporate_memory.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
dashboard.html OSS cleanup: remove internal references, harden deployment, add config env interpolation 2026-03-09 07:59:57 +01:00
desktop_link.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
error.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
login.html Extract pluggable auth provider system into auth/ package 2026-03-09 13:02:08 +01:00
login_email.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
password_reset.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
password_setup.html Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00