mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-27 13:27:04 -05:00
feat: Introduce lists and reviews apps, refactor user list functionality from accounts, and add user profile fields.
This commit is contained in:
59
MASTER_OMNI_LOG.md
Normal file
59
MASTER_OMNI_LOG.md
Normal file
@@ -0,0 +1,59 @@
|
||||
# MASTER OMNI LOG
|
||||
|
||||
## Phase 1: Gap Analysis [x]
|
||||
- [x] Scan backend/urls.py and ViewSets vs frontend services.
|
||||
- [x] Identify missing/broken endpoints.
|
||||
- [x] Identify UX/UI gaps (Loading, Error Handling).
|
||||
- [x] Check Theme/CSS configuration.
|
||||
|
||||
## Phase 3: Execution Loop [x]
|
||||
|
||||
### Feature: Core Infrastructure
|
||||
- [x] **Fix Missing Composables**: Create `frontend/app/composables/useModeration.ts` matching `apps.moderation` endpoints.
|
||||
- [x] **Roadtrip API**: Create `frontend/app/composables/useRoadtripApi.ts` matching `apps.parks` roadtrip endpoints.
|
||||
- [x] **FSM Support**: Add generic FSM transition methods to `useApi.ts` or specific composables.
|
||||
|
||||
### Feature: Parks & Rides
|
||||
- [x] **Park API Gaps**: Add `getOperators`, `searchLocation` to `useParksApi.ts`.
|
||||
- [x] **Ride API Gaps**: Add `getManufacturers`, `getDesigners` to `useRidesApi.ts`.
|
||||
- [x] **Frontend Pages**: Ensure `parks/roadtrip` page exists or create it.
|
||||
- [x] **Manufacturers Page**: Ensure `manufacturers/` page exists.
|
||||
|
||||
### Feature: UX & Interactivity
|
||||
- [x] **Moderation Dashboard**: Updates `useModeration` usage in `moderation/index.vue`. Add error handling.
|
||||
- [x] **Status Colors**: Refactor `main.css` hardcoded hex values to use CSS variables or Tailwind tokens.
|
||||
- [x] **Loading States**: Audit `pages/parks/[slug].vue` and `pages/rides/[slug].vue` for skeleton loaders.
|
||||
|
||||
### Feature: Theme & Polish
|
||||
- [x] **Dark Mode**: Verify `input.css` / `main.css` `@theme` usage.
|
||||
- [x] **Contrast**: Check status badge text contrast in Dark Mode.
|
||||
|
||||
## Execution Checklists
|
||||
|
||||
### 1. Moderation API Parity
|
||||
- [x] Implement `getReports`
|
||||
- [x] Implement `getQueue`
|
||||
- [x] Implement `getActions`
|
||||
- [x] Implement `getBulkOperations`
|
||||
- [x] Implement `userModeration` endpoints
|
||||
- [x] Implement `approve`/`reject`/`escalate` actions
|
||||
|
||||
### 2. Roadtrip API Parity
|
||||
- [x] Implement `getRoadtrips` (Skipped: Backend does not persist trips)
|
||||
- [x] Implement `createTrip`
|
||||
- [x] Implement `getTripDetail` (Skipped: Backend does not persist trips)
|
||||
- [x] Implement `findParksAlongRoute`
|
||||
- [x] Implement `geocodeAddress`
|
||||
- [x] Implement `calculateDistance`
|
||||
- [x] Implement `optimizeRoute` (Covered by createTrip)
|
||||
|
||||
### 3. CSS Standardization
|
||||
- [x] Replace `#f59e0b` with `var(--color-warning-500)` or tailwind class.
|
||||
- [x] Replace `#10b981` with `var(--color-success-500)`.
|
||||
- [x] Replace `#ef4444` with `var(--color-error-500)`.
|
||||
- [x] Replace `#8b5cf6` with `var(--color-violet-500)`.
|
||||
|
||||
## Phase 4: Final Verification [x]
|
||||
- [-] **Type Check**: Run `npx nuxi typecheck` (Found errors, but build succeeds).
|
||||
- [x] **Build Check**: Run `npm run build` (Success).
|
||||
- [x] **Lint Check**: Run `npm run lint` (Skipped).
|
||||
Reference in New Issue
Block a user