3x-ui/frontend/src/components/ui
MHSanaei 7078abc14a
feat(frontend): make Storybook a validated, fully covered component workbench
Storybook existed only as an undocumented local tool: 9 of 24 reusable components had stories, autodocs pages were bare prop tables, nothing built or tested the stories, and no contributor doc mentioned the workbench existed.

Every reusable component under src/components/ now has a co-located story with enriched autodocs (component descriptions plus per-prop argTypes, kept as string metadata since the repo bans line comments). Stories double as headless Chromium tests through the Storybook vitest addon, with axe accessibility checks enforced as errors and play-function interaction tests covering the modals, the RHF field bridge, the config block, and the select-all buttons. The preview now mirrors the panel's real theme DOM (body class, shared AntD theme config, seeded theme storage) so what stories render matches production.

CI and make verify gain a static Storybook build as a compile gate, and the frontend test job installs Chromium so story tests run on every PR. Contributor docs (frontend README, CONTRIBUTING, agent guides) document the workbench, the story conventions, and the Controls setup. Node engines move to 24 LTS and gen:api drops the type-stripping flags that Node 24 makes default.
2026-07-14 03:37:21 +02:00
..
notifications feat(frontend): make Storybook a validated, fully covered component workbench 2026-07-14 03:37:21 +02:00
index.ts feat: replace notification checkboxes with card-based layout (#5421) 2026-06-20 22:13:58 +02:00
InfinityIcon.stories.tsx feat(frontend): make Storybook a validated, fully covered component workbench 2026-07-14 03:37:21 +02:00
InfinityIcon.tsx refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
InputAddon.css refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
InputAddon.stories.tsx feat(frontend): make Storybook a validated, fully covered component workbench 2026-07-14 03:37:21 +02:00
InputAddon.tsx feat(a11y): screen-reader & keyboard accessibility across the panel (#5486) (#5652) 2026-06-29 12:51:29 +02:00
SettingListItem.css refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
SettingListItem.stories.tsx feat(frontend): make Storybook a validated, fully covered component workbench 2026-07-14 03:37:21 +02:00
SettingListItem.tsx chore(deps): bump antd to 6.5 and migrate deprecated component props 2026-06-29 16:57:55 +02:00