Thomas Mello
8c6b3efd39
fix(ui): remove hard reset of cursor on canvas during state reset
...
Remove resetting cursor when resetting state letting event handlers to take care of presentation
2024-01-31 23:03:14 +11:00
Josh Corbett
f70c0936ca
feat: ✨ disable/enable LoRas with a switch ( #5591 )
...
* feat: ✨ disable/enable LorRas with a switch
* feat: ✨ visually display previous weight when disabled
* style: 🚨 linting
* feat: ✨ lora badge count reflects active loras
* style: 🚨 linting
* feat: ✨ track disabled lora on state instead of weight
* style: 🚨 linting
* feat: ✨ it all works now
tracking isEnabled on lora state, disabled slider when disabled, removed disabled loras from graph, updated badge counting and renamed lora add function
* style: 🚨 linting
* fix: 🐛 enabledLoRAs filter nullish coalescing
* refactor: 🎨 minor changes
renamed lora toggle action, removed errent comment, removed extraneous type annotation
* style: 🚨 linting
2024-01-31 05:50:03 +00:00
Rohinish
0d4de4cc63
changed hotkeys ( #5542 )
...
Adds adds ctrl/meta + scroll to change brush size on canvas.
* changed hotkeys
* new hotkey as an additional
* lint fixed"
* added ctrl scroll and removed hotkey
* using
* added fix
* feedbck_changes
* brush size change logic
* feat(ui): also check for meta key when modifying brush size
* feat(ui): add comment linking to where brush size algo was determined
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-01-31 15:57:16 +11:00
Thomas Mello
d7f16b7c87
fix(ui): the bottom button on floating side panel clears all queue items
2024-01-31 01:04:24 +11:00
Thomas Mello
4477e04d59
fix(ui): filter out interactive targets when pressing space on canvas tab
...
Improve input filtering for better accessibility
2024-01-30 09:56:21 +11:00
Thomas Mello
30e11b4b42
feat(ui): save the current staging image with shift+s
2024-01-30 09:56:21 +11:00
Thomas Mello
b93695b78f
feat(ui): discard all staging images in canvas on escape
2024-01-30 09:56:21 +11:00
Thomas Mello
b01311813b
fix(ui): activate move tool on pressing space
...
canvas element is not guaranteed to be in focus (e.g. after accepting new staging image) so we check for the active tab name instead
2024-01-30 09:56:21 +11:00
Thomas Mello
5ae80fab87
fix(ui): accept staging image hotkey callback
2024-01-30 09:56:21 +11:00
Thomas Mello
c4291f2136
fix(ui): block gallery navigation when staging images on canvas
2024-01-30 09:56:21 +11:00
psychedelicious
3f5370b284
feat(ui): add a copy button to the about modal
...
This copies the dependencies as JSON.
2024-01-28 20:50:08 -06:00
psychedelicious
d048eb5b20
docs(ui): add STATE_MGMT.md
...
Supersedes the mini nanostores doc.
2024-01-29 07:28:20 +11:00
psychedelicious
2f345d1976
chore(ui): lint
2024-01-28 19:57:53 +11:00
psychedelicious
189c430e46
chore(ui): format
...
Lots of changed bc the line length is now 120. May as well do it now.
2024-01-28 19:57:53 +11:00
psychedelicious
138caa34de
chore(ui): lint
2024-01-28 19:57:53 +11:00
Mary Hipp
d0391cb430
chore(ui): bump @invoke-ai/ui-library, add @invoke-ai/eslint-config-react & @invoke-ai/prettier-config-react
2024-01-28 19:57:53 +11:00
Mary Hipp
b28fcc6be5
lint
2024-01-27 21:36:42 +11:00
Mary Hipp
418cdbabb7
add option for workflowCategories
2024-01-27 21:36:42 +11:00
Mary Hipp
de20711637
add nanostore for open API schema
2024-01-27 12:43:47 +11:00
Mary Hipp
55e91b97be
dep
2024-01-27 12:43:47 +11:00
Mary Hipp
f79bbd2d6e
account for baseUrl
2024-01-27 12:43:47 +11:00
Mary Hipp Rogers
89da976949
workflow library updates ( #5568 )
...
* dont show duplicate toasts if workflow actions fail due to auth
* dynamic order by options based on projectId
* add endpointName to authtoast to makeit unique per endpoint
* lint
* update toast logic to check based on endpoint name w type safety
* fix save as endpoit name
* lint
* fix type
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-01-25 11:43:47 -05:00
psychedelicious
fc448d5b6d
feat(ui): handle proxy configs rewriting paths
...
We can't assume that the base URL is `host:port/` - it could be `host:port/some/path/`. Make the path handling dynamic to account for this.
2024-01-25 13:29:56 +11:00
Mary Hipp Rogers
e59954f956
fix workflow updating ( #5567 )
...
* retain id through workflow state so that we correctly update or save new
* lint
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-01-24 16:10:19 -05:00
blessedcoolant
f82744b95e
fix: linting issues
2024-01-24 18:45:54 +05:30
Kent Keirsey
5a67bc68a1
Merge branch 'main' into depth-anything
2024-01-23 22:31:19 -06:00
Josh Corbett
61cf4d4c70
feat: ✨ "Remix Image" option on images ( #5553 )
...
* feat: ✨ "Remix Image" option on images
Adds a new "remix image" option where applicable, recalls all metadata except the seed
* refactor: 🚨 lint code
* feat: ✨ "Remix Image" option on images
Adds a new "remix image" option where applicable, recalls all metadata except the seed
* refactor: 🚨 lint code
* feat: ✨ add new remix hotkey to hotkeys modal
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-01-24 00:45:30 +00:00
Mary Hipp
3dc13221d8
add project as a workflow category in the front-end
2024-01-24 10:59:04 +11:00
blessedcoolant
0868fc2558
Merge branch 'main' into depth-anything
2024-01-24 03:36:25 +05:30
psychedelicious
b4cf5496b6
fix(ui): handle model names with spaces
...
Remove `trim()` from model identifier schema, which prevented parsed model identifiers from matching.
The root issue here is that model names are identifiers. This will be resolved in the model manager refactor.
Closes #5556
2024-01-23 15:48:10 -06:00
psychedelicious
a0e68705dd
feat(ui): improved dynamic prompts behaviour
...
- Bump `@invoke-ai/ui` for updated styles
- Update regex to parse prompts with newlines
- Update styling of overlay button when prompt has an error
- Fix bug where loading and error state sometimes weren't cleared
2024-01-23 15:26:12 -06:00
blessedcoolant
7cb49e65bd
feat: Add Resolution to DepthAnything
2024-01-23 14:13:50 -06:00
blessedcoolant
39fedb090b
feat: Make depth anything the default processor for depth controlnet
2024-01-23 14:13:50 -06:00
blessedcoolant
f36a691219
feat: Make the depth anything small model the default
2024-01-23 14:13:50 -06:00
blessedcoolant
13123daa3f
feat: Add DepthAnything to Linear UI
2024-01-23 14:13:50 -06:00
psychedelicious
2aed6e2dba
fix(ui): duplicate "base model" in merge UI
...
closes #5505
2024-01-23 14:13:18 -06:00
psychedelicious
52b51a6088
fix(ui): recall/use size sets aspect ratio correctly
...
Added a new action that resets the aspect ratio when dispatched.
Closes #5456
2024-01-23 14:13:18 -06:00
psychedelicious
52b24e01e2
feat(ui): remove chakra as direct dependency
...
Moved a number of things to `@invoke-ai/ui` to support this.
Unfortunately, the bundle size has increased a bit. I will work on that later.
2024-01-23 14:13:18 -06:00
psychedelicious
1178fd8bd3
fix(ui): fix styling of some form elements
2024-01-23 14:13:18 -06:00
psychedelicious
2f656cc357
fix(ui): fix field context menu jank
...
Closes #5551
2024-01-23 14:13:18 -06:00
psychedelicious
71f9ac9985
feat(ui): scollable areas support x-axis scrolling
...
Closes #5490
2024-01-23 14:13:18 -06:00
psychedelicious
8bbdfc45fa
fix(ui): increase size of control adapters advanced toggle button
2024-01-23 14:13:18 -06:00
psychedelicious
b74e0de74a
tidy(ui): remove unused state from uiSlice
2024-01-23 14:13:18 -06:00
psychedelicious
e7e7793896
feat(ui): remember open/closed state of accordions/expanders
2024-01-23 14:13:18 -06:00
psychedelicious
504bdac14a
tidy(ui): remove unused state from uiSlice
2024-01-23 14:13:18 -06:00
psychedelicious
b76d2cd716
fix(ui): handle base model compat when recalling parameters
...
We had a one-behind issue with recalling metadata items that had a model.
For example, when recalling LoRAs, we check against the current main model to decide whether or not the requested LoRA is compatible and may be recalled.
When recalling all params, we are often also recalling the main model, but the compat logic didn't compare against this new main model.
The logic is updated to check against the new main model, if one is being set.
Closes #5512
2024-01-23 14:13:18 -06:00
psychedelicious
022b32c724
fix(ui): reset clip skip to 0 if new model is sdxl
...
Clip skip wasn't actually used in SDXL graphs so enabling it didn't do anything, just a UI quirk.
Closes #5508
2024-01-23 14:13:18 -06:00
psychedelicious
653b820da1
tidy(ui): clearer variable names in modelSelected listener
2024-01-23 14:13:18 -06:00
Rohinish
3c79476785
requested changes made
2024-01-22 21:06:40 +11:00
Rohinish
dad364da17
rebased and made more chnges
2024-01-22 21:06:40 +11:00
Rohinish
37bc4f78d0
last
2024-01-22 21:06:40 +11:00
Rohinish
de0b43c81d
more strings and translations added
2024-01-22 21:06:40 +11:00
Rohinish
ea1d2d6a4c
added translation where needed
2024-01-22 21:06:40 +11:00
psychedelicious
27d7889780
tidy(ui): remove commented line
2024-01-22 09:37:26 +11:00
psychedelicious
a1cf153097
fix(ui): generation accordion defaults to open
2024-01-22 09:37:26 +11:00
psychedelicious
d121eefa12
tidy(ui): organise accordions files
2024-01-22 09:37:26 +11:00
psychedelicious
c92e25a6a7
fix(ui): add tooltip to model select
2024-01-22 09:37:26 +11:00
psychedelicious
1197133d06
fix(ui): fix lora name wrap
2024-01-22 09:37:26 +11:00
psychedelicious
850458a554
chore(ui): lint
2024-01-22 09:37:26 +11:00
psychedelicious
e96ad41729
feat(ui): use @invoke-ai/ui
hooks for modifiers, global menu state
2024-01-22 09:37:26 +11:00
psychedelicious
b00ace852d
fix(ui): settings modal switch widths
2024-01-22 09:37:26 +11:00
psychedelicious
be72765d02
fix(ui): bump @invoke-ai/ui, fix TS issues
2024-01-22 09:37:26 +11:00
psychedelicious
580d29257c
feat(ui): add missing translations
2024-01-22 09:37:26 +11:00
psychedelicious
5d068c1da1
feat(ui): migrate to @invoke-ai/ui
2024-01-22 09:37:26 +11:00
psychedelicious
5ef87ef2a6
fix(ui): tidy component/props naming in ClearQueueIconButton.tsx
2024-01-19 15:03:16 +11:00
psychedelicious
d0709d4f4e
fix(ui): use trash icon for clear all queue
2024-01-19 15:03:16 +11:00
psychedelicious
2a081b0a27
fix(ui): remove unnecessary fragments
2024-01-19 15:03:16 +11:00
psychedelicious
d902533387
feat(ui): use global modifier state for clear queue button mode switch
2024-01-19 15:03:16 +11:00
psychedelicious
1174713223
fix(ui): use cancel strings for cancel button
2024-01-19 15:03:16 +11:00
psychedelicious
4b1740ad19
chore(ui): format
2024-01-19 15:03:16 +11:00
Josh Corbett
e03c88ce32
feat: 🚸 shift key queue cancellations
2024-01-19 15:03:16 +11:00
psychedelicious
b917ffecbe
chore(ui): format
2024-01-19 14:42:31 +11:00
Josh Corbett
2967a78c5a
feat: 💄 update lots of icons
2024-01-19 14:42:31 +11:00
Rohinish
1ab0e86085
feat(ui): add about modal w/ app deps ( #5462 )
...
* resolved conflicts
* changed logo and some design changes
* feedback changes
* resolved conflicts
* changed logo and some design changes
* feedback changes
* lint fixed
* added translations
* some requested changes done
* all feedback changes done and replace links in settingsmenu comp
* fixed the gap between deps verisons & chnaged heights
* feat(ui): minor about modal styling
* feat(ui): tag app endpoints with FetchOnReconnect
* fix(ui): remove unused translation string
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Co-authored-by: Kent Keirsey <31807370+hipsterusername@users.noreply.github.com>
2024-01-18 13:30:56 +00:00
Mary Hipp
c9ddbb4241
lint
2024-01-18 23:29:47 +11:00
Mary Hipp
415a1c7a4f
add ids
2024-01-18 23:29:47 +11:00
Mary Hipp
84a4836ab7
change actions to be for any InvExpander or InvSingleAccordion that has id passed in
2024-01-18 23:29:47 +11:00
Mary Hipp
dbd6c9c6ed
remove actions we can get from mutation data
2024-01-18 23:29:47 +11:00
Mary Hipp
4f95c077d4
lint fix
2024-01-18 23:29:47 +11:00
Mary Hipp
0a4cbc4e16
undo
2024-01-18 23:29:47 +11:00
Mary Hipp
d45b76fab4
undo
2024-01-18 23:29:47 +11:00
Mary Hipp
9722135cda
add various actions for commercial purposes
2024-01-18 23:29:47 +11:00
Mary Hipp
2953dea4a0
set width and height based on defaultModel if passed in
2024-01-17 07:08:11 +11:00
psychedelicious
f3fed0b10f
fix(ui): use native langs for language select
...
Use each language's own language for their option in the language select. This falls back to the english translation if the language name isn't translated.
2024-01-17 06:50:16 +11:00
psychedelicious
db57d426d9
fix(ui): force dark mode
2024-01-17 06:48:04 +11:00
psychedelicious
426a7b900f
feat(ui): resize options/gallery panels to min on window resize
...
Per user feedback, this is preferrable to letting them expand when the window grows.
Also bumps `react-resizable-panels` now that one of my PRs is merged to fix an issue.
2024-01-14 11:33:44 +11:00
mickr777
cc571d9ab2
Quick Fix for right gallery button
2024-01-14 09:49:52 +11:00
psychedelicious
dfe0b73890
fix(ui): fix usages of panel helpers
...
Upstream breaking change.
2024-01-12 09:31:07 +11:00
psychedelicious
c0c8fa9a89
fix(ui): use nodrag on invinput in workflow editor
...
Closes #5476
2024-01-12 09:31:07 +11:00
psychedelicious
ad7139829c
fix(ui): fix canvas space hotkey
...
Need to do some checks to ensure we aren't taking over input elements, and are focused on the canvas.
Closes #5478
2024-01-12 09:31:07 +11:00
psychedelicious
a24e63d440
fix(ui): do not focus board search on load
2024-01-12 09:31:07 +11:00
psychedelicious
59437a02c3
feat(ui): restore resizable prompt boxes
...
The autosize proved to be unpopular. Changed back to resizable.
2024-01-12 09:31:07 +11:00
psychedelicious
98a44d7fa1
feat(ui): update assets
...
- Add various brand images, organise images
- Create favicon for docs pages (light blue version of key logo)
- Rename app title to `Invoke - Community Edition`
2024-01-12 08:02:59 +11:00
psychedelicious
07416753be
feat(ui): more context in storage errors
2024-01-12 07:54:18 +11:00
psychedelicious
b55c2b99a7
feat(ui): workflow library styling
2024-01-11 09:42:12 -05:00
psychedelicious
f81d36c95f
fix(ui): do not string workflow id on rehydrate
2024-01-11 09:42:12 -05:00
Kent Keirsey
8e7e3c2b4a
Initial Styling Commit
2024-01-11 09:42:12 -05:00
psychedelicious
ff09fd30dc
feat(ui): if in dev mode, reset API on reconnect
...
This retains the current good developer experience when working on the server - the UI should fully reset when you restart the server.
2024-01-11 12:51:15 +11:00
psychedelicious
9fcc30c3d6
feat(ui): optimize reconnect queries
...
Add `FetchOnReconnect` tag, tagging relevant queries with it. This tag is invalidated in the socketConnected listener, when it is determined that the queue changed.
2024-01-11 12:51:15 +11:00
psychedelicious
b29a6522ef
feat(ui): always check for change to queue status when reconnecting
2024-01-11 12:51:15 +11:00