Commit Graph
21 Commits
Author SHA1 Message Date
shkim4 dc9258599c feat(chart): add @hm-design/chart package with Bar, Line, Donut, Pie, Radar, Area and Radial charts
- new workspace package packages/chart (shadcn/ui Chart + Recharts, HM Theme tokens), examples entry with sample data
- Storybook Chart group (src/chart), consumer example (examples/chart), build:chart / build:chart-example scripts
- README rewritten as the AI usage guide (install, CSS wiring, chart selection, data rules, verification)
- docs: package count/list, Submodule guide (chart workspace, React dedupe), shared AI_GUIDE row, MAINTAINING, story inventory
2026-11-06 15:52:47 +09:00
shkim4 4c29894e56 refactor(storybook): simplify component and preview examples
Drop page / section descriptions, state notes and repeated captions from
the representative Stories of 44 components, the Patterns, Center
Graphic and OrgChart pages. Value readouts, spec lists and captions hide
only on the representative page; hidden verification Stories keep them.
Tabs Default API and the Filter Bar draft / applied counts move to the
hidden DefaultApi and DraftApplied Stories; Center Overview is hidden
with its direct URL kept. Story IDs are unchanged.

Align the component, pattern and OrgChart docs with the pages, point the
quality reference check at the DraftApplied Story, and make the P8
styles check expect no section header on the preview-only Expanded page.
2026-10-23 00:28:05 +09:00
shkim4 f4ddd5ac4b docs(storybook): make Expanded OrgChart a preview-only page
Deploy Storybook / deploy (push) Successful in 59s
Remove the data, layout, interaction and employee-popup setting panels
from the Expanded OrgChart Story. The chart now renders a fixed sample
(7 companies x 20, TB, all expanded, collapse/zoom/pan on, Drag & Drop
off, HM Dialog) right under the page title. Story ID, OrgChart packages
and public API are unchanged.

Align the Story browser checks (P7, P8, P9, P9.2-P9.5, geometry, popup
parity, hierarchy, HM Story) with the preview: setting-only scenarios
are removed, chart rendering, collapse, Zoom/Pan/Fit and HM Dialog checks
run on the fixed state. Move/Drag & Drop coverage stays in the Vanilla
Core checks (verify-p9-3-core, verify-p9-4-core).

Verified: tsc, test:guard 94/94, node --check on 11 scripts, changed
browser sections PASS. Pre-existing P7 story-menu, P8 Department
long-name, P9 Expanded tb/runner failures remain separate issues.
verify-p9-5-popup-parity was not run (needs the Vanilla example server).
2026-10-22 17:51:21 +09:00
shkim4 9cdfdea3ca chore: remove unused portable preview and ZIP packaging scripts
None of these are used by npm scripts, the Gitea workflow, Docker, other
scripts or current guides; they only produced the past publisher and AI
reference ZIPs.

- Delete scripts/portable-preview/ (start-preview.bat, preview-server.cjs),
  used only by create-publisher-distribution.mjs
- Delete scripts/create-publisher-distribution.mjs (2026-10-10 publisher ZIP)
- Delete scripts/create-ai-reference-package.mjs (past AI reference ZIP);
  sync:ai-docs / check:ai-docs do not use it
2026-10-22 09:35:25 +09:00
shkim4 f8cb5f8318 chore: remove legacy Windows launcher and PORTABLE verification records
Storybook is served on the web (main deployment), so the Windows BAT
launcher and its Node helper are no longer used. The root PORTABLE
r4-r6 verification records are historical ZIP-era notes that nothing
references.

- Delete start-storybook.bat and scripts/start-storybook.mjs
- Delete PORTABLE-R4/R5-CANDIDATE/R5/R6-VERIFICATION.md
- README, publisher distribution guide, LAN preview note: point to the
  web Storybook; keep npm run storybook for local development
- v2 baseline report: unlink the removed files, keep the record text
2026-10-22 09:31:58 +09:00
shkim4 7621934f69 docs(ai): split SW usage into general / viewer mode in packaged AI guides
- Usage types are now Web / SW (general mode, viewer mode) / OrgChart / mixed.
  Shared AI_GUIDE step 1 asks for the SW mode only when the request or the
  project setting (HMDesign 사용 유형: SW 일반 | SW 뷰어) leaves it open;
  examples B0/B1/B2 cover "HMDesign SW로 화면을 만들어 주세요", general and viewer.
- Missing-component handling in three steps (reuse in the chosen type/mode ->
  build with that mode's tokens -> HMDesign-consistent style, reported as
  "AI 구성 값 — 디자인 확인 필요"), plus SW general/viewer separation rules.
- sw/ai: AI_USAGE §0 mode selection, catalog §8 lists all 33 SWViewer* exports,
  DESIGN_RULES §11 viewer tokens, PATTERNS 7 viewer composition; examples B/F
  marked as general mode. ui/ai and org-chart/ai aligned with the new types.
- AGENTS_SNIPPET, AGENTS.md and MAINTAINING updated; copies synced.
- scripts/ai-docs.mjs: shared-copy check ignores CRLF/LF (core.autocrlf=true
  checks out packages/sw as LF and the rest as CRLF).
- Verification record updated (code samples typechecked, built and rendered).
2026-10-19 17:34:15 +09:00
shkim4 fb74cd756f docs(ai): add packaged AI guides for Web, SW and OrgChart
- Shared entry point docs/ai/AI_GUIDE.md (type selection Web / SW / OrgChart / mixed,
  steps 1-7, package style separation, report format, examples A-D) and
  AGENTS_SNIPPET.md, copied into every package ai/ folder
- New ai/ docs for @hm-design/ui and @hm-design/org-chart (+ org-chart-react pointer):
  AI_USAGE, COMPONENT_CATALOG, DESIGN_RULES, COMPOSITION_PATTERNS
- SW ai/ linked to the shared guide; catalog lists every Props type explicitly
- "ai" added to package files of ui, org-chart, org-chart-react
- scripts/ai-docs.mjs: sync:ai-docs / check:ai-docs (copies, files, catalog <-> exports, links)
- Maintenance guide and verification record under docs/ai
2026-10-19 17:13:36 +09:00
shkim4 d42466f5eb fix: align org chart hierarchy and typography weights 2026-10-14 13:33:59 +09:00
shkim4 346c648c09 feat(org-chart): support external CSS themes and align documentation 2026-10-13 22:43:21 +09:00
shkim4 b637f86631 feat(org-chart): support standalone React integration and update guides 2026-10-13 16:03:05 +09:00
shkim4 7644520cee fix(org-chart): improve auto connector contrast and test portability 2026-10-12 22:54:15 +09:00
shkim4 d6d6eb53af fix: prevent false CSS class matches in AI guard 2026-10-11 15:07:50 +09:00
shkim4 3220b753dd feat(theme): add brown and orange background gradients 2026-10-11 13:30:30 +09:00
DESKTOP-KPCP6AL\ㅅㅎ 220973cf89 feat(theme): add provisional generic status error token 2026-10-11 13:07:59 +09:00
DESKTOP-KPCP6AL\ㅅㅎ 4cfe224123 fix: finalize confirmed Hanmac orange palette steps 2026-10-11 11:45:26 +09:00
DESKTOP-KPCP6AL\ㅅㅎ 7b22fe88a1 fix: align v2 publisher review with HMDesign stories and tokens 2026-10-11 11:36:32 +09:00
DESKTOP-KPCP6AL\ㅅㅎ 1c4e0bb9a1 feat: integrate latest HMDesign design system updates 2026-10-11 11:09:03 +09:00
shkim4 4daca6d357 feat: improve lightweight AI generation guard 2026-10-08 20:32:15 +09:00
shkim4 c86d12bebc feat(storybook): add one-click Windows launcher 2026-10-08 19:57:26 +09:00
shkim4 d537926417 feat(ai): add lightweight generation guard 2026-10-08 19:57:13 +09:00
shkim4 b6a0a61103 Initial commit: HMDesignSystem baseline 2026-10-08 16:58:09 +09:00