psychedelicious
64908eda55
chore(ui): typegen
2024-03-01 10:42:33 +11:00
Stefan Tobler
9e296f6916
implementing download for bulk_download events
2024-03-01 10:42:33 +11:00
Stefan Tobler
ab94484c6c
setting up event listeners for bulk download socket
2024-03-01 10:42:33 +11:00
psychedelicious
8afe328af0
fix(ui): get workflow editor model selects working
2024-03-01 10:42:33 +11:00
psychedelicious
e771c5f467
fix(ui): get refiner model select working
2024-03-01 10:42:33 +11:00
psychedelicious
e7e3045a8a
fix(ui): get vae model select working
2024-03-01 10:42:33 +11:00
psychedelicious
f870f810d5
fix(ui): get embedding select working
2024-03-01 10:42:33 +11:00
psychedelicious
a793103d7a
fix(ui): get lora select working
2024-03-01 10:42:33 +11:00
psychedelicious
7e5a85496e
chore(ui): bump @invoke-ai/ui-library
2024-03-01 10:42:33 +11:00
psychedelicious
ca7e928710
fix(ui): fix low-hanging fruit types
2024-03-01 10:42:33 +11:00
psychedelicious
67daa127e3
chore(ui): typegen
2024-03-01 10:42:33 +11:00
psychedelicious
f1597bd6da
chore(ui): lint
2024-03-01 10:42:33 +11:00
psychedelicious
e50b76571a
feat(ui): fix main model & control adapter model selects
2024-03-01 10:42:33 +11:00
psychedelicious
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
psychedelicious
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
psychedelicious
b7ba65fef4
fix(ui): update model types
2024-03-01 10:42:33 +11:00
psychedelicious
fc107ed711
tests(ui): add type tests
2024-03-01 10:42:33 +11:00
psychedelicious
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
psychedelicious
7996d43af9
chore(ui): typegen
2024-03-01 10:42:33 +11:00
psychedelicious
fab30b5a11
feat(ui): export components type
2024-03-01 10:42:33 +11:00
psychedelicious
651ac56b2c
fix(ui): fix type issues
2024-03-01 10:42:33 +11:00
psychedelicious
68f53460f0
chore: lint
2024-03-01 10:42:33 +11:00
psychedelicious
95453a22b1
tests(ui): add parseFieldType.test.ts
2024-03-01 10:42:33 +11:00
psychedelicious
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
psychedelicious
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
psychedelicious
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
psychedelicious
5fbfed30ac
chore(ui): regen types
2024-03-01 10:42:33 +11:00
psychedelicious
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
psychedelicious
d60f1965d1
chore(ui): regen types
2024-03-01 10:42:33 +11:00
psychedelicious
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
Samantha Morello
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
Alexander Eichhorn
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
Riccardo Giovanetti
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
B N
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
Alexander Eichhorn
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
Riccardo Giovanetti
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
B N
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
Hosted Weblate
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
chainchompa
1dabf18d14
Merge branch 'main' into chainchompa/tooltip-popovers
2024-02-19 13:04:15 -05:00
Jennifer Player
115d92b1ae
updated copy
2024-02-19 12:50:35 -05:00
Jennifer Player
f0d4c71960
updated tooltip popovers
2024-02-19 12:50:11 -05:00
Riccardo Giovanetti
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
B N
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
psychedelicious
f36b5990ed
fix(ui): do not provide auth headers for openapi.json
2024-02-15 10:38:26 -05:00
chainchompa
d3acb81743
Merge branch 'main' into chainchompa/reorder-exposed-fields
2024-02-14 18:26:35 -05:00
Jennifer Player
e0f2404c00
added reset to default back in, removed unneeded activation constraints
2024-02-14 18:07:15 -05:00
Jennifer Player
5ed7972e5f
merge conflict
2024-02-14 17:28:59 -05:00
Jennifer Player
792131be01
added drag icon, added vertical strategy for smoother scrolling
2024-02-14 17:27:21 -05:00
blessedcoolant
d7f6af1f07
possible fix: seamless not being seamless with baked
2024-02-14 16:13:11 -05:00