blessedcoolant
1c2144794c
Merge branch 'main' into mm-ui
2023-07-13 13:58:22 +12:00
blessedcoolant
bc7c0f75a0
fix: Rename toggleBoundingBoxDimension to flipBoundingBoxAxes
2023-07-13 13:53:15 +12:00
blessedcoolant
b7a4f3c2cb
Merge branch 'main' into bbox-ar
2023-07-13 13:45:08 +12:00
blessedcoolant
2cfe67bf1f
Merge branch 'main' into save-load-nodes
2023-07-13 13:37:36 +12:00
blessedcoolant
71e34ac256
Merge branch 'main' into mm-ui
2023-07-13 12:48:43 +12:00
Mary Hipp Rogers
4a8172bcd0
disable features that are not supported yet or no longer supported ( #3739 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-07-12 13:03:39 -04:00
blessedcoolant
31bb4bfc61
style: Update Model Manager Styling to new format
2023-07-12 23:12:12 +12:00
blessedcoolant
3db1aa738c
feat: Restore Model Merge functionality
2023-07-12 22:43:06 +12:00
blessedcoolant
683229e285
fix: Update model convert toast message
2023-07-12 20:44:57 +12:00
blessedcoolant
2cedf6aed5
feat: Restore Model Convert Functionality
2023-07-12 20:40:58 +12:00
blessedcoolant
6238a53fdd
feat: Add basic form validation for path input
2023-07-12 20:11:05 +12:00
blessedcoolant
310e401b03
feat: Create basic IAIMantineTextInput component for form usage
2023-07-12 20:10:33 +12:00
blessedcoolant
3568e28b1c
fix: Type resolutions & Bug Fixes
...
- Fix checkpoint filter not working
- Resolve all typescript and undefined issues in Model Manager List / Edit Forms and main panel
2023-07-12 19:05:16 +12:00
blessedcoolant
5a6ad99d4e
feat: Restore Delete Model Functionality
2023-07-12 16:39:07 +12:00
blessedcoolant
afb46564e8
feat: Restore Update Model functionality
2023-07-12 16:13:49 +12:00
blessedcoolant
0282aa83c5
feat: Do not store edge styling data when saving a graph setup
2023-07-12 14:32:54 +12:00
blessedcoolant
84af35597d
fix: Update Load & Save Icons to FontAwesome
2023-07-12 13:58:14 +12:00
blessedcoolant
3b61a3abeb
Merge branch 'main' into save-load-nodes
2023-07-12 13:52:26 +12:00
blessedcoolant
222d8b05a6
fix: Update Sync icon to FontAwesom
2023-07-12 13:31:24 +12:00
blessedcoolant
cd11d08d74
feat: Update Reload Schema button
2023-07-12 13:14:14 +12:00
blessedcoolant
acea304348
feat(node-editor): fit view on init
2023-07-12 13:11:43 +12:00
blessedcoolant
b444b8db25
chore: Regen Schema
2023-07-12 09:17:43 +12:00
Lincoln Stein
75c5ce46bc
merged SDXLModelLoader into ModelLoader invocation
2023-07-11 16:33:08 -04:00
blessedcoolant
b6b22dc799
feat: Update Reload Schema button
2023-07-12 07:50:11 +12:00
Lincoln Stein
fabcf276ac
rebuild front end
2023-07-11 14:45:46 -04:00
Lincoln Stein
9bd6b6068c
Merge branch 'main' into release/invokeai-3-0-beta
2023-07-11 10:57:59 -04:00
Lincoln Stein
f6302aa691
Merge branch 'main' into release/invokeai-3-0-beta
2023-07-11 10:57:36 -04:00
Lincoln Stein
34cff848c7
do not display sdxl models in main model loader
2023-07-11 08:51:02 -04:00
blessedcoolant
5bf144e6bc
feat(node-editor): fit view on init
2023-07-11 18:22:50 +12:00
blessedcoolant
4d9a342437
feat: Parametrize useGetMainModelsQuery
2023-07-11 16:33:26 +12:00
blessedcoolant
7ce43692c2
feat: Add multi param query support to getMainModels
2023-07-11 14:50:56 +12:00
Lincoln Stein
23d8a2777e
add ability to filter list_models on list of base models
2023-07-10 21:59:32 -04:00
blessedcoolant
913789d966
Merge branch 'main' into maryhipp/enable-wh-for-txt-2-img
2023-07-11 13:13:41 +12:00
Mary Hipp
48efcb0ba9
always enable these things on txt2img tab
2023-07-10 20:19:03 -04:00
Lincoln Stein
8e42502dfd
partial implementation of SDXL model loader
2023-07-10 20:18:30 -04:00
Mary Hipp
83eb511330
disable hotkey for lightbox if lightbox is disabled
2023-07-10 18:44:54 -04:00
blessedcoolant
bbdb26511a
feat: Fit to view on load rather than using older position
2023-07-11 09:44:36 +12:00
blessedcoolant
b9767e9c6e
feat: Save and Loads Nodes From Disk
2023-07-11 07:22:45 +12:00
Mary Hipp
f46f8058be
load thumbnail
2023-07-10 23:47:49 +10:00
Mary Hipp
18e2b130fc
disable multiselect
2023-07-10 23:47:49 +10:00
blessedcoolant
0bfa5ffd8e
feat: Make BBox Handles adapt to Aspect Ratio lock
2023-07-10 20:37:00 +12:00
blessedcoolant
15175bb998
feat: Add Aspect Ratio To Canvas Bounding Box
2023-07-10 20:04:32 +12:00
blessedcoolant
964c71dcb0
feat: Add Swap Sizes
2023-07-10 18:10:57 +12:00
blessedcoolant
3476c58702
Merge branch 'main' into aspect-ratio
2023-07-10 17:13:27 +12:00
psychedelicious
1c45d18e6d
fix(ui): correctly set disabled on invoke button during generation
...
It wasn't disabled when it should have been, looked clickable during generation.
2023-07-10 11:23:13 +10:00
psychedelicious
a7b8109ac2
feat(ui): memoize NextPrevImageButtons component
...
This was rerendering on every progress image, now it doesn't
2023-07-10 11:22:34 +10:00
psychedelicious
265996d230
feat(ui): memoize ImageContextMenu selector
...
Without the selector itself being memoized, the gallery was rerendering on every progress image.
2023-07-10 11:21:56 +10:00
Lincoln Stein
2f3190ad6c
merge with main
2023-07-09 13:28:05 -04:00
Lincoln Stein
f335363a6f
Merge branch 'main' into release/invokeai-3-0-beta
2023-07-09 13:26:49 -04:00
psychedelicious
dfe338fc50
fix(ui): fix missing import
2023-07-09 22:47:54 +10:00
psychedelicious
0e178c3bb7
feat(ui): aspect ratio styling
2023-07-09 22:13:38 +10:00
psychedelicious
50218f1595
fix(ui): fix number input on aspect ratio
2023-07-09 22:13:26 +10:00
blessedcoolant
cafd97e5bc
fix: Reset handler not adjusting correctly
2023-07-09 23:24:15 +12:00
blessedcoolant
d01d5b6fa9
feat: Add Aspect Ratio
2023-07-09 23:18:06 +12:00
mickr777
5b876bd646
Add Stop button to nodes tab
2023-07-09 11:48:31 +10:00
psychedelicious
d7218d44d7
feat(ui): add progress image node
...
it is excluded from graph, so you can add it without affecting generation
2023-07-09 10:51:08 +10:00
psychedelicious
2454b51d51
fix(ui): escape on embedding popup closes it
2023-07-09 10:47:30 +10:00
blessedcoolant
df27218f96
Merge branch 'main' into main
2023-07-09 11:56:17 +12:00
blessedcoolant
5fb24197cd
fix: Rearrange Model Select to take full width
2023-07-09 07:23:31 +12:00
Lincoln Stein
3616ac8754
model installer calls invokeai-configure if something wrong with root
2023-07-08 12:45:23 -04:00
psychedelicious
3001e4c947
feat(ui): update right arrow gallery load more
...
- add hotkey support
- add loading state
- only show if there are more images to load
2023-07-08 10:29:31 -04:00
mickr777
2c956806d7
Update NextPrevImageButtons.tsx
2023-07-08 10:29:31 -04:00
psychedelicious
be06d4c0af
fix(ui): fix selection on dropdowns
...
Mantine's multiselect does not let you edit the search box with mouse, paste into it, etc. Normal select is fine.
I can't remember why I made Lora etc multiselects, but everything seems to work with normal selects, so I've change to that.
2023-07-08 10:29:19 -04:00
psychedelicious
81817532f8
fix(ui): fix tab translations
...
model manager was using the wrong key due to the tabs render func subbing values in. made translation key a prop of a tab item.
2023-07-08 10:29:05 -04:00
Lincoln Stein
ae835f47b6
add missing frontend files
2023-07-08 10:18:47 -04:00
Lincoln Stein
8a3072db1a
fix image upload issue
2023-07-08 10:14:55 -04:00
Lincoln Stein
bd9786564c
merge with main
2023-07-08 10:11:25 -04:00
blessedcoolant
b27bf7bb0c
Merge branch 'main' into add-app-version
2023-07-08 21:58:17 +12:00
psychedelicious
0c528f22a7
fix(ui): improve initial gallery loading logic
...
- `isLoading` - now `true` *only* on first load
- added `isFetching` - `true` whenever gallery images are fetching
- on first load, show a spinner instead of skeletons. this prevents an awkward flash of skeletons into empty gallery when the gallery doesn't have enough images to fill it.
- removed `imageCategoriesChanged` listener, bc now on app start, both images and assets will be populated. leaving this in caused jank flashes of skeletons when switching gallery tabs when gallery doesn't have images to load
2023-07-08 19:57:36 +10:00
psychedelicious
d418e763ce
fix(ui): fix controlnet processing fallback dimensions
...
Just made it a spinner, getting it to be styled correctly otherwise is a pain
2023-07-08 19:57:36 +10:00
psychedelicious
07ce53678b
fix(ui): fix drag preview image dimensions
2023-07-08 19:57:36 +10:00
psychedelicious
173d3e6918
fix(ui): ensure initial gallery fetch happens once, fix skeleton count for initial fetch
2023-07-08 19:57:36 +10:00
psychedelicious
18b6c1a24b
feat(ui): fill up gallery on app start
...
taking the coward's way out on this and just fetching 100 images & 100 assets on app start...
- add `appStarted` action, dispatched once on mount in App.tsx. listener fetches 100 images & 100 assets
- fix bug with selectedBoardId & assets tab
2023-07-08 19:57:36 +10:00
Mary Hipp
cbecf3cb89
handle case where user has no images
2023-07-08 19:57:36 +10:00
Mary Hipp
84645495a9
load images for whichever tab youre on
2023-07-08 19:57:36 +10:00
Mary Hipp
6399055f7f
make sure images tab is active if auto-switch to new images is on
2023-07-08 19:57:36 +10:00
psychedelicious
078a829b3a
feat(ui): add hover show/hide to appVersion
2023-07-08 19:55:19 +10:00
blessedcoolant
3333805821
feat: Add App Version to UI
2023-07-08 21:31:17 +12:00
psychedelicious
a0ccb4385f
fix(ui): fix inconsistent shift modifier capture
...
The shift key listener didn't catch pressed when focused in a textarea or input field, causing jank on slider number inputs.
Add keydown and keyup listeners to all such fields, which ensures that the `shift` state is always correct.
Also add the action tracking it to `actionsDenylist` to not clutter up devtools.
2023-07-08 18:52:37 +10:00
blessedcoolant
2c78ac4a13
Merge branch 'main' into fix/ui/fix-progress-toggle
2023-07-08 20:24:23 +12:00
blessedcoolant
e715aa075d
Merge branch 'main' into fix/ui/fix-inputs-readonly
2023-07-08 20:23:33 +12:00
psychedelicious
5146e92463
fix(ui): do not diable show progress toggle while generating
2023-07-08 17:23:36 +10:00
psychedelicious
e7370e5ef3
fix(ui): fix readonly inputs
...
There was a props on IAISlider to make the input component readonly - I didn't know this existed and at some point used a component with that prop as a template for other sliders, copying the flag over.
It's not actually used anywhere, so I removed the prop entirely, enabling the number inputs everywhere.
2023-07-08 17:16:34 +10:00
psychedelicious
a73206c105
feat(ui): add cpu noise to linear graphs
2023-07-08 14:52:19 +10:00
psychedelicious
0138f52220
feat(ui): add ui for cpu noise
...
not hooked up to graphs
2023-07-08 14:15:13 +10:00
Lincoln Stein
2bc99f5b6c
Revert "get uploads working again"
2023-07-08 12:22:10 +10:00
Lincoln Stein
b11d5970f6
get uploads working again ( #3679 )
...
I'm not sure if this was just my local install, but even after a fresh
`yarn install` my upload network request was failing because no file was
passed in. I don't think the `bodySerializer` part is getting run
2023-07-07 21:37:37 -04:00
Lincoln Stein
06961072c8
fix en.json "modelManager" key
2023-07-07 20:19:51 -04:00
Lincoln Stein
0ec00e3d11
rebuild front end
2023-07-07 17:47:47 -04:00
Lincoln Stein
235c14ca2c
Merge branch 'main' into maryhipp/restore-upload-functionality
2023-07-07 17:17:27 -04:00
blessedcoolant
f32a2f135c
Merge branch 'release/invokeai-3-0-alpha' of https://github.com/invoke-ai/InvokeAI into release/invokeai-3-0-alpha
2023-07-08 06:30:04 +12:00
blessedcoolant
f4fe878781
cleanup: No longer used.
2023-07-08 06:27:11 +12:00
Eugene Brodsky
97b2ec58e2
Merge branch 'main' into release/invokeai-3-0-alpha
2023-07-07 14:18:12 -04:00
Mary Hipp
3dc42869f4
prop to hide toggle for advanced settings
2023-07-07 14:03:37 -04:00
Mary Hipp
294336b046
switch wording to embeddings
2023-07-07 13:58:07 -04:00
Mary Hipp
fd51edfc81
remove log
2023-07-07 12:04:41 -04:00
Mary Hipp
fbac11a521
get uploads working again
2023-07-07 12:02:22 -04:00
Mary Hipp
01b27a03a8
Merge branch 'maryhipp/hide-some-things' of https://github.com/invoke-ai/InvokeAI into maryhipp/hide-some-things
2023-07-07 11:45:05 -04:00
Mary Hipp
d9acb0eea6
fix bug
2023-07-07 11:44:58 -04:00
Mary Hipp Rogers
1ed72cdbed
Merge branch 'main' into maryhipp/hide-some-things
2023-07-07 11:34:32 -04:00
Mary Hipp
2933d81118
cleanup
2023-07-07 11:16:23 -04:00
Mary Hipp
888c47d37b
add ability to disable lora, ti, dynamic prompts, vae selection
2023-07-07 11:13:42 -04:00
Lincoln Stein
8d88ad3b8d
restore ability to launch web server with invokeai --web
2023-07-07 10:07:15 -04:00
psychedelicious
78bcaec4da
feat(ui): improve embed button styles
2023-07-07 23:14:31 +10:00
psychedelicious
2cbe98b1b1
fix(ui): resolve merge conflicts
2023-07-07 22:50:22 +10:00
psychedelicious
8457fcf7d3
feat(ui): finalize base model compatibility for lora, ti, vae
2023-07-07 22:50:22 +10:00
Mary Hipp
a9a4081f51
add modelSelected middleware to clear submodels on base_model change
2023-07-07 22:50:22 +10:00
Mary Hipp
b9a1aa38e3
disable submodels that have incompatible base models
2023-07-07 22:50:22 +10:00
Mary Hipp
6356dc335f
change model store to object, update main model and vae dropdowns
2023-07-07 22:50:22 +10:00
psychedelicious
a8fc75b6d0
feat(ui): make clipSkip activeLabel "Clip Skip"
...
we know its active if it displays
2023-07-07 21:42:16 +10:00
blessedcoolant
74557c8b6e
fix: Loras breaking with clip skip
2023-07-07 23:27:21 +12:00
blessedcoolant
53cb200f85
fix: Clamp clipskip value when model changes
2023-07-07 19:29:11 +12:00
blessedcoolant
a4dec53b4d
fix: Adjust clip skip layer count based on model
2023-07-07 19:05:10 +12:00
psychedelicious
803e1aaa17
feat(ui): update openapi-fetch
; fix upload issue
...
My PR to fix an issue with the handling of formdata in `openapi-fetch` is released. This means we no longer need to patch the package (no patches at all now!).
This PR bumps its version and adds a transformer to our typegen script to handle typing binary form fields correctly as `Blob`.
Also regens types.
2023-07-07 16:36:42 +10:00
blessedcoolant
7aa918677e
Merge branch 'main' into feat/clip_skip
2023-07-07 16:21:53 +12:00
blessedcoolant
c6d6b33e3c
feat: Reset clipSkip when advanced options is turned off
2023-07-07 16:21:16 +12:00
Lincoln Stein
54f3686e3b
merge with main, fix conflicts
2023-07-06 15:21:45 -04:00
blessedcoolant
1ac787f3c1
feat: Change Clip Skip to Slider & Add Collapse Active Text
2023-07-07 06:37:07 +12:00
blessedcoolant
bc5371eeee
Merge branch 'main' into feat/clip_skip
2023-07-07 06:03:39 +12:00
blessedcoolant
ce7803231b
feat: Add Clip Skip To Linear UI
2023-07-07 05:57:39 +12:00
Lincoln Stein
581be42c75
Merge branch 'main' into lstein/model-manager-router-api
2023-07-06 13:20:36 -04:00
Lincoln Stein
90c66aab3d
merge with upstream
2023-07-06 13:17:02 -04:00
Lincoln Stein
ec7c2f07c6
model merge backend, CLI and TUI working
2023-07-06 12:21:42 -04:00
Mary Hipp Rogers
d5f90b1a02
Improved loading for UI ( #3667 )
...
* load images on gallery render
* wait for models to be loaded before you can invoke
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-07-06 14:48:42 +00:00
blessedcoolant
c2eb6c33b9
Merge branch 'main' into lstein/more-model-loading-fixes
2023-07-07 01:00:02 +12:00
psychedelicious
94e38e9769
feat(ui): remove delete image button in gallery
...
it was really easy to accidentally click, just commented out, easy to add back or add a setting for it in the future
2023-07-06 22:35:50 +10:00
Mary Hipp
984121d682
only show delete icon if big enough
2023-07-06 22:35:50 +10:00
blessedcoolant
6f1268e2b1
Merge branch 'main' into lstein/more-model-loading-fixes
2023-07-07 00:32:22 +12:00
psychedelicious
a901a37433
feat(ui): improve no loaded loras UI
2023-07-06 22:26:54 +10:00
psychedelicious
e09c07a97d
fix(ui): fix board auto-add
2023-07-06 22:25:05 +10:00
psychedelicious
87feae959d
feat(ui): improve no loaded embeddings UI
2023-07-06 22:24:50 +10:00
psychedelicious
fbd6b25b4d
feat(ui): improve ux on TI autcomplete
...
- cursor reinserts at the end of the trigger
- `enter` closes the select
- popover styling
2023-07-06 14:56:37 +10:00
psychedelicious
2415dc1235
feat(ui): refactor embedding ui; now is autocomplete
2023-07-06 13:40:13 +10:00
Lincoln Stein
8f5fcb188c
Merge branch 'main' into lstein/model-manager-router-api
2023-07-05 23:16:43 -04:00
Lincoln Stein
fbad839d23
add missing .js files
2023-07-05 21:09:13 -04:00
Lincoln Stein
bf25818d76
rebuild front end; bump version
2023-07-05 20:33:28 -04:00
Lincoln Stein
cfa3b2419c
partial implementation of merge
2023-07-05 20:25:47 -04:00
Lincoln Stein
83d3a043da
merge latest changes from main
2023-07-05 19:15:53 -04:00
Lincoln Stein
71dad6d404
Merge branch 'main' into ti-ui
2023-07-05 16:57:31 -04:00
Lincoln Stein
c21bd806f0
default LoRA weight to 0.75
2023-07-05 16:54:23 -04:00
Lincoln Stein
90ae8ce26a
prevent model install crash "torch needs to be restarted with spawn"
2023-07-05 16:18:20 -04:00
Lincoln Stein
ad5d90aca8
prevent model install crash "torch needs to be restarted with spawn"
2023-07-05 15:38:07 -04:00
Mary Hipp Rogers
ea81ce9489
close modal when user clicks cancel ( #3656 )
...
* close modal when user clicks cancel
* close modal when delete image context cleared
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-07-05 17:12:27 +00:00
Lincoln Stein
bd82c4ace0
model installer confirms deletion of models
2023-07-05 09:57:23 -04:00
blessedcoolant
e4d92da3a9
fix: Make space for icons in prompt box
2023-07-06 01:48:50 +12:00
blessedcoolant
9204b72383
feat: Make Embedding Picker a mini toggle
2023-07-06 01:45:00 +12:00
Lincoln Stein
9edf78dd2e
merge with main
2023-07-05 09:12:54 -04:00
blessedcoolant
a556bf45bb
Merge branch 'main' into ti-ui
2023-07-05 23:42:48 +12:00
blessedcoolant
8c9266359d
feat: Add Embedding Select To Linear UI
2023-07-05 23:41:15 +12:00
psychedelicious
596c791844
fix(ui): fix prompt resize & style resizer
2023-07-05 21:02:31 +10:00
psychedelicious
2a7dee17be
fix(ui): fix dnd on nodes
...
I had broken this earlier today
2023-07-05 19:06:40 +10:00
blessedcoolant
1c7166d2c6
Merge branch 'main' into fix/ui/delete-image-select
2023-07-05 20:57:34 +12:00
psychedelicious
9ebab013c1
fix(ui): deleting image selects first image
2023-07-05 18:21:46 +10:00
psychedelicious
e41e8606b5
feat(ui): improve accordion ux
...
- Accordions now may be opened or closed regardless of whether or not their contents are enabled or active
- Accordions have a short text indicator alerting the user if their contents are enabled, either a simple `Enabled` or, for accordions like LoRA or ControlNet, `X Active` if any are active
2023-07-05 17:33:03 +10:00
blessedcoolant
1fb317243d
fix: Change Lora weight bounds to -1 to 2
2023-07-05 18:12:45 +12:00
blessedcoolant
1a29a3fe39
feat: Add Lora to Canvas
2023-07-05 16:39:28 +12:00
psychedelicious
f155887b7d
fix(ui): change multi image drop to not have selection as payload
...
This caused a lot of re-rendering whenever the selection changed, which caused a huge performance hit. It also made changing the current image lag a bit.
Instead of providing an array of image names as a multi-select dnd payload, there is now no multi-select dnd payload at all - instead, the payload types are used by the `imageDropped` listener to pull the selection out of redux.
Now, the only big re-renders are when the selectionCount changes. In the future I'll figure out a good way to do image names as payload without incurring re-renders.
2023-07-05 13:25:07 +10:00
psychedelicious
1358c5eb7d
fix(ui): fix selector memoization
...
Every `GalleryImage` was rerendering any time the app rerendered bc the selector function itself was not memoized. This resulted in the memoization cache inside the selector constantly being reset.
Same for `BatchImage`.
Also updated memoization for a few other selectors.
2023-07-05 13:25:07 +10:00
blessedcoolant
c0501ed5c2
fix: Slow loading of Loras
...
Co-Authored-By: StAlKeR7779 <7768370+StAlKeR7779@users.noreply.github.com>
2023-07-05 12:47:34 +10:00
psychedelicious
0f0336b6ef
fix(ui): fix incorrect lora id processing
2023-07-05 12:47:34 +10:00
psychedelicious
52a09422c7
feat(ui): create rtk-query hooks for individual model types
...
Eg `useGetMainModelsQuery()`, `useGetLoRAModelsQuery()` instead of `useListModelsQuery({base_type})`.
Add specific adapters for each model type. Just more organised and easier to consume models now.
Also updated LoRA UI to use the model name.
2023-07-05 12:47:34 +10:00
psychedelicious
c21b56ba31
fix(ui): fix mantine disabled styles
2023-07-05 12:47:34 +10:00
blessedcoolant
bf895221c2
fix: Tab index not being correct
...
This probably needs to be updated to an object over an array so the index of item in the array doesnt break the rest of it.
2023-07-05 12:47:34 +10:00
psychedelicious
db8862d860
feat(ui): add LoRA ui & update graphs
2023-07-05 12:47:34 +10:00
psychedelicious
d537b9f0cb
chore(ui): regen types
2023-07-05 12:47:34 +10:00
psychedelicious
af728b4b1d
chore(ui): regen types
2023-07-04 15:04:01 +10:00
psychedelicious
099082abc1
feat(ui): model manager tab naming tweaks
2023-07-04 14:52:00 +10:00
Lincoln Stein
96bf92ead4
add the import model router
2023-07-04 14:35:47 +10:00
blessedcoolant
0988725c1b
fix: Floating gallery button showing up in Model Manager
2023-07-04 14:35:47 +10:00
blessedcoolant
089d95baeb
fix: Change graph id vals to constants
2023-07-04 14:35:47 +10:00
blessedcoolant
511978979e
feat: Add Custom VAE Support to Linear UI
2023-07-04 14:35:47 +10:00
blessedcoolant
bd5a764988
Remove 'automatic' from VAE Loader in Nodes
2023-07-04 14:35:06 +10:00
Lincoln Stein
fa8a5838d3
add vae lodaer
2023-07-04 14:35:06 +10:00
blessedcoolant
630f3c8b0b
fix: Missing VAE Loader stuff
2023-07-04 14:34:41 +10:00
blessedcoolant
6c6299ce49
fix: Style fixes to the MM edit forms
2023-07-04 14:34:41 +10:00
blessedcoolant
6684e00f0a
wip: Move Merge Models to new panel & use new model fetch
2023-07-04 14:34:41 +10:00
blessedcoolant
2f8f558df3
wip: Move Add Model from Modal to new Panel
2023-07-04 14:34:41 +10:00
blessedcoolant
de7b059e67
feat: Port Checkpoint Edit to Mantine Form
2023-07-04 14:34:41 +10:00
blessedcoolant
33db4e27a0
feat: Update DiffusersEdit Component to use Mantine Form
2023-07-04 14:34:41 +10:00
blessedcoolant
009c20bfea
feat: Add Mantine Form
2023-07-04 14:34:41 +10:00
blessedcoolant
d61b3818fe
feat: Add VAE Select to Linea UI Panels (non func)
2023-07-04 14:34:41 +10:00
blessedcoolant
51db4d1269
fix: Minor fixes to the VAESelect components
2023-07-04 14:34:41 +10:00
blessedcoolant
38660a2162
feat: Addvae_model
input type front end
2023-07-04 14:34:41 +10:00
blessedcoolant
5ad6b64721
cleanup: merge conflicts
2023-07-04 14:34:22 +10:00
blessedcoolant
0da4f4bb6f
fix: Add missing Unet, Clip, VAE Field Template types
2023-07-04 14:34:22 +10:00
blessedcoolant
8d5a953dcb
feat: Add VAESelect Component
2023-07-04 14:33:56 +10:00
blessedcoolant
6c62f41f2e
chore: Change PipelineModels to MainModels
2023-07-04 14:33:56 +10:00
blessedcoolant
2ad5a4ea46
feat: Initial port of Model Manager to new tab
2023-07-04 14:31:48 +10:00
blessedcoolant
9e35643911
feat: Make new tab for Model Manager
2023-07-04 14:31:24 +10:00
blessedcoolant
0bb668b8a8
feat: hook up model edit forms
2023-07-04 14:29:42 +10:00
blessedcoolant
e73f774920
fix: Restore Model display and select functionality
2023-07-04 14:29:42 +10:00
Lincoln Stein
b17406a985
Merge branch 'main' into lstein/improve-model-install-stability
2023-07-03 12:37:02 -04:00
Lincoln Stein
877b187a1b
Merge branch 'lstein/restore-3.9-compatibility' into release/invokeai-3-0-alpha
2023-07-03 11:01:34 -04:00
psychedelicious
c33f0ae055
feat(ui): hide batch ui pending logic implementation
2023-07-04 00:26:58 +10:00
psychedelicious
90aa97edd4
feat(ui): add multi-select and batch capabilities
...
This introduces the core functionality for batch operations on images and multiple selection in the gallery/batch manager.
A number of other substantial changes are included:
- `imagesSlice` is consolidated into `gallerySlice`, allowing for simpler selection of filtered images
- `batchSlice` is added to manage the batch
- The wonky context pattern for image deletion has been changed, much simpler now using a `imageDeletionSlice` and redux listeners; this needs to be implemented still for the other image modals
- Minimum gallery size in px implemented as a hook
- Many style fixes & several bug fixes
TODO:
- The UI and UX need to be figured out, especially for controlnet
- Batch processing is not hooked up; generation does not do anything with batch
- Routes to support batch image operations, specifically delete and add/remove to/from boards
2023-07-04 00:18:27 +10:00
Lincoln Stein
8c93c8dda8
add web dist files to enable network pip install
2023-07-02 22:02:53 -04:00
Lincoln Stein
2b67509061
bump version; rebuild frontend
2023-07-02 13:02:31 -04:00
Lincoln Stein
fa1f9939cc
adjust invokeai-configure TUI vertical height to show NEXT button on Mac
2023-07-02 09:44:16 -04:00
blessedcoolant
f399b36ae6
fix: Progress Bar being broken
2023-07-02 18:49:24 +12:00
mickr777
a6334750cb
Update InvokeButton.tsx
2023-07-02 15:07:01 +10:00
mickr777
45a551125d
Update NodeInvokeButton.tsx
2023-07-02 15:06:32 +10:00
mickr777
72d64513d0
add borderBottomRadius: '5px',
2023-07-02 15:05:32 +10:00
psychedelicious
0e50005643
fix(ui): show skeletons only for currently loading images
2023-07-02 11:55:51 +10:00
Mary Hipp
19c632e793
remove width
2023-07-02 11:55:51 +10:00
Mary Hipp
85a4d37883
remove long loading state, introduce loading to gallery and model list
2023-07-02 11:55:51 +10:00
Lincoln Stein
f1fb1c9a60
Merge branch 'lstein/fix-update-script' into release/invokeai-3-0-alpha
2023-07-01 20:13:04 -04:00
Lincoln Stein
f7d8ae20a6
rolled back changes to package.json
2023-07-01 20:07:14 -04:00
Lincoln Stein
9724143ab7
rolled back changes to package.json
2023-07-01 20:05:00 -04:00
Lincoln Stein
ecc5b6eec5
change single to double quotes so that pip install works on windows
2023-07-01 19:56:18 -04:00
Lincoln Stein
4ac9be115e
rebuild frontend
2023-07-01 14:48:23 -04:00
Lincoln Stein
f1928d2588
prevent crashes on malformed models
2023-07-01 14:32:58 -04:00
psychedelicious
f46c50f69a
feat(ui): gallery minSize tweak
...
- Set min size for floating gallery panel
- Correct the default pinned width (it cannot be less than the min width and this was sometimes happening during window resize)
2023-07-01 20:27:52 +10:00
psychedelicious
3aa6a7e7df
feat(ui): minimum gallery size
...
Add `useMinimumPanelSize()` hook to provide minimum resizable panel sizes (in pixels).
The library we are using for the gallery panel uses percentages only. To provide a minimum size in pixels, we need to do some math to calculate the percentage of window size that corresponds to the desired min width in pixels.
2023-07-01 18:29:55 +10:00
Mary Hipp Rogers
d0834cfa19
export new ColorModeButton component ( #3614 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-06-30 09:07:36 -04:00
blessedcoolant
9a123ed662
Merge branch 'main' into fix/ui/fix-canvas-crash
2023-06-30 23:31:42 +12:00
psychedelicious
d6cfbe982f
feat(ui): tweak light mode colors, buttons pop
2023-06-30 13:15:58 +10:00
psychedelicious
30464f4fe1
fix(ui): fix canvas crash by rolling back swagger-parser
...
The node polyfills needed to run the `swagger-parser` library (used to dereference the OpenAPI schema) cause the canvas tab to immediately crash when the package build is used in another react application.
I'm sure this is fixable but it's not clear what is causing the issue and troubleshooting is very time consuming.
Selectively rolling back the implementation of `swagger-parser`.
2023-06-30 12:24:28 +10:00
blessedcoolant
295444c730
cleanup: Minor theme related cleanup
2023-06-30 06:09:14 +12:00
blessedcoolant
fb015332f2
feat: Add tooltips to color mode switcher
2023-06-30 06:05:08 +12:00
blessedcoolant
6e917dcbb0
chore: More colors to own files + small color tweaks
2023-06-30 06:04:42 +12:00
psychedelicious
032c7e68d0
feat(ui): remove themes, add hand-crafted dark and light modes
...
Themes are very fun but due to the differences in perceived saturation and lightness across the
the color spectrum, it's impossible to have have multiple themes that look great without hand-
crafting *every* shade for *every* theme. We've ended up with 4 OK themes (well, 3, because the
light theme was pretty bad).
I've removed the themes and added color mode support. There is now a single dark and light mode,
each with their own color palette and the classic grey / purple / yellow invoke colors that
@blessedcoolant first designed.
I've re-styled almost everything except the model manager and lightbox, which I keep forgetting
to work on.
One new concept is the Chakra `layerStyle`. This lets us define "layers" - think body, first layer,
second layer, etc - that can be applied on various components. By defining layers, we can be more
consistent about the z-axis and its relationship to color and lightness.
2023-06-30 03:24:36 +10:00
Mary Hipp
723d68e496
add image usage for board images and listener to handle actual deletion
2023-06-29 21:14:53 +10:00
Mary Hipp
ba67e57a7e
(wip) delete images along with board
2023-06-29 21:14:53 +10:00
psychedelicious
4308d593c3
fix(ui): improve IDE TS performance by not resolving JSON
...
The TS Language Server slows down immensely with our translation JSON, which is used to provide kinda-type-safe translation keys. I say "kinda", because you don't get autocomplete - you only get red squigglies when the key is incorrect.
To improve the performance, we can opt out of this process entirely, at the cost of no red squigglies for translation keys. Hopefully we can resolve this in the future.
It's not clear why this became an issue only recently (like past couple weeks). We've tried rolling back the app dependencies, VSCode extensions, VSCode itself, and the TS version to before the time when the issue started, but nothing seems to improve the performance.
1. Disable `resolveJsonModule` in `tsconfig.json`
2. Ignore TS in `i18n.ts` when importing the JSON
3. Comment out the custom types in `i18.d.ts` entirely
It's possible that only `3` is needed to fix the issue.
I've tested building the app and running the build - it works fine, and translation works fine.
2023-06-28 23:55:44 -04:00
Brandon Rising
8f6b3660c5
Set use-credentials on commercial deployment if authToken is set on canvas image calls, comment out the UpdateImageUrls on connect listener
2023-06-29 13:55:03 +10:00
Lincoln Stein
79fc708580
warn but do not crash when model scan finds random cruft in models
directory
2023-06-28 15:26:42 -04:00
Lincoln Stein
72209d0cc3
Merge branch 'main' into lstein/installer-for-new-model-layout
2023-06-28 14:49:37 -04:00
blessedcoolant
75614bbba3
Merge branch 'main' into feat/nodes/cpu-noise
2023-06-28 18:22:08 +12:00
blessedcoolant
1ea3160594
Merge branch 'main' into feat/ui/dynamic-prompts-ux
2023-06-28 17:34:36 +12:00
Lincoln Stein
e8ed0fad6c
autoimport from embedding/controlnet/lora folders designated in startup file
2023-06-27 12:30:53 -04:00
psychedelicious
1f3e5582f4
feat(ui): add type extraction helpers
2023-06-28 01:17:34 +10:00
psychedelicious
642db657c2
feat(ui): use max prompts for combinatorial, iterations for non-combinatorial
2023-06-27 20:29:41 +10:00
psychedelicious
246298d1d6
chore(ui): regen types
2023-06-27 13:57:41 +10:00
Lincoln Stein
f15d28d141
improved wording of v2 selection prompt
2023-06-26 20:30:08 -04:00
Lincoln Stein
8c74f49a18
Merge branch 'lstein/installer-for-new-model-layout' of github.com:invoke-ai/InvokeAI into lstein/installer-for-new-model-layout
2023-06-26 16:31:00 -04:00
Lincoln Stein
823e098b7c
prompt user for prediction type when autoimporting a v2 model without .yaml file
...
don't ask user for prediction type of a config.yaml provided
2023-06-26 16:30:34 -04:00
Eugene Brodsky
b7e9d09537
Merge branch 'main' into lstein/installer-for-new-model-layout
2023-06-26 16:22:23 -04:00
Lincoln Stein
ea15d037f9
Merge branch 'main' into lstein/tweak-installer-ui
2023-06-26 15:05:16 -04:00
Lincoln Stein
011adfc958
merge with main
2023-06-26 13:53:59 -04:00
psychedelicious
6ccf62a863
feat(ui): only show canvas image fallback on loading error
2023-06-26 19:20:05 +10:00
psychedelicious
6390af229d
feat(ui): add dynamic prompts to t2i tab
...
- add param accordion for dynamic prompts
- update graphs
2023-06-26 19:15:54 +10:00
Eugene Brodsky
47e651225d
query for 'main' model type when populating UI lists
...
to support renaming of 'pipeline' models to 'main'
2023-06-26 01:39:46 -04:00
blessedcoolant
3a19be1606
fix: Add missing IAIMantineSelect disabled styles
2023-06-26 17:37:47 +12:00
blessedcoolant
b51ab056f2
Merge branch 'main' into feat/ui/update-node-parsing
2023-06-26 17:32:44 +12:00
Eugene Brodsky
7b97639961
Merge branch 'main' into lstein/installer-for-new-model-layout
2023-06-26 01:24:30 -04:00
psychedelicious
60780e990d
fix(ui): fix controlnet image size
2023-06-26 12:03:11 +10:00
psychedelicious
8d43cf92f6
feat(ui): update action santizer for schema actions
2023-06-26 12:00:38 +10:00
psychedelicious
862bf7546c
feat(ui): improved node parsing
...
- use `swagger-parser` to dereference openapi schema
- tidy vite plugins
- use mantine select for node add menu
2023-06-26 11:53:54 +10:00
Lincoln Stein
160b5d7992
add support for an autoimport models directory scanned at startup time
2023-06-25 18:50:15 -04:00
Lincoln Stein
60b37b7ff4
fix model manager documentation
2023-06-25 16:04:43 -04:00
psychedelicious
57e719702d
fix(ui): add missing ControlNetInvocation type; tidy schema-derived types
2023-06-25 14:04:53 +10:00
psychedelicious
11378a9236
chore(ui): regen api schema
2023-06-25 14:04:16 +10:00
psychedelicious
132829c88f
fix(ui): fix path of generated schema types
2023-06-25 14:04:00 +10:00
blessedcoolant
4d4b5b56dc
Merge branch 'main' into feat/controlnet-control-modes
2023-06-25 15:48:07 +12:00
psychedelicious
6b276587d8
chore(ui): bump all packages
...
Everything seems to be working.
- Due to a change to `reactflow`, I regenerated `yarn.lock`
- New chakra CLI fixes issue I had made a patch for; removed the patch
- Change to fontsource changed how we import that font
- Change to fontawesome means we lost the txt2img tab icon, just chose a similar one
2023-06-25 13:44:10 +10:00
user1
c5faffc18b
Merge branch 'main' of github.com:invoke-ai/InvokeAI into feat/controlnet-control-modes
...
Only "real" conflicts were in:
invokeai/frontend/web/src/features/controlNet/components/ControlNet.tsx
invokeai/frontend/web/src/features/controlNet/store/controlNetSlice.ts
2023-06-24 17:05:57 -07:00
Lincoln Stein
d5f742620f
Merge branch 'main' into lstein/installer-for-new-model-layout
2023-06-24 11:58:06 -04:00
Lincoln Stein
ba1371a88f
rename ModelType.Pipeline to ModelType.Main
2023-06-24 11:45:49 -04:00
psychedelicious
3ae996ebcb
fix(ui): fix metadata viewer too stronk
2023-06-24 18:15:49 +10:00
psychedelicious
3d16605762
fix(ui): fix controlnet upload button
2023-06-24 18:15:49 +10:00
psychedelicious
b6dec2b826
fix(ui): fix controlnet dnd overlay not showing on dragover
2023-06-24 18:15:49 +10:00
psychedelicious
013e2aa2a1
fix(ui): fix control image sizes
...
they were all weird
2023-06-24 18:15:49 +10:00
psychedelicious
8f9fa15fc8
fix(ui): fix image fetching query string
2023-06-24 18:15:49 +10:00
psychedelicious
dde497404b
fix(ui): fix init image display buttons
...
- Reset and Upload buttons along top of initial image
- Also had to mess around with the control net & DnD image stuff after changing the styles
- Abstract image upload logic into hook - does not handle native HTML drag and drop upload - only the button click upload
2023-06-24 18:15:49 +10:00
psychedelicious
0472b33164
fix(ui): fix duplicate is_intermediate
query param when fetching images
2023-06-24 17:57:39 +10:00
psychedelicious
a6c615a98c
fix(ui): fix canvas staging area
...
Missed some of the `imageUpdated` stuff
2023-06-24 17:57:39 +10:00
psychedelicious
13f25edb1e
fix(ui): fix incorrect boards endpoint matchers being used
...
Should fix some stale-data issues with the auto-adding of images to selected boards, and deleting images from boards.
2023-06-24 17:57:39 +10:00
psychedelicious
8bacee115a
fix(ui): fix thunks not using configured api client
2023-06-24 17:57:39 +10:00
psychedelicious
3619c86f07
fix(ui): fix deleting image does not refresh board
...
I had some some wonkiness in the thunks
2023-06-24 17:57:39 +10:00
psychedelicious
8e724b5abe
fix(ui): fix image upload
...
`openapi-fetch` does not handle non-JSON `body`s, always stringifying them, and sets the `content-type` to `application/json`.
The patch here does two things:
- Do not stringify `body` if it is one of the types that should not be stringified (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#body )
- Do not add `content-type: application/json` unless it really is stringified JSON.
Upstream issue: https://github.com/drwpow/openapi-typescript/issues/1123
I'm not a bit lost on fixing the types and adding tests, so not raising a PR upstream.
2023-06-24 17:57:39 +10:00
psychedelicious
e076231398
fix(ui): fix node editor image fields
...
I had broken this when converting to rtk-query
2023-06-24 17:57:39 +10:00
psychedelicious
e386b5dc53
feat(ui): api layer refactor
...
*migrate from `openapi-typescript-codegen` to `openapi-typescript` and `openapi-fetch`*
`openapi-typescript-codegen` is not very actively maintained - it's been over a year since the last update.
`openapi-typescript` and `openapi-fetch` are part of the actively maintained repo. key differences:
- provides a `fetch` client instead of `axios`, which means we need to be a bit more verbose with typing thunks
- fetch client is created at runtime and has a very nice typescript DX
- generates a single file with all types in it, from which we then extract individual types. i don't like how verbose this is, but i do like how it is more explicit.
- removed npm api generation scripts - now we have a single `typegen` script
overall i have more confidence in this new library.
*use nanostores for api base and token*
very simple reactive store for api base url and token. this was suggested in the `openapi-fetch` docs and i quite like the strategy.
*organise rtk-query api*
split out each endpoint (models, images, boards, boardImages) into their own api extensions. tidy!
2023-06-24 17:57:39 +10:00
Mary Hipp
8137a99981
simplify
2023-06-24 17:57:39 +10:00
Mary Hipp
878847defd
use BASE and TOKEN from OpenAPI if they are set
2023-06-24 17:57:39 +10:00
Lincoln Stein
c7b7e087e4
Merge branch 'main' into lstein/installer-for-new-model-layout
2023-06-23 01:45:05 +01:00
psychedelicious
339e7ce213
feat(ui): initial implementation of model loading
...
- Update model listing code to use `rtk-query`
- Update all graph generation to use new `pipeline_model_loader` node
2023-06-22 17:48:57 +10:00
psychedelicious
2a178f5a25
chore(ui): regen api client
2023-06-22 17:48:13 +10:00
psychedelicious
3722cdf5d6
chore(ui): regen api client
2023-06-22 17:36:20 +10:00
blessedcoolant
d3dec59cc3
tweal: UI colors
2023-06-22 16:51:53 +10:00
blessedcoolant
6c98700740
fix: Adjust the Schedular select width
...
So the long names do not get cut off.
2023-06-22 16:51:53 +10:00
blessedcoolant
c4c3c96062
Revert "feat: Port Schedulers to Mantine"
...
This reverts commit e0c105f413
.
2023-06-22 16:51:35 +10:00
blessedcoolant
6256be480c
fix: Remove type from Model type name
2023-06-22 16:48:35 +10:00
blessedcoolant
7033071934
fix: Unserialization key issue
2023-06-22 16:48:35 +10:00
blessedcoolant
e48528bbef
revert: getModels to receivedModels
2023-06-22 16:48:35 +10:00
blessedcoolant
6bdf68dd4c
feat: Port Schedulers to Mantine
2023-06-22 16:48:35 +10:00
blessedcoolant
0c3616229e
cleanup: Updated model slice names to be more descriptive
...
Basically updated all slices to be more descriptive in their names. Did so in order to make sure theres good naming scheme available for secondary models.
2023-06-22 16:43:14 +10:00
blessedcoolant
604cc1adcd
wip: Move Model Selector to own file
2023-06-22 16:43:14 +10:00
blessedcoolant
4847212d5b
feat: Enable 2.x Model Generation in Linear UI
2023-06-22 16:43:14 +10:00
blessedcoolant
d2f3500e1b
chore: Rebuild API - base_model and type added
2023-06-22 16:42:59 +10:00
blessedcoolant
f8d7477c7a
wip: Add 2.x Models to the Model List
2023-06-22 16:42:51 +10:00
blessedcoolant
e374211313
chore: Rebuild API with new Model API names
2023-06-22 16:41:31 +10:00
blessedcoolant
663f4935f5
chore: Rebuild API
2023-06-22 16:41:02 +10:00
psychedelicious
2d889e133d
chore(ui): regen api client
2023-06-22 16:25:49 +10:00
psychedelicious
19a6e5dad8
chore(ui): regen api client
2023-06-22 16:25:49 +10:00
psychedelicious
10008859a4
tidy(ui): remove all refs to boards thunks
2023-06-22 16:25:49 +10:00
psychedelicious
3c04340f3f
tidy(ui): tidy up update image board modal
2023-06-22 16:25:49 +10:00
psychedelicious
79f0c4d3c4
feat(ui): add remove from board to image context menu
2023-06-22 16:25:49 +10:00
psychedelicious
37d4e05838
fix(ui): fix board's image list not updating when image removed from board
2023-06-22 16:25:49 +10:00
psychedelicious
a00ad6ac03
feat(ui): dropping image on All Images
board removes it from board
2023-06-22 16:25:49 +10:00
psychedelicious
2ffead000c
tidy(ui): remove console.log()
2023-06-22 16:25:49 +10:00