From 15d8ec0b88739e0691cb1c9f4a5656e9ca36b5b1 Mon Sep 17 00:00:00 2001 From: "hehihoho3@gmail.com" Date: Sun, 31 May 2026 00:25:53 +0900 Subject: [PATCH] docs: add all-pages design uplift implementation plan Phase 1 (CSS tokens, utility backfill, shared components) with complete CSS; Phase 2 (dashboard visuals + deep links, collection URL filters, per-page sweep). Verification via bootRun + browser observation. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../2026-05-31-all-pages-design-uplift.md | 545 ++++++++++++++++++ 1 file changed, 545 insertions(+) create mode 100644 docs/superpowers/plans/2026-05-31-all-pages-design-uplift.md diff --git a/docs/superpowers/plans/2026-05-31-all-pages-design-uplift.md b/docs/superpowers/plans/2026-05-31-all-pages-design-uplift.md new file mode 100644 index 0000000..9d58c90 --- /dev/null +++ b/docs/superpowers/plans/2026-05-31-all-pages-design-uplift.md @@ -0,0 +1,545 @@ +# 전체 페이지 디자인/UX 개선 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. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 공유 CSS(변수+스타일)를 끌어올려 12개 Thymeleaf 페이지를 한 번에 개선하고(Phase 1), 대시보드/수집함 등 페이지별 폴리시와 가벼운 인터랙션을 더한다(Phase 2). + +**Architecture:** Tailwind 없이 인라인/유틸 클래스에 의존하던 SSR 페이지들에서, 실제 사용 중인 미정의 유틸 클래스를 `style.css`에 백필하고 공유 컴포넌트(카드/버튼/배지/막대/폼/테이블/스켈레톤)를 정련한다. 그 위에 페이지별 마크업을 소폭 손보고, 대시보드 클릭→수집함 필터 딥링크를 추가한다. + +**Tech Stack:** Spring Boot 3.4 + Thymeleaf(SSR), 바닐라 CSS/JS, Lucide 아이콘. 백엔드/새 라이브러리 변경 없음. + +**검증 방식:** 이 프로젝트는 자동 테스트 인프라가 없다(`src/test` 없음). 각 태스크의 "테스트"는 **앱 기동 후 브라우저(Playwright)로 해당 페이지를 열어 특정 요소를 관찰**하는 것이다. JAVA_HOME은 `D:\Development\app\JDK\jdk-21.0.5`, 포트 8088. + +**앱 기동/재기동 공통 절차 (여러 태스크에서 참조):** +``` +# 기동 (백그라운드) +$env:JAVA_HOME="D:\Development\app\JDK\jdk-21.0.5"; .\gradlew.bat bootRun *> bootrun.log +# "Started ...Application in" 로그가 나오면 준비 완료 +# CSS/템플릿만 바뀐 경우: 정적 리소스라 재빌드 불필요하나, 확실히 하려면 앱 재기동. +# 종료: 포트 8088 점유 프로세스 Stop-Process +``` +CSS/HTML은 정적 리소스이므로 변경 후 브라우저 강력 새로고침(Ctrl+F5) 또는 Playwright 재네비게이션으로 반영된다. Java 코드 변경이 없으므로 `compileJava`는 불필요하다. + +--- + +## File Structure + +- `src/main/resources/static/css/variables.css` — 디자인 토큰. 토큰 추가만(기존 유지). +- `src/main/resources/static/css/style.css` — 유틸 클래스 + 공유 컴포넌트. 백필/정련의 주력. +- `src/main/resources/templates/dashboard.html` — Phase 2 비주얼+인터랙션. +- `src/main/resources/templates/collection.html` — Phase 2 딥링크 수신 + 폴리시. +- 기타 템플릿(board/publish/discover/channels/videos/production/production_detail/channel_detail/multi_channel_videos/rework) — Phase 2 페이지 스윕(공유 CSS 위 소폭). + +페이지 고유 클래스(`sortable`, `filter-sel`, `pub-in`, `kb-*`, `tab`, `custom-checkbox`, `st-badge` 등)는 각 페이지 `