hsjobeki
c25844dd07
Merge pull request 'ui/modal: refactor mounting and controlled state' ( #4807 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4807
2025-08-19 10:55:43 +00:00
Johannes Kirschbauer
a167e70e63
ui/modal: refactor mounting and controlled state
2025-08-19 12:52:20 +02:00
hsjobeki
dd96fe6b73
Merge pull request 'ui/routing: re-route on changes not only on page load' ( #4805 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4805
2025-08-19 10:15:59 +00:00
Johannes Kirschbauer
40d35d37e2
ui/routing: re-route on changes not only on page load
2025-08-19 12:10:04 +02:00
DavHau
ab274ce932
vars: refactor - remove generate_vars() in favor of run_generators()
...
The motivation is to have one shared entry point for the CLI as well as API/GUI
2025-08-19 16:26:53 +07:00
hsjobeki
ba1e598a76
Merge pull request 'ui/alert: migrate to css modules' ( #4802 ) from css-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4802
2025-08-19 08:58:22 +00:00
Johannes Kirschbauer
b5d29bd301
ui/alert: migrate to css modules
2025-08-19 10:27:55 +02:00
Johannes Kirschbauer
e174e8e029
css-modules: add typechecking for css module classes
2025-08-19 10:20:50 +02:00
Kenji Berthold
453d2b4a0a
Merge pull request 'pkgs/remove-moonlight-sunshine-accept: drop' ( #4798 ) from remove-moonlight-sunshine-accept into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4798
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-08-19 07:50:41 +00:00
DavHau
aadc8a1d63
vars: refactor - remove _generate_vars_for_machine function
...
This became unnecessary by now
2025-08-19 07:41:31 +00:00
DavHau
aaca8f4763
vars: refactor - move generator specific code to Generator class
...
Several functions in generate.py were specific to generator instances. Let's move them into the Generator class
2025-08-19 07:41:31 +00:00
DavHau
ee87f20471
vars: refactor - remove create_machine_vars_interactive in favor of run_generators
...
The motivation is to create one powerful entrypoint shared by the GUI as well as the CLI in order to not having to maintain too much separate code paths.
As a next step, generate_vars can probably also be removed.
2025-08-19 13:26:38 +07:00
hsjobeki
43febe5f33
Merge pull request 'Typography and contrast improvements for the UI' ( #4797 ) from ui/typography-size-increases into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4797
2025-08-19 06:25:37 +00:00
Johannes Kirschbauer
f82d18d649
API: rename util file to 'type_to_jsonschema'
2025-08-18 19:30:43 +02:00
Johannes Kirschbauer
287a303484
API/schema: make type conversion more strict in terms of undefined fields
2025-08-18 19:29:54 +02:00
Johannes Kirschbauer
1213608f30
API: init support for narrowing union types
...
This allows to relax constraints on functions using overloaded interfaces
I.e. for unifying logic this allows passing 'callable | dict'
Conretely useful for prompt values that are asked on demand in the cli, vs upfront in the ui
2025-08-18 19:28:47 +02:00
pinpox
fa1693e8c0
pkgs/remove-moonlight-sunshine-accept: drop
...
Removes this package as the module has already be deprecated and removed
2025-08-18 14:39:08 +02:00
Brian McGee
ed3ed7cb2a
chore(ui): lint
2025-08-18 12:52:33 +01:00
Brian McGee
b2e88fb3fa
chore(ui): fmt
2025-08-18 12:52:33 +01:00
Brian McGee
d6ca50218a
feat(ui): increase fg/def/4 from 500 to 600
2025-08-18 12:52:32 +01:00
Brian McGee
7d1f0956d6
feat(ui): refine Tag and line-height for labels
2025-08-18 12:52:32 +01:00
Brian McGee
d150c80854
feat(ui): move sidebar section header outside content
2025-08-18 12:52:31 +01:00
Brian McGee
2d1828d088
feat(ui): better contrast in sidebar
2025-08-18 12:52:31 +01:00
Brian McGee
f7f897a311
feat(ui): add xs button type
2025-08-18 12:52:30 +01:00
Brian McGee
683ffbdc76
feat(ui): refine Select with new typography sizes
2025-08-18 12:52:30 +01:00
Brian McGee
480ad3a5f1
feat(ui): increase label font sizes
2025-08-18 12:52:29 +01:00
Brian McGee
16361f03e9
feat(ui): typography size increases
2025-08-18 12:52:27 +01:00
hsjobeki
e109361e81
Merge pull request 'clanModules: remove unused code' ( #4785 ) from clean-dead-code into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4785
2025-08-16 11:03:16 +00:00
Johannes Kirschbauer
03968d8fbc
api/inventory: remove leaked schemas
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
2f27b3941e
lib/inventory: limit access to defined keys
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
9fe457ebd5
lib/clanModules: update nix_models
2025-08-16 11:59:16 +02:00
Johannes Kirschbauer
4a51aa9316
clanModules: remove unused test code
2025-08-16 11:58:55 +02:00
Mic92
ed78e49c47
Merge pull request 'vms/inspect: mark test as pure' ( #4781 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4781
2025-08-15 11:54:46 +00:00
Jörg Thalheim
3ef0a7919d
vms/inspect: mark test as pure
2025-08-15 13:31:27 +02:00
Jörg Thalheim
36812d5f95
test_vars_deployment: simplify test to just start one vm
2025-08-15 13:30:30 +02:00
Mic92
f5bcdb4ba0
Merge pull request 'flakes/inspect: mark test as pure' ( #4779 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4779
2025-08-15 11:28:22 +00:00
Jörg Thalheim
b69ad0eca5
backups/list: mark as pure
2025-08-15 13:10:41 +02:00
Jörg Thalheim
b221c29694
flakes/inspect: mark test as pure
2025-08-15 13:08:30 +02:00
Mic92
ec3d224e1d
Merge pull request 'tests_secrets_generate: mark as pure' ( #4766 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4766
2025-08-15 11:06:47 +00:00
Jörg Thalheim
c4d9b39a17
tests_secrets_generate: mark as pure
2025-08-15 12:51:20 +02:00
Johannes Kirschbauer
08cb6993a8
install/progress: display usb-stick
2025-08-15 11:10:57 +02:00
Johannes Kirschbauer
872f640211
install/assets: init usb-stick png image
2025-08-15 11:04:10 +02:00
Johannes Kirschbauer
c58f7c573d
ui/install: clean up design
2025-08-15 11:04:09 +02:00
Johannes Kirschbauer
7b807a0745
ui/vars: add more vars to install story
2025-08-15 11:04:09 +02:00
Luis Hebendanz
cc41185f98
Merge pull request 'flake.py: Error messages are now always ClanSelectErrors. Improved error messages' ( #4773 ) from Qubasa/clan-core:improve_select_error into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4773
2025-08-15 06:50:46 +00:00
Qubasa
606aae7212
flake.py: Error messages are now always ClanSelectErrors. Improved error messages
...
flake.py: Fix unbound variable
flake.py: Fix test_create.py test
2025-08-15 13:46:12 +07:00
Jörg Thalheim
716b74bc02
test_machines_cli: remove more tests from the impure set
2025-08-14 17:14:35 +02:00
Mic92
3586b4f48c
Merge pull request 'clan-cli/machines/list: mark test as pure' ( #4761 ) from no-impure-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4761
2025-08-14 14:59:10 +00:00
Jörg Thalheim
9cdc6a27b6
test_copy_from_nixstore_symlink: drop test.
...
seems a bit overkill to have a test for two lines of python code...
2025-08-14 16:53:39 +02:00
Jörg Thalheim
96014c02c5
clan-cli/templates: mark tests as pure
2025-08-14 16:35:25 +02:00