54e46faa54
fix(ui): restore missing galleryImageClicked reducer
2024-02-06 21:45:13 +11:00
183945077d
chore(ui): remove unused components
...
These have moved to the viewer components
2024-02-06 21:19:45 +11:00
0fea08df7d
tidy(ui): move viewerMode to uiSlice
...
Don't need a whole slice for this.
2024-02-06 21:15:24 +11:00
5fe40d228e
fix(ui): floating panel buttons have spinner when not processing
...
Fixes the symptoms of #5666 but doesn't address the underlying issue.
2024-02-06 20:52:34 +11:00
1c507d088a
fix(ui): do not show canvas progress in t2i/i2i
2024-02-06 20:52:34 +11:00
87893d29e9
feat(ui): simplified and working linear progress
2024-02-06 20:52:30 +11:00
5667465029
feat(ui): enable image toolbar buttons for latest received image
2024-02-06 20:52:30 +11:00
9021841a49
feat(ui): split out images from ViewerProgress, use IAIDndImage for the latest image
2024-02-06 20:52:30 +11:00
15703c8045
feat(ui): edge case batch id tracking
2024-02-06 20:52:29 +11:00
eb2bbf1609
fix(ui): fix progress bar state
2024-02-06 20:52:29 +11:00
aca953044e
feat(ui): move progress denylist to persistconfig
2024-02-06 20:52:29 +11:00
f5a0050a00
feat(ui): add fallbackSrc
to IAIDndImage, remove useThumbnailFallback
2024-02-06 20:52:29 +11:00
9e38558633
fix(ui): do not enable draggable when no data in IAIDndImage
2024-02-06 20:52:29 +11:00
93e589a738
feat(ui): split up ViewerToolbar
...
And fix disabled state for buttons
2024-02-06 20:52:29 +11:00
4f3dd6dbca
feat(ui): add useIsProcessing hook
2024-02-06 20:52:29 +11:00
643ef964ac
feat(ui): rotating hourglass progress icon
2024-02-06 20:52:29 +11:00
d8349ed42f
chore(ui): bump @invoke-ai/ui-library
2024-02-06 20:52:29 +11:00
53f2008893
feat(ui): progress toggle button displays spinner when in progress
2024-02-06 20:52:29 +11:00
60acd4e02f
feat(ui): switch from progress view to image view when gallery image clicked
2024-02-06 20:52:29 +11:00
82c471ec2a
fix(ui): move galleryImageClicked action to gallerySlice
...
It was causing a circular dependency
2024-02-06 20:52:29 +11:00
47d76f8033
refactor(ui): remove imageSelected
action, use only imageSelectionChanged
...
We had two actions to select images, only need the one.
2024-02-06 20:52:29 +11:00
b02e11d2b5
feat(ui): add progress slice and move progress to it
...
This slice tracks denoising progress for linear, canvas and workflow tabs.
`ViewerProgress` now uses it for showing progress images.
2024-02-06 20:52:29 +11:00
24d67c77e1
style(ui): update ImageMetadataViewer
2024-02-06 20:52:29 +11:00
b704941119
feat(ui): flesh out ViewerProgress
2024-02-06 20:52:29 +11:00
dd3b955b8a
feat(ui): flesh out ViewerInfo
2024-02-06 20:52:29 +11:00
7613ef3d30
chore(ui): lint
2024-02-06 20:52:29 +11:00
fba7f36038
feat(ui): flesh our ViewerImage
...
It displays the currently selected image.
2024-02-06 20:52:29 +11:00
2bfd4407ad
feat(ui): add more context to ViewerImageDropData
...
This is needed to disable the droppable when dragging the viewer's image itself - we don't want to allow dropping an image on the place it came from.
2024-02-06 20:52:29 +11:00
265ccab15f
fix(ui): IAIDndImage should not render IAIDroppable when no droppableData is supplied
2024-02-06 20:52:29 +11:00
ebf1f1bf6b
feat(ui): add dnd to viewer
...
This replaces the drop type `SET_CURRENT_IMAGE` with `SET_VIEWER_IMAGE`.
2024-02-06 20:52:29 +11:00
07ce7685b1
feat(ui): rough out viewer components
...
The toolbar is largely copied from `CurrentImageButtons.tsx`
2024-02-06 20:52:29 +11:00
521d91ea58
feat(ui): add viewer feature & slice
...
The viewer (main panel area on t2i/i2i tab) will now have 3 modes:
- Image
- Info
- Progress
This simplifies the logic for this part of the app and affords an improved progress image UX.
2024-02-06 20:52:29 +11:00
7521dff206
docs(ui): update STATE_MGMT.md
2024-02-06 20:52:29 +11:00
14472dc09d
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-05 11:16:38 +11:00
e8095b73ae
feat(ui): improve types for language picker
...
Makes it impossible to miss a language or typo.
2024-02-05 10:47:36 +11:00
c979cf5ecc
tidy(ui): remove language translation strings
...
There's no need to do things like translate Arabic into Finnish. We never use those strings. Remove these translations entirely.
2024-02-05 10:47:36 +11:00
1b4dbd283e
fix(ui): hardcode language picker languages
...
Hardcode the options in the dropdown, don't rely on translators to fill this in.
Also, add a number of missing languages (Azerbaijani, Finnish, Hungarian, Swedish, Turkish).
2024-02-05 10:47:36 +11:00
fb50a221f8
fix(ui): fix color input field alpha
...
Closes #5647
The alpha values in the UI are `0-1` but the backend wants `0-255`.
Previously, this was handled in `parseFIeldValue` when building the graph. In a recent release, field types were refactored and broke the alpha handling.
The logic for handling alpha values is moved into `ColorFieldInputComponent`, and `parseFieldValue` now just does no value transformations.
Though it would be a minor change, I'm leaving this function in because I don't want to change the rest of the logic except when necessary.
2024-02-05 09:28:20 +11:00
52e07db06b
Update communityNodes.md
...
added Autostereogram nodes
2024-02-05 09:26:41 +11:00
6643b5cec4
feat(ui): log trace when skipping reserved input field type
2024-02-05 09:24:46 +11:00
e8bf9ea058
fix(ui): do not swallow errors during schema parsing
...
Unknown errors were swallowed during schema parsing. Now they log a warning.
2024-02-05 09:24:46 +11:00
ce3d37e829
fix(ui): handle fields with single option literal
...
Closes #5616
Turns out the OpenAPI schema definition for a pydantic field with a `Literal` type annotation is different depending on the number of options.
When there is a single value (e.g. `Literal["foo"]`, this results in a `const` schema object. The schema parser didn't know how to handle this, and displayed a warning in the JS console.
This situation is now handled. When a `const` schema object is encountered, we interpret that as an `EnumField` with a single option.
I think this makes sense - if you had a truly constant value, you wouldn't make it a field, so a `const` must mean a dynamically generated enum that ended up with only a single option.
2024-02-05 09:15:09 +11:00
8a61063e84
translationBot(ui): update translation (Turkish)
...
Currently translated at 57.5% (825 of 1433 strings)
Co-authored-by: Ufuk Sarp Selçok <ilkel@live.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/tr/
Translation: InvokeAI/Web UI
2024-02-05 08:31:44 +11:00
87ff96553a
translationBot(ui): update translation files
...
Updated by "Remove blank strings" 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-05 08:31:44 +11:00
209bf105bc
translationBot(ui): update translation (Turkish)
...
Currently translated at 57.3% (822 of 1433 strings)
Co-authored-by: Ufuk Sarp Selçok <ilkel@live.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/tr/
Translation: InvokeAI/Web UI
2024-02-05 08:31:44 +11:00
804dbeba34
translationBot(ui): update translation files
...
Updated by "Remove blank strings" 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-05 08:31:44 +11:00
067cd4dc2e
translationBot(ui): update translation (Turkish)
...
Currently translated at 40.6% (582 of 1433 strings)
translationBot(ui): update translation (Turkish)
Currently translated at 38.8% (557 of 1433 strings)
Co-authored-by: Ufuk Sarp Selçok <ilkel@live.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/tr/
Translation: InvokeAI/Web UI
2024-02-05 08:31:44 +11:00
feb4a3f242
translationBot(ui): update translation (Azerbaijani)
...
Currently translated at 0.1% (1 of 1433 strings)
translationBot(ui): added translation (Azerbaijani)
Co-authored-by: Mehrab Poladov <thepoladov@protonmail.com >
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/az/
Translation: InvokeAI/Web UI
2024-02-05 08:31:44 +11:00
4a886c0a4a
Minor dep updates
2024-02-04 13:04:36 -05:00
8e500283b6
Fix broken import in checkpoint_convert ( #5635 )
...
* Fix broken import in checkpoint_convert
* simplify the fix
---------
Co-authored-by: Lincoln Stein <lstein@gmail.com >
2024-02-04 12:56:51 +00:00