psychedelicious
a983f27aad
fix(ui): update types
2024-05-30 12:03:38 +10:00
psychedelicious
5a4d10467b
feat(ui): use updated types
2024-05-30 12:03:38 +10:00
psychedelicious
46a90ca402
fix(ui): initial image layers always ignored
...
Whoops!
2024-05-24 06:40:48 +10:00
psychedelicious
55d7d9cc75
fix(ui): control layers don't disable correctly
...
Closes #6424
2024-05-23 10:14:34 +10:00
psychedelicious
38265b3123
docs(ui): update validateWorkflow comments
2024-05-21 05:17:10 -07:00
psychedelicious
caca28286c
tests(ui): add test for resource usage check
2024-05-21 05:17:10 -07:00
psychedelicious
38320a5100
feat(ui): reset missing images, boards and models when loading workflows
...
These fields are reset back to `undefined` if not accessible. A warning toast is showing, and in the JS console, the full warning message is logged.
2024-05-21 05:17:10 -07:00
psychedelicious
620ee2875e
fix(ui): store hidden
state of edges in workflows
...
This prevents a minor visual bug where collapsed edges between collapsed nodes didn't display correctly on first load of a workflow.
2024-05-20 11:36:47 +10:00
psychedelicious
e88b807a13
docs(ui): update field type docs & comments
2024-05-20 11:28:33 +10:00
psychedelicious
9e55ef3d4b
fix(ui): workflow migration field type
...
At some point, I made a mistake and imported the wrong types to some files for the old v1 and v2 workflow schema migration data.
The relevant zod schemas and inferred types have been restored.
This change doesn't alter runtime behaviour. Only type annotations.
2024-05-20 11:28:33 +10:00
psychedelicious
8062a47d16
fix(ui): use new field type cardinality throughout app
...
Update business logic and tests.
2024-05-20 11:28:33 +10:00
psychedelicious
f4625c2671
feat(ui): add canvas objects to metadat a for all canvas graphs
2024-05-20 10:32:59 +10:00
psychedelicious
3fcb2720d7
tests(ui): add tests for consolidated connection validation
2024-05-19 20:14:01 +10:00
psychedelicious
af7b194bec
chore(ui): lint
2024-05-19 20:14:01 +10:00
psychedelicious
a012bb6e07
feat(ui): add ModelIdentifierField field type
...
This new field type accepts _any_ model. A field renderer lets the user select any available model.
2024-05-19 20:14:01 +10:00
psychedelicious
85a5a7c47a
feat(ui): add originalType
to FieldType, improved connection validation
...
We now keep track of the original field type, derived from the python type annotation in addition to the override type provided by `ui_type`.
This makes `ui_type` work more like it sound like it should work - change the UI input component only.
Connection validation is extend to also check the original types. If there is any match between two fields' "final" or original types, we consider the connection valid.This change is backwards-compatible; there is no workflow migration needed.
2024-05-19 20:14:01 +10:00
psychedelicious
07feb5ba07
Revert "feat(ui): SDXL clip skip"
...
This reverts commit 40b4fa7238
.
2024-05-17 15:08:04 -07:00
psychedelicious
dd42a56084
tests(ui): fix parseSchema test fixture
...
The schema fixture wasn't formatted quite right - doesn't affect the test but still.
2024-05-17 13:24:23 +10:00
psychedelicious
23ac340a3f
tests(ui): add test for parseSchema
2024-05-17 13:24:23 +10:00
psychedelicious
6791b4eaa8
chore(ui): lint
2024-05-17 13:24:23 +10:00
psychedelicious
708c68413d
tidy(ui): add type for templates
2024-05-17 13:24:23 +10:00
psychedelicious
1d884fb794
feat(ui): move invocation templates out of redux
...
Templates are stored in nanostores. All hooks, selectors, etc are reworked to reference the nanostore.
2024-05-17 13:24:23 +10:00
psychedelicious
f6a44681a8
feat(ui): move invocation templates out of redux (wip)
2024-05-17 13:24:23 +10:00
psychedelicious
27826369f0
feat(ui): make nodesSlice undoable
2024-05-17 13:24:23 +10:00
psychedelicious
40b4fa7238
feat(ui): SDXL clip skip
...
Uses the same CLIP Skip value for both CLIP1 and CLIP2.
Adjusted SDXL CLIP Skip min/max/markers to be within the valid range (0 to 11).
Closes #4583
2024-05-16 07:49:30 -04:00
psychedelicious
f489c818f1
docs(ui): add comments to nsfw & watermarker helpers
2024-05-15 14:09:44 +10:00
psychedelicious
af477fa295
tidy(ui): remove unused modelLoader from refiner helper
2024-05-15 14:09:44 +10:00
psychedelicious
0ff0290735
tidy(ui): use Invocation<> helper type in canvas graph builders, elsewhere
2024-05-15 14:09:44 +10:00
psychedelicious
4c3c2297b9
tidy(ui): organise graph builder files
2024-05-15 14:09:44 +10:00
psychedelicious
cadea55521
tidy(ui): organise graph builder files
2024-05-15 14:09:44 +10:00
psychedelicious
77024bfca7
fix(ui): fix sdxl generation mode metadata
2024-05-15 14:09:44 +10:00
psychedelicious
4a1c3786a1
tidy(ui): organise CL graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
b239891986
tidy(ui): clean up base model handling in graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
9fb03d43ff
tests(ui): get coverage to 100% for graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
bdc59786bd
tidy(ui): clean up graph builder helper functions
2024-05-15 14:09:44 +10:00
psychedelicious
fb6e926500
tidy(ui): remove extraneous graph validate calls
2024-05-15 14:09:44 +10:00
psychedelicious
48ccd63dba
feat(ui): use integrated metadata helper
2024-05-15 14:09:44 +10:00
psychedelicious
ee647a05dc
feat(ui): move metadata util to graph class
...
No good reason to have it be separate. A bit cleaner this way.
2024-05-15 14:09:44 +10:00
psychedelicious
154b52ca4d
docs(ui): update docstrings for Graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
4897ce2a13
tidy(ui): remove unused files
2024-05-15 14:09:44 +10:00
psychedelicious
5425526d50
feat(ui): use graph builder for generation tab sdxl
2024-05-15 14:09:44 +10:00
psychedelicious
5a4b050e66
feat(ui): use asserts in graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
8d39520232
feat(ui): port NSFW and watermark nodes to graph builder
2024-05-15 14:09:44 +10:00
psychedelicious
04d12a1e98
feat(ui): add HRF graph builder helper
2024-05-15 14:09:44 +10:00
psychedelicious
39aa70963b
docs(ui): update docstrings for addGenerationTabSeamless
2024-05-15 14:09:44 +10:00
psychedelicious
5743254a41
fix(ui): use arrays for edge methods
2024-05-15 14:09:44 +10:00
psychedelicious
c538ffea26
tidy(ui): remove console.log
2024-05-15 14:09:44 +10:00
psychedelicious
e8d3a7c870
feat(ui): support multiple fields for getEdgesTo
, getEdgesFrom
, deleteEdgesTo
, deleteEdgesFrom
2024-05-15 14:09:44 +10:00
psychedelicious
2be66b1546
feat(ui): add deleteNode
and getEdges
to graph util
2024-05-15 14:09:44 +10:00
psychedelicious
b5d42fbc66
tidy(ui): remove unused graph helper
2024-05-15 14:09:44 +10:00