Brian McGee
ec62419668
feat(ui): new loader component; button and icon v2
2025-06-12 11:29:41 +01:00
Johannes Kirschbauer
57e71e6c66
Refactor(api/list_machines): rename from list_inv_machines
2025-06-09 13:33:25 +02:00
Johannes Kirschbauer
7f478bffe2
Refactor(api/update_machine): rename to set_machine; use name, flake
2025-06-09 13:33:19 +02:00
Qubasa
7df19df224
clan-app: Catch method not found error in api
2025-06-04 18:16:58 +02:00
Johannes Kirschbauer
fc98df01be
Chore(ui/taglist): snapshot test
2025-06-03 19:09:43 +02: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
d417901dab
feat(ui): update border and background colors
...
To match latest design.
2025-05-30 13:46:57 +01:00
Brian McGee
359624c8af
feat(ui): update primary colors
...
To match latest design.
2025-05-30 13:46:56 +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
Brian McGee
4bba02afd4
feat(ui): add a clan context provider
...
- introduces a new consolidated store with `localStorage` support
- introduces a top-level `ClanProvider` providing access to `activeClanURI` and `clanURIs`
- redirects to `/welcome` if `activeClanURI` is `undefined`
- consolidates clan meta querying
- centralises the logic for removal of clan uri's which no longer exist
- fixed some miscellaneous missing `await` calls
2025-05-22 13:24:27 +00:00
DavHau
d833b62614
GUI: add credentials page (vars)
...
add it to machine details
2025-05-21 11:47:04 +00:00
hsjobeki
952ed43de0
Merge pull request 'Update UI to Node 22 and update dependencies' ( #3729 ) from feat/update-ui-dependencies into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3729
2025-05-21 09:03:27 +00:00
Brian McGee
3328d2ca73
feat(ui): upgrade to nodejs_22 and update dependencies
2025-05-20 15:45:17 +01:00
hsjobeki
84a5b74a4f
Merge pull request 'Classgen: export field type definitions' ( #3715 ) from hsjobeki/clan-core:inventory-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3715
2025-05-20 12:20:07 +00:00
Johannes Kirschbauer
38de1d1022
UI: remove unused inventory.ts file
2025-05-20 13:32:13 +02:00
Brian McGee
f3d2e65ebb
fix(ui): Exectuting typo in toast message
2025-05-20 11:52:34 +01:00
DavHau
6e898a2c10
GUI/vars: refactor vars step
2025-05-20 11:32:32 +07:00
DavHau
72fa59c9fa
UI: add vars step to installation flow
2025-05-19 19:11:19 +07:00
Johannes Kirschbauer
64e3d84cab
Refactor(cli): name set_inv_machine back to set_machine
...
We don't want to leak information about our internals
Such as 'inv' meaning 'inventory' this is not important from the outside
2025-05-16 18:05:07 +02:00
Johannes Kirschbauer
ec22a098e6
Refactor: rename api set_inv_machine parameter to 'machines,update'
2025-05-16 17:57:40 +02:00
Qubasa
2f0114a236
clan-cli: Unify list_machines and use flake caching
2025-05-16 10:47:49 +02:00
Jörg Thalheim
a2d86844b8
remove generated files from git.
2025-05-15 14:56:04 +02:00
Jörg Thalheim
28972a60d1
clan-app/ui: remove unused .envrc
...
this has been merged into clan-app's envrc
2025-05-15 14:56:04 +02:00
Jörg Thalheim
de0f78b0d2
clan-ui: remove intermediate app directory
2025-05-15 14:56:04 +02:00