f870f810d5
fix(ui): get embedding select working
2024-03-01 10:42:33 +11:00
a793103d7a
fix(ui): get lora select working
2024-03-01 10:42:33 +11:00
7e5a85496e
chore(ui): bump @invoke-ai/ui-library
2024-03-01 10:42:33 +11:00
ca7e928710
fix(ui): fix low-hanging fruit types
2024-03-01 10:42:33 +11:00
67daa127e3
chore(ui): typegen
2024-03-01 10:42:33 +11:00
f1597bd6da
chore(ui): lint
2024-03-01 10:42:33 +11:00
e50b76571a
feat(ui): fix main model & control adapter model selects
2024-03-01 10:42:33 +11:00
db363b5178
refactor(ui): url builders for each router
...
The MM2 router is at `api/v2/models`. URL builder utils make this a bit easier to manage.
2024-03-01 10:42:33 +11:00
dab939f7d1
feat(ui): update model identifier to be key (wip)
...
- Update most model identifiers to be `{key: string}` instead of name/base/type. Doesn't change the model select components yet.
- Update model _parameters_, stored in redux, to be `{key: string, base: BaseModel}` - we need to store the base model to be able to check model compatibility. May want to store the whole config? Not sure...
2024-03-01 10:42:33 +11:00
b7ba65fef4
fix(ui): update model types
2024-03-01 10:42:33 +11:00
fc107ed711
tests(ui): add type tests
2024-03-01 10:42:33 +11:00
cb804e75ed
tests(ui): enable vitest type testing
...
This is useful for the zod schemas and types we have created to match the backend.
2024-03-01 10:42:33 +11:00
7996d43af9
chore(ui): typegen
2024-03-01 10:42:33 +11:00
fab30b5a11
feat(ui): export components type
2024-03-01 10:42:33 +11:00
651ac56b2c
fix(ui): fix type issues
2024-03-01 10:42:33 +11:00
68f53460f0
chore: lint
2024-03-01 10:42:33 +11:00
95453a22b1
tests(ui): add parseFieldType.test.ts
2024-03-01 10:42:33 +11:00
30db708c4f
feat(ui): add more types of FieldParseError
...
Unfortunately you cannot test for both a specific type of error and match its message. Splitting the error classes makes it easier to test expected error conditions.
2024-03-01 10:42:33 +11:00
fe27af461a
feat(ui): add vitest
...
- Add vitest.
- Consolidate vite configs into single file (easier to config everything based on env for testing)
2024-03-01 10:42:33 +11:00
f8525837b2
feat(ui): workflow schema v3 (WIP)
...
The changes aim to deduplicate data between workflows and node templates, decoupling workflows from internal implementation details. A good amount of data that was needlessly duplicated from the node template to the workflow is removed.
These changes substantially reduce the file size of workflows (and therefore the images with embedded workflows):
- Default T2I SD1.5 workflow JSON is reduced from 23.7kb (798 lines) to 10.9kb (407 lines).
- Default tiled upscale workflow JSON is reduced from 102.7kb (3341 lines) to 51.9kb (1774 lines).
The trade-off is that we need to reference node templates to get things like the field type and other things. In practice, this is a non-issue, because we need a node template to do anything with a node anyways.
- Field types are not included in the workflow. They are always pulled from the node templates.
The field type is now properly an internal implementation detail and we can change it as needed. Previously this would require a migration for the workflow itself. With the v3 schema, the structure of a field type is an internal implementation detail that we are free to change as we see fit.
- Workflow nodes no long have an `outputs` property and there is no longer such a thing as a `FieldOutputInstance`. These are only on the templates.
These were never referenced at a time when we didn't also have the templates available, and there'd be no reason to do so.
- Node width and height are no longer stored in the node.
These weren't used. Also, per https://reactflow.dev/api-reference/types/node , we shouldn't be programmatically changing these properties. A future enhancement can properly add node resizing.
- `nodeTemplates` slice is merged back into `nodesSlice` as `nodes.templates`. Turns out it's just a hassle having these separate in separate slices.
- Workflow migration logic updated to support the new schema. V1 workflows migrate all the way to v3 now.
- Changes throughout the nodes code to accommodate the above changes.
2024-03-01 10:42:33 +11:00
5fbfed30ac
chore(ui): regen types
2024-03-01 10:42:33 +11:00
70034d26e2
feat(ui): revise graphs to not use LinearUIOutputInvocation
...
See this comment for context: https://github.com/invoke-ai/InvokeAI/pull/5491#discussion_r1480760629
- Remove this now-unnecessary node from all graphs
- Update graphs' terminal image-outputting nodes' `is_intermediate` and `board` fields appropriately
- Add util function to prepare the `board` field, tidy the utils
- Update `socketInvocationComplete` listener to work correctly with this change
I've manually tested all graph permutations that were changed (I think this is all...) to ensure images go to the gallery as expected:
- ad-hoc upscaling
- t2i w/ sd1.5
- t2i w/ sd1.5 & hrf
- t2i w/ sdxl
- t2i w/ sdxl + refiner
- i2i w/ sd1.5
- i2i w/ sdxl
- i2i w/ sdxl + refiner
- canvas t2i w/ sd1.5
- canvas t2i w/ sdxl
- canvas t2i w/ sdxl + refiner
- canvas i2i w/ sd1.5
- canvas i2i w/ sdxl
- canvas i2i w/ sdxl + refiner
- canvas inpaint w/ sd1.5
- canvas inpaint w/ sdxl
- canvas inpaint w/ sdxl + refiner
- canvas outpaint w/ sd1.5
- canvas outpaint w/ sdxl
- canvas outpaint w/ sdxl + refiner
2024-03-01 10:42:33 +11:00
d60f1965d1
chore(ui): regen types
2024-03-01 10:42:33 +11:00
5d2f70b3ef
fix(ui): remove original l2i node in HRF graph
2024-03-01 10:42:33 +11:00
63ab5ff5a2
translationBot(ui): update translation (Russian)
...
Currently translated at 98.3% (1398 of 1422 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
9a8a9c5848
translationBot(ui): update translation (Italian)
...
Currently translated at 98.0% (1441 of 1470 strings)
Co-authored-by: Samantha Morello <tildsart@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
1a3ffb6e94
translationBot(ui): update translation (German)
...
Currently translated at 80.4% (1183 of 1470 strings)
Co-authored-by: Alexander Eichhorn <pfannkuchensack@einfach-doof.de >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-29 23:27:36 +11:00
2ec6b51d8b
translationBot(ui): update translation (Italian)
...
Currently translated at 97.2% (1430 of 1470 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-02-26 17:41:00 +11:00
34b0ea20dc
translationBot(ui): update translation (German)
...
Currently translated at 80.3% (1181 of 1470 strings)
translationBot(ui): update translation (German)
Currently translated at 80.1% (1178 of 1470 strings)
Co-authored-by: B N <berndnieschalk@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-26 17:41:00 +11:00
9986fce1a6
translationBot(ui): update translation (German)
...
Currently translated at 80.0% (1176 of 1470 strings)
Co-authored-by: Alexander Eichhorn <pfannkuchensack@einfach-doof.de >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-23 07:57:15 +11:00
228f1d7f62
translationBot(ui): update translation (Italian)
...
Currently translated at 95.6% (1406 of 1470 strings)
translationBot(ui): update translation (Italian)
Currently translated at 93.9% (1381 of 1470 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-02-23 07:57:15 +11:00
01a6378dc1
translationBot(ui): update translation (German)
...
Currently translated at 78.8% (1159 of 1470 strings)
Co-authored-by: B N <berndnieschalk@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-23 07:57:15 +11:00
e01769294f
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/
Translation: InvokeAI/Web UI
2024-02-20 22:33:03 +11:00
1dabf18d14
Merge branch 'main' into chainchompa/tooltip-popovers
2024-02-19 13:04:15 -05:00
115d92b1ae
updated copy
2024-02-19 12:50:35 -05:00
f0d4c71960
updated tooltip popovers
2024-02-19 12:50:11 -05:00
716b584f03
translationBot(ui): update translation (Italian)
...
Currently translated at 97.1% (1384 of 1424 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-02-19 08:18:33 +11:00
d43b843c23
translationBot(ui): update translation (German)
...
Currently translated at 80.2% (1143 of 1424 strings)
Co-authored-by: B N <berndnieschalk@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-02-18 01:47:01 +11:00
f36b5990ed
fix(ui): do not provide auth headers for openapi.json
2024-02-15 10:38:26 -05:00
d3acb81743
Merge branch 'main' into chainchompa/reorder-exposed-fields
2024-02-14 18:26:35 -05:00
e0f2404c00
added reset to default back in, removed unneeded activation constraints
2024-02-14 18:07:15 -05:00
5ed7972e5f
merge conflict
2024-02-14 17:28:59 -05:00
792131be01
added drag icon, added vertical strategy for smoother scrolling
2024-02-14 17:27:21 -05:00
d7f6af1f07
possible fix: seamless not being seamless with baked
2024-02-14 16:13:11 -05:00
ff9bd040cc
possible fix: Seamless not working with Custom VAE's
2024-02-14 16:13:11 -05:00
161000cde6
Merge branch 'main' into chainchompa/reorder-exposed-fields
2024-02-14 15:00:54 -05:00
de832f6862
formatting
2024-02-14 15:00:18 -05:00
21ba3c63de
cleanup
2024-02-14 14:52:48 -05:00
a948bd1310
refactored dndsortable to be its own component
2024-02-14 14:47:28 -05:00
2071972a8c
refactored to just use a new dnd context, got reordering working and fixed flicker
2024-02-14 14:20:08 -05:00