Commit Graph

8 Commits

Author SHA1 Message Date
Brian McGee
0603c13db9 feat(ui): Sidebar nav 2025-06-19 16:03:21 +01:00
Brian McGee
85328ab55e feat(ui): upgrade to storybook 9
Replaces rollup with wasm version for portability.
2025-06-18 15:03:43 +01:00
Brian McGee
ec62419668 feat(ui): new loader component; button and icon v2 2025-06-12 11:29:41 +01:00
hsjobeki
f57a9b5ea9 Reaply: #3777: fix/machine-detail-view 2025-06-03 18:42:47 +02:00
Brian McGee
ac8e639348 feat(ui): Typography V2 2025-05-30 14:58:50 +01:00
Brian McGee
ed4581e4ea chore(ui): setup base for Typography V2
Also removes Button stories for V1 component.
2025-05-30 13:46:55 +01:00
Brian McGee
41f7ae08a8 feat(ui): enable storybook snapshot tests
- adds a process-compose namespace for running `storybook` and `luakit` together to replicate the `webkit`-based rendering that happens inside of `webview`
- adds some helper scripts for running storybook tests and updating snapshots, with documentation in the README.
- adds a `clan-app-ui-storybook` package which builds and tests the storybook, checking for rendering changes

Currently, we’re only doing markup-based snapshot tests. We’re also using headless chromium for the tests by default as I couldn't get webkit to work in the nix build.

As we’re only markup-based for the time being, this should be ok. But eventually I'd like to get it working with webkit.
2025-05-30 11:06:14 +01:00
Brian McGee
717f78b29c feat(ui): introduces storybook
- adds the necessary dependencies and configuration for Storybook.
- refactors the `Button` component and adds some stories for it.
2025-05-26 12:56:51 +01:00