renovate[bot]
6974070eda
Update dependency tailwindcss to v4
2025-06-24 10:10:27 +00:00
brianmcgee
0dd3b498ac
Merge pull request 'add Tag and TagGroup components' ( #4038 ) from ui/tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4038
2025-06-24 08:30:06 +00:00
Johannes Kirschbauer
ac5cc85d57
Refactor(build-clan): rename to lib/modules
...
This is a preparation for moving everything into clan, to make it all one module evaluation
2025-06-23 16:06:49 +02:00
Brian McGee
57c77e039d
feat(ui): add TagGroup component
...
Introduces a new `TagGroup` component for rendering grouped tags with optional inverted styling.
2025-06-20 12:22:59 +01:00
Brian McGee
1b5d2bc538
feat(ui): add Tag component
...
Adds a reusable `Tag` component with support for default and inverted styles. Also includes cleanup of unused dependencies in `package.json`.
2025-06-20 12:22:58 +01:00
Brian McGee
79765b516d
feat(ui): rename TagStatus to MachineStatus
...
Standardizes naming and updates related props, classes, and types for clarity and consistency.
2025-06-20 09:13:55 +01:00
Brian McGee
101f97bc4a
feat(ui): consolidate and simplify how we use colors
...
* reconciles latest color variables from Figma
* defines the primary colors and the color system in tailwind config.
* refines how we generate utilities within the color system for `bg`, `fg` and `border`.
* removes custom box shadows, instead leaning on direct definition in CSS and `theme()`.
This change removes duplicate color information being defined as CSS variables in `index.css`
and co-locates all style information with the component
whilst retaining the ability to tie in to the color system when mapping styles from Figma.
2025-06-19 17:28:47 +01:00
brianmcgee
36facc2bac
Merge pull request 'feat(ui): Sidebar nav' ( #4018 ) from ui/sidebar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4018
2025-06-19 15:19:07 +00:00
Brian McGee
0603c13db9
feat(ui): Sidebar nav
2025-06-19 16:03:21 +01:00
Qubasa
e5b7685269
clan-app: Add vscode workspace for ui-2d
2025-06-19 17:03:04 +02:00
Qubasa
378f68bb5f
clan-app: ui-2d remove unecessary imports
2025-06-19 16:52:45 +02: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
Qubasa
4e0a9dea01
clan-app: Remove unused files and exports
2025-06-18 22:11:38 +02:00
renovate[bot]
e81c879386
chore(deps): update dependency playwright to ~1.53.0
2025-06-18 19:34:21 +00:00
renovate[bot]
67e50df9b2
fix(deps): update dependency three to ^0.177.0
2025-06-18 19:20:28 +00:00
Qubasa
6ff6a543e1
clan-app: Add knip dead code analyzer
2025-06-18 21:10:18 +02:00
Qubasa
9f08e5265c
clan-app: Fix npm run build in ui-2d
2025-06-18 20:56:52 +02:00
Qubasa
6be0281588
clan-app: Add more symlinks to ui-2d
2025-06-18 20:34:54 +02:00
Qubasa
a39fe0564d
clan-app: Working npm run check in ui-2d folder
2025-06-18 20:31:47 +02:00
Luis Hebendanz
83dd36c784
Merge pull request 'UI create a separate ui-2d folder' ( #3998 ) from Qubasa/clan-core:ui_overhaul into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3998
2025-06-18 18:11:28 +00:00
Qubasa
97699d2ea8
clan-app: Symlink more stuff from ui to ui-2d
2025-06-18 18:07:58 +02:00
Qubasa
b0ecf23074
clan-app: Move changes for 2D view to separate ui-2d folder
2025-06-18 17:58:49 +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
Qubasa
66b5116483
clan-app: Fix storybook tests
2025-06-18 12:55:47 +02:00
Qubasa
48ef8dd33b
clan-app: Untangle Machine Details into separate components. Makes it non functional for now.
2025-06-18 12:49:43 +02:00
Qubasa
f0913e331a
clan-app: Improve api test page
2025-06-18 12:49:43 +02:00
Qubasa
8941b75d48
clan-app: Fix UI errors
2025-06-17 13:53:43 +02:00
a-kenji
dd3662b81e
pkgs/*: Remove pytest coverage testing from every single test run
...
There was no noticeable positive impact from having coverage reports on
every single test run.
While adding a separate command to check coverage might be added in the
future, the overhead of collecting the coverage for every test run made
seems not worth it currently.
2025-06-16 15:46:36 +00:00
Qubasa
2df223c7e8
clan-app: Propagate op_key to callApi callers.
2025-06-13 12:41:58 +02:00
brianmcgee
6810a03960
Merge pull request 'UI: new Loader component; Button and Icon v2' ( #3908 ) from ui/button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3908
2025-06-12 15:52:17 +00:00
Qubasa
e27bb956c9
clan-lib: Add LogManager class
2025-06-12 16:24:40 +02:00
Qubasa
18be41082b
clan-app: Fix api test page
2025-06-12 16:23:33 +02:00
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
93e7ff78f6
fix(ui): disable storybook devshell and package on Darwin
2025-05-30 11:06:14 +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
Qubasa
d42dcb0e2a
clan-cli: Fix ctrl+c cancelling tasks
2025-05-22 15:01:58 +02:00
Brian McGee
8c5a30ff28
fix(ui): hot-reload of clan-cli
2025-05-22 11:47:35 +01:00
DavHau
d833b62614
GUI: add credentials page (vars)
...
add it to machine details
2025-05-21 11:47:04 +00:00