Commit Graph

9 Commits

Author SHA1 Message Date
Brian McGee
0603c13db9 feat(ui): Sidebar nav 2025-06-19 16:03:21 +01:00
Qubasa
109f7c40cd clan-app: Add unused import checker and autofixer. Remove unused files. 2025-06-19 15:14:08 +02:00
Qubasa
0686d83b21 clan-app: 3d UI Remove unused files and exports 2025-06-18 22:42:00 +02: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
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
Brian McGee
3328d2ca73 feat(ui): upgrade to nodejs_22 and update dependencies 2025-05-20 15:45:17 +01:00
Jörg Thalheim
de0f78b0d2 clan-ui: remove intermediate app directory 2025-05-15 14:56:04 +02:00