fixed css
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
|
||||
**Purpose**: Project initialization and basic structure
|
||||
|
||||
- [ ] T001 Initialize SvelteKit in `frontend/` directory (replacing current setup)
|
||||
- [ ] T002 Install `@sveltejs/adapter-static` in `frontend/package.json`
|
||||
- [ ] T003 [P] Configure `frontend/svelte.config.js` for static adapter and SPA fallback
|
||||
- [x] T001 Initialize SvelteKit in `frontend/` directory (replacing current setup)
|
||||
- [x] T002 Install `@sveltejs/adapter-static` in `frontend/package.json`
|
||||
- [x] T003 [P] Configure `frontend/svelte.config.js` for static adapter and SPA fallback
|
||||
|
||||
---
|
||||
|
||||
@@ -35,10 +35,11 @@
|
||||
|
||||
**⚠️ CRITICAL**: No user story work can begin until this phase is complete
|
||||
|
||||
- [ ] T004 Create `frontend/src/routes/+layout.ts` to disable SSR and prerendering (`ssr = false`, `prerender = false`)
|
||||
- [ ] T005 Implement catch-all route in `backend/src/app.py` to serve `index.html` for SPA routing
|
||||
- [ ] T006 [P] Update `backend/src/app.py` to mount `frontend/build` directory using `StaticFiles`
|
||||
- [ ] T007 [P] Update `frontend/src/lib/api.js` to ensure compatibility with SvelteKit environment
|
||||
- [x] T004 Create `frontend/src/routes/+layout.ts` to disable SSR and prerendering (`ssr = false`, `prerender = false`)
|
||||
- [x] T005 Implement catch-all route in `backend/src/app.py` to serve `index.html` for SPA routing
|
||||
- [x] T006 [P] Update `backend/src/app.py` to mount `frontend/build` directory using `StaticFiles`
|
||||
- [x] T007 [P] Update `frontend/src/lib/api.js` to ensure compatibility with SvelteKit environment
|
||||
- [x] T022 [FR-008] Configure WebSocket proxying in `backend/src/app.py` and `frontend/vite.config.js`
|
||||
|
||||
**Checkpoint**: Foundation ready - user story implementation can now begin in parallel
|
||||
|
||||
@@ -52,9 +53,11 @@
|
||||
|
||||
### Implementation for User Story 1
|
||||
|
||||
- [ ] T008 [P] [US1] Create Dashboard route in `frontend/src/routes/+page.svelte` (migrating from `App.svelte`/`Dashboard.svelte`)
|
||||
- [ ] T009 [P] [US1] Create Settings route in `frontend/src/routes/settings/+page.svelte` (migrating from `Settings.svelte`)
|
||||
- [ ] T010 [US1] Implement navigation links between Dashboard and Settings in `frontend/src/routes/+page.svelte` and `frontend/src/routes/settings/+page.svelte`
|
||||
- [x] T008 [P] [US1] Create Dashboard route in `frontend/src/routes/+page.svelte` (migrating from `App.svelte`/`Dashboard.svelte`)
|
||||
- [x] T009 [P] [US1] Create Settings route in `frontend/src/routes/settings/+page.svelte` (migrating from `Settings.svelte`)
|
||||
- [x] T010 [US1] Implement navigation links between Dashboard and Settings in `frontend/src/routes/+page.svelte` and `frontend/src/routes/settings/+page.svelte`
|
||||
- [x] T023 [US1] Implement "Save Settings" form submission in `frontend/src/routes/settings/+page.svelte`
|
||||
- [x] T024 [US1] Implement plugin action triggers (e.g., "Run Backup") in `frontend/src/routes/+page.svelte`
|
||||
|
||||
**Checkpoint**: At this point, User Story 1 should be fully functional and testable independently.
|
||||
|
||||
@@ -68,10 +71,10 @@
|
||||
|
||||
### Implementation for User Story 2
|
||||
|
||||
- [ ] T011 [P] [US2] Implement `load` function for Dashboard in `frontend/src/routes/+page.ts` to fetch plugins from `/api/plugins/`
|
||||
- [ ] T012 [P] [US2] Implement `load` function for Settings in `frontend/src/routes/settings/+page.ts` to fetch config and environments from `/api/settings/`
|
||||
- [ ] T013 [US2] Update `frontend/src/routes/+page.svelte` to use data from `load` function via `export let data;`
|
||||
- [ ] T014 [US2] Update `frontend/src/routes/settings/+page.svelte` to use data from `load` function via `export let data;`
|
||||
- [x] T011 [P] [US2] Implement `load` function for Dashboard in `frontend/src/routes/+page.ts` to fetch plugins from `/api/plugins/`
|
||||
- [x] T012 [P] [US2] Implement `load` function for Settings in `frontend/src/routes/settings/+page.ts` to fetch config and environments from `/api/settings/`
|
||||
- [x] T013 [US2] Update `frontend/src/routes/+page.svelte` to use data from `load` function via `export let data;`
|
||||
- [x] T014 [US2] Update `frontend/src/routes/settings/+page.svelte` to use data from `load` function via `export let data;`
|
||||
|
||||
**Checkpoint**: At this point, User Stories 1 AND 2 should both work independently.
|
||||
|
||||
@@ -85,9 +88,9 @@
|
||||
|
||||
### Implementation for User Story 3
|
||||
|
||||
- [ ] T015 [US3] Create shared layout in `frontend/src/routes/+layout.svelte` with `<slot />`
|
||||
- [ ] T016 [P] [US3] Move navigation bar component to `frontend/src/components/Navbar.svelte` and include in `+layout.svelte`
|
||||
- [ ] T017 [P] [US3] Create footer component in `frontend/src/components/Footer.svelte` and include in `+layout.svelte`
|
||||
- [x] T015 [US3] Create shared layout in `frontend/src/routes/+layout.svelte` with `<slot />`
|
||||
- [x] T016 [P] [US3] Move navigation bar component to `frontend/src/components/Navbar.svelte` and include in `+layout.svelte`
|
||||
- [x] T017 [P] [US3] Create footer component in `frontend/src/components/Footer.svelte` and include in `+layout.svelte`
|
||||
|
||||
**Checkpoint**: All user stories should now be independently functional.
|
||||
|
||||
@@ -97,10 +100,12 @@
|
||||
|
||||
**Purpose**: Improvements that affect multiple user stories
|
||||
|
||||
- [ ] T018 [P] Implement custom 404 error page in `frontend/src/routes/+error.svelte`
|
||||
- [ ] T019 Add graceful error handling for API failures in `load` functions (T011, T012)
|
||||
- [ ] T020 [P] Update `frontend/README.md` with new SvelteKit-based development and build instructions
|
||||
- [ ] T021 Run `specs/004-integrate-svelte-kit/quickstart.md` validation
|
||||
- [x] T018 [P] Implement custom 404 error page in `frontend/src/routes/+error.svelte`
|
||||
- [x] T019 Add graceful error handling for API failures in `load` functions (T011, T012)
|
||||
- [x] T020 [P] Update `frontend/README.md` with new SvelteKit-based development and build instructions
|
||||
- [x] T021 Run `specs/004-integrate-svelte-kit/quickstart.md` validation
|
||||
- [x] T025 [FR-008] Update `TaskRunner.svelte` to use SvelteKit-compatible WebSocket connection logic
|
||||
- [x] T026 [SC-001] Perform performance benchmarking to verify < 200ms transition time
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user