chainchompa
a2f49ef7c1
cleanup esrgan frontend code
2024-07-23 10:22:38 -04:00
chainchompa
c098edc6b2
updated simple upscale to use spandrel node and list of available spandrel models
2024-07-23 10:15:31 -04:00
chainchompa
bc1d9748ce
updated upscale warning to work for simple upscale
2024-07-23 10:04:31 -04:00
psychedelicious
154e8f6e78
chore(ui): lint
2024-07-23 15:42:16 +10:00
psychedelicious
2d31b82e60
feat(ui): tweak layout for warning message
2024-07-23 15:42:16 +10:00
psychedelicious
8f934747f3
feat(ui): updated upscale tab warnings
2024-07-23 15:42:16 +10:00
psychedelicious
4352341a00
feat(ui): starter models filter matches spandrel models to "upscale" search term
2024-07-23 15:42:16 +10:00
psychedelicious
d7e0ec52ff
feat(ui): make model install tab controlled
...
This lets us navigate directly to eg the Starter Models tab
2024-07-23 15:42:16 +10:00
psychedelicious
1072b74c0e
fix(ui): edge cases in starter models search
2024-07-23 15:42:16 +10:00
psychedelicious
46dc8c6641
chore(ui): lint
2024-07-23 15:42:16 +10:00
psychedelicious
a8bc6ab5b1
fix(ui): typos
2024-07-23 15:42:16 +10:00
Kent Keirsey
bd91bd4a84
Math Updates
2024-07-23 15:42:16 +10:00
psychedelicious
8756a6b8c3
fix(ui): remove sharpness param
2024-07-23 10:55:54 +10:00
psychedelicious
2e0cebb571
fix(ui): bug where viewer would disappear on upscaling tab
2024-07-23 10:55:54 +10:00
psychedelicious
c3a8184431
feat(ui): add number input to scale slider
2024-07-23 10:55:54 +10:00
psychedelicious
ffa39d74b3
feat(ui): remove first unsharp from upscale graph
2024-07-23 10:55:54 +10:00
psychedelicious
f9d3966ea2
feat(ui): add scale param to upscaling tab
2024-07-23 10:55:54 +10:00
psychedelicious
7cee4e42a7
feat(ui): add addEdgeToMetadata graph helper
2024-07-23 10:55:54 +10:00
psychedelicious
071c7c7c7e
chore(ui): typegen
2024-07-23 10:55:54 +10:00
psychedelicious
818045f678
tidy(ui): use × instead of translation string
2024-07-23 10:55:54 +10:00
psychedelicious
7edefbefff
feat(ui): add translation for upscaling tab
2024-07-23 10:55:54 +10:00
Mary Hipp
13f3560e55
more lint fixes
2024-07-23 10:55:54 +10:00
Mary Hipp
c4bd60e00f
knip fix
2024-07-23 10:55:54 +10:00
Mary Hipp
54eda9163c
remove tiledVAE option and make it true
2024-07-23 10:55:54 +10:00
Mary Hipp
582f384fff
lint fix
2024-07-23 10:55:54 +10:00
Mary Hipp
a43211e650
math updates for controlnet tiles
2024-07-23 10:55:54 +10:00
Mary Hipp
6cb0581b0d
add description to upscale model dropdown tooltip
2024-07-23 10:55:54 +10:00
Mary Hipp
845d77916e
lint fix
2024-07-23 10:55:54 +10:00
Mary Hipp
f18431a999
use fn to get width/height of output image
2024-07-23 10:55:54 +10:00
Mary Hipp
5060bf2f62
lint fix
2024-07-23 10:55:54 +10:00
Mary Hipp
7854d913b2
add upscaling data to metadata
2024-07-23 10:55:54 +10:00
Mary Hipp
890a3ce32a
add limited metadata
2024-07-23 10:55:54 +10:00
Mary Hipp
fb4b3f3350
fix creativity/sharpness/structure scales, move where loras are added, get scale const working
2024-07-23 10:55:54 +10:00
Mary Hipp
d166b08b6a
restore scale but hardcode it to 2 regardless of upscale model
2024-07-23 10:55:54 +10:00
psychedelicious
5266e9e682
fix(ui): remove unused scale param
2024-07-23 10:55:54 +10:00
psychedelicious
d0265e21b0
fix(ui): use spandrel node for upscaling
2024-07-23 10:55:54 +10:00
psychedelicious
3126e8e49a
chore(ui): typegen
2024-07-23 10:55:54 +10:00
Mary Hipp
9e3412d776
translations and lint fix
2024-07-23 10:55:54 +10:00
Mary Hipp
4a09cc57be
use the tile conttrolnet in graph instad of marys hardcoded key
2024-07-23 10:55:54 +10:00
Mary Hipp
5ab36e0433
add warning if no upscale model or no tile controlnet for base model
2024-07-23 10:55:54 +10:00
Mary Hipp
d2bf3629bf
base scale off of upscale model selected
2024-07-23 10:55:54 +10:00
Mary Hipp
d9b217d908
hook up sharpness, structure, and creativity
2024-07-23 10:55:54 +10:00
Mary Hipp
2847f1b5ac
add vae toggle, lint fix
2024-07-23 10:55:54 +10:00
Mary Hipp
bc30850f3a
hardcode marys tile cnet key
2024-07-23 10:55:54 +10:00
Mary Hipp
7668dc68a0
cleanup, add loras
2024-07-23 10:55:54 +10:00
Mary Hipp
ea449f5a0a
upscale graph built, no multidiffusion yet
2024-07-23 10:55:54 +10:00
Mary Hipp
5a1ed99ca1
restore adhoc upscale button
2024-07-23 10:55:54 +10:00
Mary Hipp
3a2707ac02
disable invoke button properly for upscaling tab
2024-07-23 10:55:54 +10:00
Mary Hipp
ce5b1103ed
add send to upscale to context menu
2024-07-23 10:55:54 +10:00
Mary Hipp
fd91b83d86
build out the rest of the accordions
2024-07-23 10:55:54 +10:00
Mary Hipp
a0a54348e8
removed upscale button, created spandrel model dropdown, created upscale initial image that works with dnd
2024-07-23 10:55:54 +10:00
Mary Hipp
43b3e242b0
tidy(ui): refactor parameters panel components to be 1:1 with tabs
2024-07-23 10:55:54 +10:00
chainchompa
e92af52fb8
fix moving items to uncategorized updating
2024-07-22 16:11:36 -04:00
chainchompa
339dddd018
update uncategorized board totals when deleting and moving images
2024-07-22 16:03:01 -04:00
Ryan Dick
81991e072b
Merge branch 'main' into ryan/spandrel-upscale
2024-07-16 15:14:08 -04:00
psychedelicious
24bf1ea65a
fix(ui): boards cut off when search open
2024-07-15 14:07:20 +10:00
Riccardo Giovanetti
8539c601e6
translationBot(ui): update translation (Italian)
...
Currently translated at 98.4% (1262 of 1282 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-07-15 11:54:45 +10:00
psychedelicious
5cbe9fafb2
fix(ui): clear selection when deleting last image in board
2024-07-15 08:57:13 +10:00
Riccardo Giovanetti
84f136e737
translationBot(ui): update translation (Italian)
...
Currently translated at 98.4% (1262 of 1282 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-07-13 08:38:22 +10:00
psychedelicious
fb1130c644
fix(ui): do not invalidate image dto cache when deleting image
2024-07-12 14:25:38 +10:00
psychedelicious
0f65a12cf3
fix(ui): handle archived boards like other boards when they are visible, do not reset board selection when autoadd board is hidden
2024-07-12 14:25:38 +10:00
psychedelicious
84abdc5780
fix(ui): prevent cutoff of last board
2024-07-12 14:25:38 +10:00
Alexander Eichhorn
5795617f86
translationBot(ui): update translation (German)
...
Currently translated at 67.0% (859 of 1282 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-07-11 19:23:28 +10:00
Nathan
b533bc072e
translationBot(ui): update translation (French)
...
Currently translated at 25.2% (322 of 1275 strings)
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/fr/
Translation: InvokeAI/Web UI
2024-07-11 19:23:28 +10:00
Васянатор
d7199c7ca6
translationBot(ui): update translation (Russian)
...
Currently translated at 100.0% (1282 of 1282 strings)
translationBot(ui): update translation (Russian)
Currently translated at 100.0% (1280 of 1280 strings)
translationBot(ui): update translation (Russian)
Currently translated at 100.0% (1275 of 1275 strings)
translationBot(ui): update translation (Russian)
Currently translated at 100.0% (1273 of 1273 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-07-11 19:23:28 +10:00
Riccardo Giovanetti
a69284367b
translationBot(ui): update translation (Italian)
...
Currently translated at 98.2% (1260 of 1282 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1260 of 1280 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1255 of 1275 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1253 of 1273 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.4% (1245 of 1265 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-07-11 19:23:28 +10:00
Phrixus2023
c4d2fe9c65
translationBot(ui): update translation (Chinese (Simplified))
...
Currently translated at 76.5% (968 of 1265 strings)
Co-authored-by: Phrixus2023 <920414016@qq.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hans/
Translation: InvokeAI/Web UI
2024-07-11 19:23:28 +10:00
Hosted Weblate
fe0d56de5c
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-07-11 19:23:28 +10:00
HAL
7aec5624f7
translationBot(ui): update translation (Japanese)
...
Currently translated at 50.4% (636 of 1261 strings)
Co-authored-by: HAL <HALQME@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ja/
Translation: InvokeAI/Web UI
2024-07-11 19:23:28 +10:00
B N
2f3ec41f94
translationBot(ui): update translation (German)
...
Currently translated at 67.3% (849 of 1261 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-07-11 19:23:28 +10:00
psychedelicious
88c3a71586
fix(ui): fix bug with usePanel
2024-07-10 04:27:24 -07:00
psychedelicious
ec1b429d45
feat(ui): add divider between board search and list
2024-07-10 04:27:24 -07:00
psychedelicious
146e3a3377
feat(ui): tweak board tooltip behaviour
2024-07-10 04:27:24 -07:00
psychedelicious
38622b0d91
feat(ui): board list title verbiage
2024-07-10 04:27:24 -07:00
psychedelicious
7db767b7c3
feat(ui): sticky board list header
2024-07-10 04:27:24 -07:00
psychedelicious
b70e87f25b
feat(ui): tweak add board button style
2024-07-10 04:27:24 -07:00
psychedelicious
fea1ec9085
feat(ui): updated boards resizable panel logic
2024-07-10 04:27:24 -07:00
psychedelicious
2e7a95998c
feat(ui): add support for default size in usePanel
2024-07-10 04:27:24 -07:00
psychedelicious
788f90a7d5
feat(ui): tweak resizehandle styling
2024-07-10 04:27:24 -07:00
psychedelicious
6bf29b20af
fix(ui): fix edge case in panels
...
Not sure why I didn't figure out how to do this before - we only should reset a panel if it's too small.
2024-07-10 04:27:24 -07:00
psychedelicious
8f0edcd4f4
fix(ui): edge cases when deleting, archiving, updating boards
...
Need to handle different cases where the selected or auto-add board is hidden - fall back to uncategorized in these situations.
2024-07-10 04:27:24 -07:00
psychedelicious
a7c44b4a98
feat(ui): rename gallery boards on double click
2024-07-10 04:27:24 -07:00
psychedelicious
48a57f0da8
feat(ui): boards styling
...
- Refine layout
- Update colors - more minimal, fewer shaded boxes
- Add indicator for search icons showing a search term is entered
- Handle new `projectName` and `projectUrl` ui props
2024-07-10 04:27:24 -07:00
psychedelicious
dfd94bbd0b
feat(ui): remove galleryHeader in favor of projectUrl & projectName
2024-07-10 04:27:24 -07:00
chainchompa
2edfb2356d
remove extra boardname
2024-07-10 04:27:24 -07:00
chainchompa
58d2c1557d
prettier
2024-07-10 04:27:24 -07:00
chainchompa
8fdff33cf8
update board header styling, toggle board search, resizing gallery panels
2024-07-10 04:27:24 -07:00
chainchompa
a96e34d2d1
remove collapsibles and update board title
2024-07-10 04:27:24 -07:00
chainchompa
8826adad24
filter out uncategorized when not included in search
2024-07-10 04:27:24 -07:00
chainchompa
cdacf2ecd0
clear out boards search when adding a new board
2024-07-10 04:27:24 -07:00
chainchompa
f193a576a6
move boardname back and make collapsible again
2024-07-10 04:27:24 -07:00
chainchompa
b7ebdca70a
update image and assets tabs styling
2024-07-10 04:27:24 -07:00
Ryan Dick
7b5d4935b4
Merge branch 'main' into ryan/spandrel-upscale
2024-07-09 13:47:11 -04:00
psychedelicious
476ebd13ae
feat(ui): add board button tooltip when private boards enabled
2024-07-09 22:51:08 +10:00
psychedelicious
2460689c00
feat(ui): style board name
2024-07-09 22:47:03 +10:00
psychedelicious
781b800ef7
feat(ui): boards lists start collapsed
2024-07-09 22:40:50 +10:00
psychedelicious
d38d513d23
fix(ui): autoadd badge doesn't flex shrink
2024-07-09 22:39:32 +10:00
psychedelicious
80e1b87b9e
fix(ui): autoadd badge hides when editing name
2024-07-09 22:39:17 +10:00
psychedelicious
6014382c7b
feat(ui): select a board when it is created
2024-07-09 22:37:41 +10:00
psychedelicious
060d698a12
feat(ui): restore image count for boards
2024-07-09 22:19:20 +10:00
psychedelicious
637802d803
fix(ui): restore auto-add indicator
2024-07-09 22:14:21 +10:00
psychedelicious
2faf1e2ed3
fix(ui): show uncategorized board when private boards disabled
2024-07-09 22:02:54 +10:00
psychedelicious
81cf47dd99
feat(ui): boards list layout & style tweaking
2024-07-09 21:58:48 +10:00
chainchompa
907b257984
remove unused file and addressed pr feedback
2024-07-08 23:20:50 -04:00
chainchompa
e2667f957c
prettier
2024-07-08 22:16:31 -04:00
chainchompa
40c3b5e727
generate types again
2024-07-08 22:13:12 -04:00
chainchompa
38c5804457
remove unused disclosure
2024-07-08 22:09:23 -04:00
chainchompa
faf65c988a
Merge branch 'main' into boards-ui-update
2024-07-08 22:06:26 -04:00
chainchompa
1785825690
add current gallery board name
2024-07-08 22:03:42 -04:00
chainchompa
0e092c0fb5
update is_private name
2024-07-08 22:03:12 -04:00
chainchompa
79a7b11214
remove old boards list
2024-07-08 15:02:22 -04:00
chainchompa
3a85ab15a1
update BoardRecord
2024-07-08 14:55:04 -04:00
chainchompa
9ca6980c7a
cleanup and bug fixes
2024-07-08 13:29:53 -04:00
Ryan Dick
d09999736c
Rename spandrel models to 'Image-to-Image Model' throughout the UI.
2024-07-05 14:04:08 -04:00
Ryan Dick
9d3739244f
Prettier formatting.
2024-07-03 16:28:21 -04:00
Ryan Dick
534528b85a
Re-generate schema.ts
2024-07-03 16:28:21 -04:00
Ryan Dick
9328c17ded
Add Spandrel models to the list of models in the Model Manager tab.
2024-07-03 16:28:21 -04:00
Ryan Dick
c1c8e55e8e
Fix static check errors.
2024-07-03 16:28:21 -04:00
Ryan Dick
29c8ddfb88
WIP - A bunch of boilerplate to support Spandrel Image-to-Image models throughout the model manager and the frontend.
2024-07-03 16:28:21 -04:00
chainchompa
6437ef3f82
add view that displays private boards with shared boards
2024-07-03 14:25:36 -04:00
Mary Hipp
e719018ba1
fix sort order
2024-07-03 09:20:08 -07:00
psychedelicious
7c01b69c12
fix(ui): revise image selection after deletion
...
- For single image deletion, select the image in the same slot as the deleted image
- For multiple image deletion, empty selection
- On list images, if no images are currently selected, select the first image
2024-07-03 13:20:40 +10:00
psychedelicious
5578660ccb
fix(ui): reset page when search term changes
2024-07-03 13:20:40 +10:00
psychedelicious
4075a81676
feat(ui): gallery image selection ux
...
The selection logic is a bit complicated. We have image selection and pagination, both of which can be triggered using the mouse or hotkeys. We have viewer image selection and comparison image selection, which is determined by the alt key.
This change ties the room together with these behaviours:
- Changing the page using pagination buttons never changes the selection.
- Changing the selected image using arrows may change the page, if the arrow key pressed would select an image off the current page.
- `right` on the last image of the current page goes to the next page
- `down` on the last row of images goes to the next page
- `left` on the first image of the current page goes to the previous page
- `up` on the first row of images goes to the previous page
- If `alt` is held when using arrow keys, we change the page, but we only change the comparison image selection.
- When using arrow keys, if the page has changed since the last image was selected, the selection is reset to the first image on the page.
- The next/previous buttons on the image viewer do the same thing as `left` and `right` without `alt`.
- When clicking an image in the gallery:
- If no modifier keys are held, the image is exclusively selected.
- If `ctrl` or `meta` are held, the image's selection status is toggled.
- If `shift` is held, all images from the last-selected image to the image are selected. If there are no images on the current page, the selection is unchanged.
- If `alt` is held, the image is set as the compare image.
- `ctrl+a` and `meta+a` add the current page to the selection.
The logic for gallery navigation and selection is now pretty hairy. It's spread across 3 hooks, a listener, redux slice, components.
When we next make changes to this part of the app, we should consider consolidating some of the related logic. Probably most of it can go into a single listener and make it much simpler to grok.
2024-07-02 13:52:32 +10:00
psychedelicious
4d39976909
feat(ui): restore loading spinner in search box
...
@maryhipp you were right, after trying loading bars and different placements, this feels like the best place for it.
2024-07-02 13:52:32 +10:00
Mary Hipp
d14894b3ae
(ui) clarify auto-add options
2024-07-02 06:44:09 +10:00
Mary Hipp
6f5c5b0757
lint fix
2024-07-01 15:36:06 -04:00
Mary Hipp
93caa23ef8
undo
2024-07-01 15:36:06 -04:00
Mary Hipp
977a77f4e6
fix(ui): dont mess up redux if 403 gets thrown
2024-07-01 15:36:06 -04:00
Mary Hipp
57c0fcb93d
(ui) clarify auto-add options
2024-07-01 15:36:06 -04:00
psychedelicious
b1cc413bbd
tidy(ui): remove search term fetching indicator
...
Don't like this UI (even though I suggested it). No need to prevent the user from interacting with the search term field during fetching. Let's figure out a nicer way to present this in a followup.
2024-07-01 20:06:28 +10:00
psychedelicious
face94ce33
feat(ui): tweak search term placeholder verbiage
2024-07-01 20:06:28 +10:00
psychedelicious
f0b1f0e5b6
feat(ui): pass search term as-is to query
...
The images service does not add the query filter if the search term is an empty string.
2024-07-01 20:06:28 +10:00
Mary Hipp
20d5c3a8bf
(ui): improve loader/fetching state while searching, make search term a string in redux
2024-07-01 20:06:28 +10:00
Mary Hipp
da05034e20
feat(ui): debounced gallery search
2024-07-01 20:06:28 +10:00
psychedelicious
10076fb1e8
feat(ui): tweak gallery settings popover divider styling
2024-06-28 18:01:01 +10:00
psychedelicious
d6e85e5f67
tidy(ui): rename GalleryBulkSelect -> GallerySelectionCountTag
2024-06-28 18:01:01 +10:00
psychedelicious
1ce459198c
chore(ui): knip
2024-06-28 18:01:01 +10:00
psychedelicious
17d337169d
fix(ui): do not reset limit when changing gallery view
2024-06-28 18:01:01 +10:00
psychedelicious
1468f4d37e
perf(ui): split out gallery settings popover components
...
This was taking over 15ms (!) to render each time a setting changed, wtf
2024-06-28 18:01:01 +10:00
psychedelicious
2b744480d6
feat(ui): update UI for sorting
2024-06-28 18:01:01 +10:00
psychedelicious
abb8d34b56
chore(ui): typegen
2024-06-28 18:01:01 +10:00
Mary Hipp
6109a06f04
feat(ui): gallery sort by created at or starred, asc or desc
2024-06-28 18:01:01 +10:00
psychedelicious
0d4b80780b
feat(ui): handle edge cases when archiving/deleting boards
...
If the currently selected or auto-add board is archived or deleted, we should reset them. There are some edge cases taht weren't handled in the previous implementation.
All handling of this logic is moved to the (renamed) listener.
2024-06-28 10:36:05 +10:00
psychedelicious
15b9ece411
chore(ui): typegen
2024-06-28 10:36:05 +10:00
Mary Hipp
b5f23292d4
lint fix
2024-06-28 10:36:05 +10:00
Mary Hipp
740bf80f3e
(ui): update query param to include_archived, fix cache when archiving boards
2024-06-28 10:36:05 +10:00
Mary Hipp
dc90de600d
(ui) allow auto-add on archived boards, reset to uncategorized if auto-add board is not currently visible due to archived view
2024-06-28 10:36:05 +10:00
psychedelicious
5709f82e5f
feat(ui): separate context menu for no board board
...
Much easier to not need to handle the board being optional in the component.
2024-06-28 10:36:05 +10:00
psychedelicious
20042d99ec
tidy(ui): archived icon component
2024-06-28 10:36:05 +10:00
Mary Hipp
8fce168dc5
fix tsc errors
2024-06-28 10:36:05 +10:00
Mary Hipp
29eb3c8b62
lint fix
2024-06-28 10:36:05 +10:00
Mary Hipp
071e8bcee4
feat(ui): make archiving and auto-add mutually exclusive
2024-06-28 10:36:05 +10:00
Mary Hipp
68c0aa898f
feat(ui): add ability to archive/unarchive boards, add toggle to gallery settings to show/hide archived boards in list
2024-06-28 10:36:05 +10:00
psychedelicious
a0a0c57789
chore(ui): knip
2024-06-27 13:48:40 +10:00
psychedelicious
32ebf82d1a
feat(ui): better pagination buttons
2024-06-27 13:48:40 +10:00
psychedelicious
2dd172c2c6
feat(ui): gallery bulk select styling
2024-06-27 13:48:40 +10:00
psychedelicious
280ec9d4b3
fix(ui): invalidate getImageDTO caches when images are mutated
2024-06-27 13:48:40 +10:00
psychedelicious
fde8fc7575
perf(ui): optimistic updates for getImageDTO query cache
2024-06-27 13:48:40 +10:00
psychedelicious
6dcdc87eb1
fix(ui): control adapter image preview
2024-06-27 13:48:40 +10:00
Mary Hipp
93ffcb642e
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
4c914ef2e8
use correct query params for boardIdSelected listener
2024-06-27 13:48:40 +10:00
Mary Hipp
c0ad5bc4a4
fix when deleting first image in list
2024-06-27 13:48:40 +10:00
Mary Hipp
8c58a180de
GG another fix
2024-06-27 13:48:40 +10:00
Mary Hipp
715dd983b0
appease the knip
2024-06-27 13:48:40 +10:00
Mary Hipp
84ffd36071
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
9f30f1bfec
fix circular dep
2024-06-27 13:48:40 +10:00
Mary Hipp
bdff5c4e87
only show selected when greater than 0
2024-06-27 13:48:40 +10:00
Mary Hipp
afb0651f91
clear selection when board or gallery view changes
2024-06-27 13:48:40 +10:00
Mary Hipp
66e25628c3
fix neg pages
2024-06-27 13:48:40 +10:00
Mary Hipp
3a531a3c88
remove rest of cache, add bulk select UI
2024-06-27 13:48:40 +10:00
Mary Hipp
f01df49128
lint fix
2024-06-27 13:48:40 +10:00
Mary Hipp
7bbe236107
implmenet custom sort to replace images adapter logic
2024-06-27 13:48:40 +10:00
psychedelicious
719c066ac4
feat(ui): more efficient board totals fetching
...
We only need to show the totals in the tooltip. Tooltips accpet a component for the tooltip label. The component isn't rendered until the tooltip is triggered.
Move the board total fetching into a tooltip component for the boards. Now we only fire these requests when the user mouses over the board
2024-06-27 13:48:40 +10:00
psychedelicious
689dc30f87
feat(ui): tweak pagination buttons
...
- Fix off-by-one error when going to last page
- Update component to have minimal/no layout shift
2024-06-27 13:48:40 +10:00
psychedelicious
1f22f6ae02
feat(ui): iterate on dynamic gallery limit
...
- Simplify the gallery layout
- Set an initial gallery limit to load _some_ images immediately.
- Refactor the resize observer to use the actual rendered image component to calculate the number of images per row/col. This prevents inaccuracies caused by image padding that could result in the wrong number of images.
- Debounce the limit update to not thrash teh API
- Use absolute positioning trick to ensure the gallery container is always exactly the right size
- Minimum of `imagesPerRow` images loaded at all times
2024-06-27 13:48:40 +10:00
psychedelicious
9c931d9ca0
fix(ui): gallery content overflow
...
This is one of those unexpected CSS quirks. Flex containers need min-width or min-height for their children to not overflow. Add `minH={0}` to gallery container.
2024-06-27 13:48:40 +10:00
Mary Hipp
e0a241fa4f
wip change limit based on size of gallery
2024-06-27 13:48:40 +10:00
Mary Hipp
6a4b4ee340
trying to invalidate all the tags
2024-06-27 13:48:40 +10:00
Mary Hipp
488bf21925
fix single pagers
2024-06-27 13:48:40 +10:00
Mary Hipp
c9c39c02b6
handle generations coming in, fix pagination to use total from list query so it updates as that changes
2024-06-27 13:48:40 +10:00
Mary Hipp
5101dc4bef
some cleanup, add page buttons
2024-06-27 13:48:40 +10:00
Mary Hipp
98c77a3ed1
pull in spencers work
2024-06-27 13:48:40 +10:00
psychedelicious
f002bca2fa
feat(ui): handle new model_install_download_started
event
...
When a model install is initiated from outside the client, we now trigger the model manager tab's model install list to update.
- Handle new `model_install_download_started` event
- Handle `model_install_download_complete` event (this event is not new but was never handled)
- Update optimistic updates/cache invalidation logic to efficiently update the model install list
2024-06-17 10:07:10 +10:00
psychedelicious
56771de856
feat(ui): add redux actions for model_install_download_started
event
2024-06-17 09:52:46 +10:00
psychedelicious
c11478a94a
chore(ui): typegen
2024-06-17 09:51:18 +10:00
psychedelicious
1bc98abc76
docs(ui): explain model install events
2024-06-17 09:33:46 +10:00
chainchompa
328f160e88
refetch model installs when a new model install starts
2024-06-14 17:09:07 -04:00
psychedelicious
6d067e56f2
fix(ui): on page load, if CA processed image no longer exists, re-process it
2024-06-07 10:32:28 +10:00
psychedelicious
1c5c3cdbd6
tidy(ui): organize control layers konva logic
...
- More comments, docstrings
- Move things into saner, less-coupled locations
2024-06-06 07:45:13 +10:00
psychedelicious
3db69af220
refactor(ui): generalize stage event handlers
...
Create intermediary nanostores for values required by the event handlers. This allows the event handlers to be purely imperative, with no reactivity: instead of recreating/setting the handlers when a dependent piece of state changes, we use nanostores' imperative API to access dependent state.
For example, some handlers depend on brush size. If we used the standard declarative `useSelector` API, we'd need to recreate the event handler callback each time the brush size changed. This can be costly.
An intermediate `$brushSize` nanostore is set in a `useLayoutEffect()`, which responds to changes to the redux store. Then, in the event handler, we use the imperative API to access the brush size: `$brushSize.get()`.
This change allows the event handler logic to be shared with the pending canvas v2, and also more easily tested. It's a noticeable perf improvement, too, especially when changing brush size.
2024-06-06 07:45:13 +10:00
psychedelicious
1823e446ac
fix(ui): conditionally render CL preview
...
This fixes an issue where it sometimes gets out of sync, and fixes some konva errors.
2024-06-06 07:45:13 +10:00
psychedelicious
311e44ad19
tidy(ui): clean up control layers renderers, docstrings
2024-06-06 07:45:13 +10:00
jstnlowe
848ca79da8
Changed translated labels to static suffixes, cleanup.
2024-06-05 14:45:43 +10:00
jstnlowe
9cba0dfac9
Providing fileName string directly to DataViewer as suggested
2024-06-05 14:45:43 +10:00
jstnlowe
37b1f21bcf
... and the workflow
2024-06-05 14:45:43 +10:00
jstnlowe
b2e005f6b5
Just realized we might want the same change made for the Graph JSON
2024-06-05 14:45:43 +10:00
jstnlowe
52aac954c0
Prefixed JSON filenames with the image UUID #6469
2024-06-05 14:45:43 +10:00
hugoalh
669d92d8db
translationBot(ui): update translation (Chinese (Traditional))
...
Currently translated at 14.1% (179 of 1261 strings)
Co-authored-by: hugoalh <hugoalh@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/zh_Hant/
Translation: InvokeAI/Web UI
2024-06-05 00:08:03 +10:00
Ettore Atalan
2903060154
translationBot(ui): update translation (German)
...
Currently translated at 67.0% (834 of 1243 strings)
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-06-05 00:08:03 +10:00
gallegonovato
4af8699a00
translationBot(ui): update translation (Spanish)
...
Currently translated at 34.3% (427 of 1243 strings)
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/es/
Translation: InvokeAI/Web UI
2024-06-05 00:08:03 +10:00
Bruno Castillejo
71fedd1a07
translationBot(ui): update translation (Spanish)
...
Currently translated at 34.3% (427 of 1243 strings)
Co-authored-by: Bruno Castillejo <soybrunocastillejo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/es/
Translation: InvokeAI/Web UI
2024-06-05 00:08:03 +10:00
Riccardo Giovanetti
6bb1189c88
translationBot(ui): update translation (Italian)
...
Currently translated at 98.5% (1243 of 1261 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.5% (1243 of 1261 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.5% (1225 of 1243 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.5% (1225 of 1243 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-06-05 00:08:03 +10:00
Васянатор
c7546bc82e
translationBot(ui): update translation (Russian)
...
Currently translated at 100.0% (1261 of 1261 strings)
translationBot(ui): update translation (Russian)
Currently translated at 100.0% (1243 of 1243 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-06-05 00:08:03 +10:00
psychedelicious
64523c4b1b
fix(ui): handle concat when recalling prompts
...
This required some minor reworking of of the logic to recall multiple items. I split this into a utility function that includes some special handling for concat.
Closes #6478
2024-06-04 06:01:01 +10:00
psychedelicious
89a764a359
fix(ui): improve model metadata parsing fallback
...
When the model in metadata's key no longer exists, fall back to fetching by name, base and type. This was the intention all along but the logic was never put in place.
2024-06-04 06:01:01 +10:00
psychedelicious
6b24424727
feat(ui): add help icon to compare toolbar
2024-06-02 15:30:00 +10:00
psychedelicious
7153d846a9
feat(ui): add hotkey to cycle compare modes
2024-06-02 15:30:00 +10:00
psychedelicious
9a0b77ad38
feat(ui): add hotkey to swap comparison images
2024-06-02 15:30:00 +10:00
psychedelicious
220d45967e
fix(ui): typo
2024-06-02 15:30:00 +10:00
psychedelicious
038a482ef0
feat(ui): rework visibility conditions for image viewer
2024-06-02 15:30:00 +10:00
psychedelicious
c325ad3432
feat(ui): add hotkey hint to exit compare button
2024-06-02 15:30:00 +10:00
psychedelicious
449bc4dbe5
feat(ui): abstract out and share logic between comparisons
2024-06-02 15:30:00 +10:00
psychedelicious
34d68a3663
feat(ui): hover comparison mode
2024-06-02 15:30:00 +10:00
psychedelicious
8bb9571485
feat(ui): tweak slider divider styling
2024-06-02 15:30:00 +10:00
psychedelicious
08bcc71e99
fix(ui): workflows fit on load
2024-06-02 15:30:00 +10:00
psychedelicious
ff2b2fad83
feat(ui): revise drop zones
...
The main viewer area has two drop zones:
- Select for Viewer
- Select for Compare
These do what you'd imagine they would do.
2024-06-02 15:30:00 +10:00
psychedelicious
0f0a6852f1
fix(ui): make compare image scale with first image when using contain fit
2024-06-02 15:30:00 +10:00
psychedelicious
745140fa6b
feat(ui): "first image"/"second image" -> "viewer image"/"compare image"
2024-06-02 15:30:00 +10:00
psychedelicious
405fc46888
feat(ui): z/esc first exit compare before closing viewer
2024-06-02 15:30:00 +10:00
psychedelicious
ca728ca29f
fix(ui): ignore context menu in slider view
...
It doesn't make sense to allow context menu here, because the context menu will technically be on a div and not an image - there won't be any image options there.
2024-06-02 15:30:00 +10:00
psychedelicious
d0fca53e67
fix(ui): only clear comparison image on alt click of gallery image
...
This logic can't e in the reducer else it applies to dnd events which isn't right
2024-06-02 15:30:00 +10:00
psychedelicious
ad9740d72d
feat(ui): alt-click comparison image exits compare
2024-06-02 15:30:00 +10:00
psychedelicious
1c9c982b63
feat(ui): use appropriate cursor on slider
2024-06-02 15:30:00 +10:00
psychedelicious
3cfd2755c2
fix(ui): when changing viewer state, always clear compare image
2024-06-02 15:30:00 +10:00
psychedelicious
8ea4067f83
feat(ui): rework compare toolbar
2024-06-02 15:30:00 +10:00
psychedelicious
940de6a5c5
fix(ui): allow drop of currently-selected image for compare
2024-06-02 15:30:00 +10:00
psychedelicious
dd74e89127
fix(ui): close context menu on click select for compare
2024-06-02 15:30:00 +10:00
psychedelicious
69da67e920
fix(ui): dnd on board
...
Copy-paste error broke this
2024-06-02 15:30:00 +10:00
psychedelicious
76b1f241d7
fix(ui): useGalleryNavigation callback typing issue
2024-06-02 15:30:00 +10:00
psychedelicious
0e5336d8fa
feat(ui): rework comparison activation, add hotkeys
2024-06-02 15:30:00 +10:00
psychedelicious
3501636018
feat(ui): add fill mode for slider comparison
2024-06-02 15:30:00 +10:00
psychedelicious
e4ce188500
feat(ui): image selection gallery state & tweaks
2024-06-02 15:30:00 +10:00
psychedelicious
e976571fba
build(ui): remove unused dep
2024-06-02 15:30:00 +10:00
psychedelicious
0da36c1238
feat(ui): use IAIDndImage for compare mode
2024-06-02 15:30:00 +10:00
psychedelicious
4ef8cbd9d0
fix(ui): use isValidDrop in imageDropped listener
...
It was possible for a drop event to be invalid but still processed. Fixed by slightly changing the signature of isValidDrop.
2024-06-02 15:30:00 +10:00
psychedelicious
8f8ddd620b
feat(ui): add comparison modes, side-by-side view
2024-06-02 15:30:00 +10:00
psychedelicious
1af53aed60
feat(ui): fix image comparison slider resizing/aspect ratio jank
2024-06-02 15:30:00 +10:00
psychedelicious
7a4bbd092e
feat(ui): revised image comparison slider
...
Should work for any components and image now.
2024-06-02 15:30:00 +10:00
psychedelicious
72bbcb2d94
feat(ui): slider working for all aspect ratios
2024-06-02 15:30:00 +10:00
psychedelicious
c2eef93476
feat(ui): wip slider implementations
2024-06-02 15:30:00 +10:00
psychedelicious
a983f27aad
fix(ui): update types
2024-05-30 12:03:38 +10:00
psychedelicious
7cb32d3d83
chore(ui): typegen
2024-05-30 12:03:38 +10:00
psychedelicious
5a4d10467b
feat(ui): use updated types
2024-05-30 12:03:38 +10:00
psychedelicious
7590f3005e
chore(ui): typegen
2024-05-30 12:03:03 +10:00
psychedelicious
843f82c837
fix(ui): remove overly strict constraints on control adapter weight
2024-05-29 19:01:28 -07:00
psychedelicious
5388f5a817
fix(ui): edit variant for main models only
...
Closes #6444
2024-05-27 11:02:00 +10:00
psychedelicious
27a3eb15f8
feat(ui): update event types
2024-05-27 10:17:02 +10:00
psychedelicious
4b2d57a5e0
chore(ui): typegen
...
Note about the huge diff: I had a different version of pydantic installed at some point, which slightly altered a _ton_ of schema components. This typegen was done on the correct version of pydantic and un-does those alterations, in addition to the intentional changes to event models.
2024-05-27 10:17:02 +10:00
psychedelicious
89dede7bad
feat(ui): simplify client sio redux actions
...
- Add a simple helper to create socket actions in a less error-prone way
- Organize and tidy sio files
2024-05-27 09:06:02 +10:00