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
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
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