feat: Implement user profile preferences for start page, Git identity, and task drawer auto-open, alongside Git server default branch configuration.
This commit is contained in:
@@ -223,4 +223,16 @@ Mandatory UX verification tasks are included at the end of each user story phase
|
||||
- [x] D011 Extend actor matching normalization in `backend/src/services/profile_service.py` to include owner dict aliases (`full_name`, `first_name last_name`, `first_name_last_name`, username/email)
|
||||
- [x] D012 Normalize dashboards API response owners to `List[str]` via route projection in `backend/src/api/routes/dashboards.py` to preserve `DashboardsResponse` contract when upstream owners include dicts
|
||||
- [x] D013 Add regression test for owners-object profile filtering in `backend/src/api/routes/__tests__/test_dashboards.py`
|
||||
- [x] D014 Verify fix with targeted backend test run: `cd backend && .venv/bin/python3 -m pytest src/api/routes/__tests__/test_dashboards.py` (23 passed)
|
||||
- [x] D014 Verify fix with targeted backend test run: `cd backend && .venv/bin/python3 -m pytest src/api/routes/__tests__/test_dashboards.py` (23 passed)
|
||||
|
||||
## Post-Delivery Profile Expansion Status (2026-03-06)
|
||||
|
||||
- [x] D015 Extend profile preference persistence/API payload with Git identity fields, PAT metadata, start page, task drawer auto-open, and table density in `backend/src/models/profile.py`, `backend/src/schemas/profile.py`, `backend/src/services/profile_service.py`, `backend/src/api/routes/profile.py`, `backend/src/core/database.py`
|
||||
- [x] D016 Add read-only profile security snapshot (role, role source, permission badge states) for authenticated user in `backend/src/services/profile_service.py` and `backend/src/schemas/profile.py`
|
||||
- [x] D017 Implement profile page sections for Security & Access (read-only), Git Integration (PAT), and User Preferences while preserving Superset binding flow in `frontend/src/routes/profile/+page.svelte`
|
||||
- [x] D018 Wire preference-driven UX behavior for start-page redirect and task drawer auto-open in `frontend/src/routes/+page.svelte`, `frontend/src/lib/components/layout/TopNavbar.svelte`, `frontend/src/lib/stores/taskDrawer.js`, `frontend/src/routes/dashboards/+page.svelte`, `frontend/src/routes/dashboards/[id]/+page.svelte`, `frontend/src/routes/datasets/+page.svelte`
|
||||
- [x] D019 Add i18n coverage for new profile sections and controls in `frontend/src/lib/i18n/locales/en.json` and `frontend/src/lib/i18n/locales/ru.json`
|
||||
- [x] D020 Update/verify backend and frontend profile-related tests:
|
||||
- `cd backend && .venv/bin/python3 -m pytest src/api/routes/__tests__/test_profile_api.py` (6 passed)
|
||||
- `cd frontend && npm run test -- src/routes/profile/__tests__/profile-preferences.integration.test.js src/routes/profile/__tests__/profile-settings-state.integration.test.js src/lib/stores/__tests__/taskDrawer.test.js` (11 passed)
|
||||
- `cd frontend && npm run test -- src/lib/components/layout/__tests__/test_topNavbar.svelte.js src/routes/dashboards/__tests__/dashboard-profile-override.integration.test.js` (13 passed)
|
||||
Reference in New Issue
Block a user