docs: define editorial studio redesign
This commit is contained in:
parent
5a5b60ff75
commit
71dc381ac1
2 changed files with 64 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
||||||
|
# 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.
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Editorial Studio Redesign
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
|
||||||
|
Make the Dzen assistant admin panel feel like a focused editorial production desk: the operator should understand the pipeline state and reach the next action without opening extra screens.
|
||||||
|
|
||||||
|
## Direction
|
||||||
|
|
||||||
|
The approved direction is a light editorial studio. It uses a cool white working surface, graphite typography, thin neutral rules, restrained semantic colors, compact metrics, and two equal work columns. The existing logo, Editor.js, processing actions, logs, article actions, settings, import flow, and modal behavior remain unchanged.
|
||||||
|
|
||||||
|
## First Viewport
|
||||||
|
|
||||||
|
The first viewport is ordered as: compact command header, manual video import row, six metric tiles, then the two-column workspace. The left column is the production queue for videos, progress, logs, and drafts. The right column is the accepted article feed. On narrow screens the metric rail becomes two columns and the workspace stacks vertically.
|
||||||
|
|
||||||
|
## Interaction and States
|
||||||
|
|
||||||
|
Processing rows retain their existing queued, processing, draft, published, scheduled, and error states. Hover gives a restrained elevation cue; semantic colors remain reserved for action and status. Empty states stay inline and explanatory. No business logic or API contract changes are part of this redesign.
|
||||||
|
|
||||||
|
## Validation
|
||||||
|
|
||||||
|
Validate the TypeScript/Vite build, `git diff --check`, the Impeccable detector, and rendered desktop/mobile views at the local dev URL before deployment.
|
||||||
Loading…
Reference in a new issue