diff --git a/.kilocode/workflows/speckit.plan.md b/.kilocode/workflows/speckit.plan.md index 2e83901..1ce6b57 100644 --- a/.kilocode/workflows/speckit.plan.md +++ b/.kilocode/workflows/speckit.plan.md @@ -74,6 +74,8 @@ You **MUST** consider the user input before proceeding (if not empty). 2. **Design & Verify Contracts (Semantic Protocol)**: - **Drafting**: Define [DEF] Headers and Contracts for all new modules based on `semantic_protocol.md`. + - **TIER Classification**: Explicitly assign `@TIER: [CRITICAL|STANDARD|TRIVIAL]` to each module. + - **CRITICAL Requirements**: For all CRITICAL modules, define full `@PRE`, `@POST`, and (if UI) `@UX_STATE` contracts. - **Self-Review**: - *Completeness*: Do `@PRE`/`@POST` cover edge cases identified in Research? - *Connectivity*: Do `@RELATION` tags form a coherent graph? diff --git a/specs/019-superset-ux-redesign/tasks.md b/specs/019-superset-ux-redesign/tasks.md index c7cdcdb..7d79028 100644 --- a/specs/019-superset-ux-redesign/tasks.md +++ b/specs/019-superset-ux-redesign/tasks.md @@ -117,27 +117,27 @@ - [x] T031 [P] [US3] Create `backend/src/api/routes/dashboards.py` with GET /api/dashboards endpoint - [x] T032 [P] [US3] Create `backend/src/services/resource_service.py` for shared resource fetching logic - [x] T033 [US3] Implement dashboard list fetching with Git status and last task status -- [x] T034 [US3] Add pagination support to GET /api/dashboards endpoint (page, page_size parameters) -- [x] T035 [US3] Implement bulk migration endpoint POST /api/dashboards/migrate with target environment and dashboard IDs -- [x] T036 [US3] Implement bulk backup endpoint POST /api/dashboards/backup with optional cron schedule -- [x] T037 [US3] Add database mappings retrieval from MappingService for migration modal +- [ ] T034 [US3] Add pagination support to GET /api/dashboards endpoint (page, page_size parameters) +- [ ] T035 [US3] Implement bulk migration endpoint POST /api/dashboards/migrate with target environment and dashboard IDs +- [ ] T036 [US3] Implement bulk backup endpoint POST /api/dashboards/backup with optional cron schedule +- [ ] T037 [US3] Add database mappings retrieval from MappingService for migration modal ### Frontend for User Story 3 - [x] T038 [US3] Create `frontend/src/routes/dashboards/+page.svelte` as Dashboard Hub - [x] T039 [US3] Implement environment selector dropdown at top of Dashboard Hub - [x] T040 [US3] Create dashboard grid with checkboxes, columns: Title, Slug, Git Status, Last Task, Actions -- [x] T041 [US3] Implement "Select All" and "Select Visible" buttons in toolbar -- [x] T042 [US3] Add real-time search input that filters dashboard list -- [x] T043 [US3] Implement pagination controls with page numbers and "Rows per page" dropdown -- [x] T044 [US3] Create floating bulk action panel at bottom: "[✓ N selected] [Migrate] [Backup]" -- [x] T045 [US3] Implement Bulk Migration modal with target environment, database mappings, and selected dashboards list -- [x] T046 [US3] Implement Bulk Backup modal with one-time/scheduled options and cron expression +- [ ] T041 [US3] Implement "Select All" and "Select Visible" buttons in toolbar +- [ ] T042 [US3] Add real-time search input that filters dashboard list +- [ ] T043 [US3] Implement pagination controls with page numbers and "Rows per page" dropdown +- [ ] T044 [US3] Create floating bulk action panel at bottom: "[✓ N selected] [Migrate] [Backup]" +- [ ] T045 [US3] Implement Bulk Migration modal with target environment, database mappings, and selected dashboards list +- [ ] T046 [US3] Implement Bulk Backup modal with one-time/scheduled options and cron expression - [x] T047 [US3] Implement individual Actions menu with Migrate, Backup, Git Operations options - [x] T048 [US3] Connect Actions menu to existing plugin triggers (Migration, Backup, Git) - [x] T049 [US3] Implement status badge click to open Task Drawer with correct task - [x] T050 [US3] Add empty state when no environments configured or no dashboards found -- [x] T051 [US3] Verify implementation matches ux_reference.md (Dashboard Hub Grid mockup) +- [ ] T051 [US3] Verify implementation matches ux_reference.md (Dashboard Hub Grid mockup) **Checkpoint**: Dashboard Hub fully functional with bulk operations @@ -153,24 +153,24 @@ - [x] T052 [P] [US4] Create `backend/src/api/routes/datasets.py` with GET /api/datasets endpoint - [x] T053 [US4] Implement dataset list fetching with mapped fields count and SQL table extraction -- [x] T054 [US4] Add pagination support to GET /api/datasets endpoint (page, page_size parameters) -- [x] T055 [US4] Implement bulk column mapping endpoint POST /api/datasets/map-columns with source selection -- [x] T056 [US4] Implement bulk documentation generation endpoint POST /api/datasets/generate-docs -- [x] T057 [US4] Add dataset-to-dashboard relationship retrieval for linked dashboards display +- [ ] T054 [US4] Add pagination support to GET /api/datasets endpoint (page, page_size parameters) +- [ ] T055 [US4] Implement bulk column mapping endpoint POST /api/datasets/map-columns with source selection +- [ ] T056 [US4] Implement bulk documentation generation endpoint POST /api/datasets/generate-docs +- [ ] T057 [US4] Add dataset-to-dashboard relationship retrieval for linked dashboards display ### Frontend for User Story 4 - [x] T058 [US4] Create `frontend/src/routes/datasets/+page.svelte` as Dataset Hub - [x] T059 [US4] Implement dataset grid with checkboxes, columns: Name, Database, Schema, Tables, Columns, Mapped %, Updated By, Actions -- [x] T060 [US4] Implement "Select All" and "Select Visible" buttons in toolbar -- [x] T061 [US4] Add real-time search input that filters dataset list by name, schema, or table names -- [x] T062 [US4] Implement pagination controls with page numbers and "Rows per page" dropdown -- [x] T063 [US4] Create floating bulk action panel at bottom: "[✓ N selected] [Map Columns] [Generate Docs] [Validate]" -- [x] T064 [US4] Implement Column Mapping modal with PostgreSQL comments/XLSX source selection and preview -- [x] T065 [US4] Implement Documentation Generation modal with LLM provider selection and options -- [x] T066 [US4] Create dataset detail view showing SQL tables, column counts, mapping percentages, and linked dashboards +- [ ] T060 [US4] Implement "Select All" and "Select Visible" buttons in toolbar +- [ ] T061 [US4] Add real-time search input that filters dataset list by name, schema, or table names +- [ ] T062 [US4] Implement pagination controls with page numbers and "Rows per page" dropdown +- [ ] T063 [US4] Create floating bulk action panel at bottom: "[✓ N selected] [Map Columns] [Generate Docs] [Validate]" +- [ ] T064 [US4] Implement Column Mapping modal with PostgreSQL comments/XLSX source selection and preview +- [ ] T065 [US4] Implement Documentation Generation modal with LLM provider selection and options +- [ ] T066 [US4] Create dataset detail view showing SQL tables, column counts, mapping percentages, and linked dashboards - [x] T067 [US4] Add empty state when no datasets found -- [x] T068 [US4] Verify implementation matches ux_reference.md (Dataset Hub Grid mockup) +- [ ] T068 [US4] Verify implementation matches ux_reference.md (Dataset Hub Grid mockup) **Checkpoint**: Dataset Hub fully functional with bulk operations