psychedelicious
baa5f75976
fix(ui): fix node styles
...
Got borked when adjusting control adapter styling. Should revisit this later.
2024-01-03 13:18:50 +11:00
psychedelicious
989aaedc7f
feat(nodes): add title for cfg rescale mult on denoise_latents
2024-01-03 13:18:50 +11:00
psychedelicious
93e08df849
fix(ui): min fallback on nodes number fields -> -NUMPY_RAND_MAX
2024-01-03 13:18:50 +11:00
psychedelicious
4a43e1c1b8
fix(ui): restore global hotkeys
2024-01-03 13:18:50 +11:00
Millun Atluri
2bbab9d94e
Update recommends db backup when installing RC ( #5381 )
...
* Udpater suggest db backup when installing RC
* Update invokeai_update.py to be more specific
* Update invokeai_update.py
* Update invokeai_update.py
* Update invokeai_update.py
* Update invokeai_update.py
2024-01-02 22:44:45 +00:00
Mary Hipp
a456f6e6f0
lint
2024-01-02 10:02:33 -05:00
Mary Hipp
a408f562d6
option to use new brand for loader
2024-01-02 10:02:33 -05:00
Mary Hipp
cefdf9ed00
define text color for tooltips
2024-01-02 10:02:33 -05:00
psychedelicious
4cffe282bd
feat(ui): disable scan models tab
...
not working yet WIP
2024-01-02 07:28:53 -05:00
psychedelicious
ae8ffe9d51
chore(ui): lint
2024-01-02 07:28:53 -05:00
psychedelicious
870cc5b733
feat(ui): dynamic prompts loading ux
...
- Prompt must have an open curly brace followed by a close curly brace to enable dynamic prompts processing
- If a the given prompt already had a dynamic prompt cached, do not re-process
- If processing is not needed, user may invoke immediately
- Invoke button shows loading state when dynamic prompts are processing, tooltip says generating
- Dynamic prompts preview icon in prompt box shows loading state when processing, tooltip says generating
2024-01-02 07:28:53 -05:00
psychedelicious
0b4eb888c5
feat(ui): canvas bbox interaction tweaks
...
Making the math match the previous implementation
2024-01-02 07:28:53 -05:00
psychedelicious
11f1cb5391
fix(ui): fix canvas bbox style when cursor leaves canvas
2024-01-02 07:28:53 -05:00
psychedelicious
1e2e26cfc2
feat(ui): add open queue to queue action menu
2024-01-02 07:28:53 -05:00
psychedelicious
e9bce6e1c3
fix(ui): fix cut off badge on queue actions menu
2024-01-02 07:28:53 -05:00
psychedelicious
799ef0e7c1
fix(ui): control adapter models select disable if incompatible
2024-01-02 07:28:53 -05:00
psychedelicious
61c10a7ca8
fix(ui): fix canvas bbox interactions
2024-01-02 07:28:53 -05:00
psychedelicious
93880223e6
feat(ui): move strength up one
2024-01-02 07:28:53 -05:00
psychedelicious
271456b745
fix(ui): fix badges for image settings canvas
2024-01-02 07:28:53 -05:00
psychedelicious
cecee33bc0
feat(ui): support grid size of 8 on canvas
...
- Support grid size of 8 on canvas
- Internal canvas math works on 8
- Update gridlines rendering to show 64 spaced lines and 32/16/8 when zoomed in
- Bbox manipulation defaults to grid of 64 - hold shift to get grid of 8
Besides being something we support internally, supporting 8 on canvas avoids a lot of hacky logic needed to work well with aspect ratios.
2024-01-02 07:28:53 -05:00
psychedelicious
4f43eda09b
feat(ui): modularize imagesize components
...
Canvas and non-canvas have separate width and height and need their own separate aspect ratios. In order to not duplicate a lot of aspect ratio logic, the components relating to image size have been modularized.
2024-01-02 07:28:53 -05:00
psychedelicious
011757c497
fix(ui): add numberinput to control adapter weight
...
Required some rejiggering of the InvControl and InvSlider styles.
2024-01-02 07:28:53 -05:00
psychedelicious
2700d0e769
fix(nodes): fix constraints/validation for controlnet
...
- Fix `weight` and `begin_step_percent`, the constraints were mixed up
- Add model validatort to ensure `begin_step_percent < end_step_percent`
- Bump version
2024-01-02 07:28:53 -05:00
psychedelicious
d256d93a2a
feat(ui): use larger chevrons for number input steppers
2024-01-02 07:28:53 -05:00
psychedelicious
f3c8e986a5
feat(ui): bump badge fontsize to 10px
2024-01-02 07:28:53 -05:00
psychedelicious
48f5e4f313
fix(ui): missing denoise strength
...
accidentally hid it from everywhere
2024-01-02 07:28:53 -05:00
Millun Atluri
49ca949cd6
{release} Update version to 3.6.0rc1
2024-01-02 10:23:55 +11:00
Millun Atluri
5d69f1cbf5
Remove frontend build from repo permanantly
2024-01-02 10:18:11 +11:00
psychedelicious
9169006171
chore(ui): lint
2024-01-01 08:13:23 -05:00
psychedelicious
28b74523d0
fix(ui): fix dynamic prompts with single prompt
...
Closes #5292
The special handling for single prompt is totally extraneous and caused a bug.
2024-01-01 08:13:23 -05:00
psychedelicious
9359c03c3c
feat(ui): use zod-less workflow builder when appropriate
2024-01-01 08:13:23 -05:00
psychedelicious
598241e0f2
fix(ui): InvContextMenu.placement = 'auto-end'
...
This ensures the context menus don't get cut off when the window size is very small.
2024-01-01 08:13:23 -05:00
psychedelicious
e698a8006c
feat(ui): use lruMemoize for argsMemoize on selectors
...
This provides a small performance improvement, on the order of a few ms per interaction.
2024-01-01 08:13:23 -05:00
psychedelicious
34e7b5a7fb
chore(ui): lint
2024-01-01 08:13:23 -05:00
psychedelicious
5c3dd62ae0
feat(ui): update useGlobalModifiers to store each key independently
...
This reduces rerenders when the user presses a modifier key.
2024-01-01 08:13:23 -05:00
psychedelicious
7e2eeec1f3
feat(ui): optimized workflow building
...
- Store workflow in nanostore as singleton instead of building for each consumer
- Debounce the build (already was indirectly debounced)
- When the workflow is needed, imperatively grab it from the nanostores, instead of letting react handle it via reactivity
2024-01-01 08:13:23 -05:00
psychedelicious
7eb79266c4
feat(ui): split dnd overlay to separate component
...
This reduces top-level rerenders when zooming in and out on workflow editor
2024-01-01 08:13:23 -05:00
psychedelicious
5d4610d981
feat(ui): store node templates in separate slice
...
Flattens the `nodes` slice. May offer minor perf improvements in addition to just being cleaner.
2024-01-01 08:13:23 -05:00
psychedelicious
7c548c5bf3
feat(ui): move canvas interaction state to nanostores
...
This drastically reduces the computation needed when moving the cursor. It also correctly separates ephemeral interaction state from redux, where it is not needed.
Also removed some unused canvas state.
2024-01-01 08:13:23 -05:00
psychedelicious
2a38606342
fix(ui): show denoising strength on canvas
2024-01-01 08:13:23 -05:00
psychedelicious
793cf39964
feat(ui): bump react-resizable-panels & improve usePanel hook
2024-01-01 08:13:23 -05:00
psychedelicious
ab3e689ee0
fix(ui): fix workflow library new workflow/settings closing
...
Need to make the menu not lazy. A better solution is to refactor how the settings works, rendering it in a different part of the component tree
2024-01-01 08:13:23 -05:00
psychedelicious
20f497054f
feat(ui): optimized useMouseOverNode
...
Manually hook into pubsub to eliminate extraneous rerenders on hook change
2024-01-01 08:13:23 -05:00
psychedelicious
6209fef63d
fix(ui): focus add node popover on open
...
Need an extra ref to pass to the InvSelect component.
2024-01-01 08:13:23 -05:00
psychedelicious
5168415999
feat(ui): use nanostores for useMouseOverNode
...
This greatly reduces the weight of the event handlers.
2024-01-01 08:13:23 -05:00
psychedelicious
b490c8ae27
chore(ui): bump deps
...
Includes vite v5 - only change needed is to set .mts for vite config files.
2024-01-01 08:13:23 -05:00
psychedelicious
6f354f16ba
feat(ui): canvas perf improvements
2024-01-01 08:13:23 -05:00
psychedelicious
e108a2302e
fix(ui): fix uninteractable canvas bbox
2024-01-01 08:13:23 -05:00
psychedelicious
2ffecef792
feat(ui): bump react-resizable-panels, improve panel resize logic
2024-01-01 08:13:23 -05:00
psychedelicious
2663a07e94
feat(ui): misc canvas perf improvements
...
- disable listening when not needed
- use useMemo for gridlines
2024-01-01 08:13:23 -05:00
psychedelicious
8d2ef5afc3
feat(ui): disable onlyRenderVisibleElements
on Flow
...
This can cause stuttering when nodes are being moved in and out of the viewport. I think it's better to improve rendering/perf in other ways.
2024-01-01 08:13:23 -05:00
psychedelicious
539887b215
feat(ui): misc perf/rerender improvements
...
More efficient selectors, memoized/stable references to objects, lazy popover/menu rendering.
2024-01-01 08:13:23 -05:00
psychedelicious
2ba505cce9
feat(ui): use pubsub to for globalcontextmenuclose
...
Far more efficient than the crude redux incrementor thing.
2024-01-01 08:13:23 -05:00
psychedelicious
bd92a31d15
feat(ui): add createLruSelector
...
This uses the previous implementation of the memoization function in reselect. It's possible for the new weakmap-based memoization to cause memory leaks in certain scenarios, so we will avoid it for now.
2024-01-01 08:13:23 -05:00
psychedelicious
ee2529f3fd
lru
2024-01-01 08:13:23 -05:00
psychedelicious
89b7082bc0
fix(ui): remove debug stmts
2024-01-01 08:13:23 -05:00
psychedelicious
55dfabb892
feat(ui): use make label widths grow
...
Fixes issue where translations overflowed due to hardcoded widths.
2024-01-01 08:13:23 -05:00
psychedelicious
2a41fd0b29
fix(ui): fix field title styling
2024-01-01 08:13:23 -05:00
Васянатор
966919ea4a
translationBot(ui): update translation (Russian)
...
Currently translated at 98.1% (1335 of 1360 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-01-01 11:38:27 +11:00
Hosted Weblate
d3acdcf12f
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-01-01 11:38:27 +11:00
psychedelicious
52f9749bf5
feat(ui): partial rebuild of model manager internal logic
2023-12-29 08:26:14 -05:00
psychedelicious
2a661450c3
feat(ui): increase size of clear icon on selects
2023-12-29 08:26:14 -05:00
psychedelicious
2d96c62fdb
feat(ui): more memoization
2023-12-29 08:26:14 -05:00
psychedelicious
3e6173ee8c
feat(ui): only show refiner models on refiner model select
2023-12-29 08:26:14 -05:00
psychedelicious
4e9841c924
feat(ui): add refiner cfg scale & steps defaults & marks
2023-12-29 08:26:14 -05:00
psychedelicious
f4ea495d23
feat(ui): InvSwitch and InvSliderThumb are round
2023-12-29 08:26:14 -05:00
psychedelicious
43a4b815e8
fix(ui): fix InvSlider vertical thumb styling
2023-12-29 08:26:14 -05:00
psychedelicious
4134f18319
fix(ui): InvEditable, linear field view styling
2023-12-29 08:26:14 -05:00
psychedelicious
cd292f6c1c
fix(ui): remove errant console.log
2023-12-29 08:26:14 -05:00
psychedelicious
3ce8f3d6fe
feat(ui): more memoization
2023-12-29 08:26:14 -05:00
psychedelicious
10fd4f6a61
feat(ui): update panel lib, move gallery to percentages
2023-12-29 08:26:14 -05:00
psychedelicious
47b1fd4bce
chore(ui): bump deps
2023-12-29 08:26:14 -05:00
psychedelicious
300805a25a
fix(ui): fix typing issues
2023-12-29 08:26:14 -05:00
psychedelicious
56527da73e
feat(ui): memoize all components
2023-12-29 08:26:14 -05:00
psychedelicious
ca4b8e65c1
feat(ui): use stable objects for animation/native element styles
2023-12-29 08:26:14 -05:00
psychedelicious
f5194f9e2d
feat(ui): generation accordion badges
2023-12-29 08:26:14 -05:00
psychedelicious
ccbbb417f9
feat(ui): fix control adapters styling
2023-12-29 08:26:14 -05:00
psychedelicious
37786a26a5
feat(ui): move scaling up to image settings -> advanced
2023-12-29 08:26:14 -05:00
psychedelicious
4f2930412e
feat(ui): use primitive style props or memoized sx objects
2023-12-29 08:26:14 -05:00
psychedelicious
83049a3a5b
fix(ui): typo in canvas model handler
2023-12-29 08:26:14 -05:00
psychedelicious
38256f97b3
fix(ui): fix word break on LoRACard
2023-12-29 08:26:14 -05:00
psychedelicious
77f2aabda4
feat(ui): sort model select options with compatible base model first
2023-12-29 08:26:14 -05:00
psychedelicious
e32eb2a649
fix(ui): restore labels in model manager selects
2023-12-29 08:26:14 -05:00
psychedelicious
f4cdfa3b9c
fix(ui): canvas layer select cut off
2023-12-29 08:26:14 -05:00
psychedelicious
e99b715e9e
fix(ui): board collapse button styling
2023-12-29 08:26:14 -05:00
psychedelicious
ed96c40239
feat(ui): change queue icon
2023-12-29 08:26:14 -05:00
psychedelicious
1b3bb932b9
feat(ui): reduce button fontweight to semibold
2023-12-29 08:26:14 -05:00
psychedelicious
f0b102d830
feat(ui): ux improvements & redesign
...
This is a squash merge of a bajillion messy small commits created while iterating on the UI component library and redesign.
2023-12-29 08:26:14 -05:00
psychedelicious
a47d91f0e7
feat(api): add max_prompts constraints
2023-12-29 08:26:14 -05:00
Millun Atluri
faec320d48
{release} v3.5.1
2023-12-29 13:33:47 +11:00
Millun Atluri
fd074abdc4
Add frontend build
2023-12-29 13:16:23 +11:00
Millun Atluri
d8eb58cd58
Add frontend build
2023-12-29 13:15:37 +11:00
Millun Atluri
a6935ae7fb
Add Tiled Upscaling to default workflows
2023-12-29 12:26:50 +11:00
psychedelicious
1b8651fa26
fix(ui): do no create extraneous pos
var
2023-12-28 20:44:02 +11:00
Jonathan
f6664960ca
Update useBuildNode.ts
...
Added addition of the rect's top left coordinates to get equivalent behavior.
2023-12-28 20:44:02 +11:00
Jonathan
84a001720c
Added back bounds check
2023-12-28 20:44:02 +11:00
Jonathan
c9951cd86b
Eliminate constant console deprecation warnings
...
React Flow 11.10 eliminates the need to use project() and issues a deprecation warning to the console every time that onMouseMove is called (see https://reactflow.dev/whats-new/2023-11-10#rename-usereactflowproject-to-usereactflowscreentoflowposition ). This code change eliminates that warning,
2023-12-28 20:44:02 +11:00
Jonathan
83a9e26cd8
Respect torch-sdp in config.yaml ( #5353 )
...
If the user specifies `torch-sdp` as the attention type in `config.yaml`, we can go ahead and use it (if available) rather than always throwing an exception.
2023-12-28 05:46:28 +00:00
Millun Atluri
2a6c940047
Merge branch 'main' into fix/remove_fe_build
2023-12-28 16:04:16 +11:00
Millun Atluri
53b835945f
Updated with ruff formatting
2023-12-28 11:05:19 +11:00