44 lines
1.9 KiB
Markdown
44 lines
1.9 KiB
Markdown
|
|
# Editorial Studio Redesign Implementation Plan
|
||
|
|
|
||
|
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task.
|
||
|
|
|
||
|
|
**Goal:** Reframe the existing Dzen assistant admin screen as a compact editorial production studio without changing its behavior.
|
||
|
|
|
||
|
|
**Architecture:** Keep the existing React screen and component library. Add semantic layout classes to the current header, metrics, workspace columns, production rows, and article rows; define the visual system in the existing stylesheet so all data and actions remain untouched.
|
||
|
|
|
||
|
|
**Tech Stack:** React, TypeScript, Vite, Tailwind CSS, shadcn/ui, lucide-react.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### Task 1: Apply the editorial studio shell
|
||
|
|
|
||
|
|
**Files:**
|
||
|
|
- Modify: `admin/index.html`
|
||
|
|
- Modify: `admin/src/App.tsx`
|
||
|
|
- Modify: `admin/src/index.css`
|
||
|
|
|
||
|
|
- [x] Add the approved direction contract comment to the emitted HTML body.
|
||
|
|
- [x] Add semantic classes for the command header, import row, metric rail, workspace columns, production rows, and article rows.
|
||
|
|
- [x] Style the new shell with cool-white surfaces, thin rules, restrained shadows, compact metrics, and semantic hover states.
|
||
|
|
- [x] Keep Editor.js, modals, buttons, statuses, and API calls unchanged.
|
||
|
|
|
||
|
|
### Task 2: Verify responsive behavior
|
||
|
|
|
||
|
|
**Files:**
|
||
|
|
- Modify: `admin/src/App.tsx`
|
||
|
|
|
||
|
|
- [x] Use a two-column metric rail below the desktop breakpoint so mobile users reach the work queue quickly.
|
||
|
|
- [x] Keep the workspace columns stacked below the existing `xl` breakpoint.
|
||
|
|
- [x] Inspect both desktop and 390px mobile renders in the local browser.
|
||
|
|
|
||
|
|
### Task 3: Build and deploy
|
||
|
|
|
||
|
|
**Files:**
|
||
|
|
- No additional source files.
|
||
|
|
|
||
|
|
- [x] Run `npm --prefix admin run build`.
|
||
|
|
- [x] Run `git diff --check`.
|
||
|
|
- [x] Run the Impeccable detector once against the changed UI files.
|
||
|
|
- [ ] Upload the changed admin files and rebuild the production `api` image.
|
||
|
|
- [ ] Verify the production container health endpoint.
|