1.9 KiB
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 -
Add the approved direction contract comment to the emitted HTML body.
-
Add semantic classes for the command header, import row, metric rail, workspace columns, production rows, and article rows.
-
Style the new shell with cool-white surfaces, thin rules, restrained shadows, compact metrics, and semantic hover states.
-
Keep Editor.js, modals, buttons, statuses, and API calls unchanged.
Task 2: Verify responsive behavior
Files:
-
Modify:
admin/src/App.tsx -
Use a two-column metric rail below the desktop breakpoint so mobile users reach the work queue quickly.
-
Keep the workspace columns stacked below the existing
xlbreakpoint. -
Inspect both desktop and 390px mobile renders in the local browser.
Task 3: Build and deploy
Files:
-
No additional source files.
-
Run
npm --prefix admin run build. -
Run
git diff --check. -
Run the Impeccable detector once against the changed UI files.
-
Upload the changed admin files and rebuild the production
apiimage. -
Verify the production container health endpoint.