psychedelicious
627a98770f
feat(ui): optimize size when using CA image size
...
When using a Control Adapter image's dimensions as the main output dimensions, fit the dimensions to the model's optimal dimensions.
2024-03-28 08:47:07 +11:00
psychedelicious
9eacc0c189
fix(ui): use the old combobox component for dropdowns
...
Closes #6011
2024-03-22 07:33:52 +11:00
psychedelicious
7019d93ff0
feat(ui): add missing detect_resolution to processors
2024-03-21 07:02:57 -07:00
Mary Hipp
8c6c33a315
'feat(ui): update processor constants to calculate default resolution based on current base model, add image_resolution to the processors that didn't have it in the UI as a configurable op
...
tion
2024-03-19 21:59:51 +11:00
psychedelicious
19d66d5ec7
feat(ui): single getModelConfigs query
...
Single query, with simple wrapper hooks (type-safe). Updated everywhere in frontend.
2024-03-14 23:37:40 +11:00
Mary Hipp
99d2099ccd
add key for controladapter CustomSelect too
2024-03-14 07:25:48 +11:00
psychedelicious
53b7f6be37
feat(ui): use default settings for control adapters for processor
2024-03-08 12:44:58 -05:00
psychedelicious
b661d93bd8
tidy(ui): clean up unused code 4
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
4c19d5cee4
fix(ui): fix missing component import
2024-03-01 10:42:33 +11:00
psychedelicious
a253047d8e
tidy(ui): tidy model identifier logic
...
- Move some files around
- Use util to extract key and base from model config
2024-03-01 10:42:33 +11:00
Mary Hipp
e20a506e40
undo
2024-03-01 10:42:33 +11:00
Mary Hipp
77b8eed51b
fix literal strings in MM UI
2024-03-01 10:42:33 +11:00
psychedelicious
3ed2963f43
feat(ui): refactor metadata handling
...
Refactor of metadata recall handling. This is in preparation for a backwards compatibility layer for models.
- Create helpers to fetch a model outside react (e.g. not in a hook)
- Created helpers to parse model metadata
- Renamed a lot of types that were confusing and/or had naming collisions
2024-03-01 10:42:33 +11:00
psychedelicious
e50b76571a
feat(ui): fix main model & control adapter model selects
2024-03-01 10:42:33 +11:00
psychedelicious
dab939f7d1
feat(ui): update model identifier to be key (wip)
...
- Update most model identifiers to be `{key: string}` instead of name/base/type. Doesn't change the model select components yet.
- Update model _parameters_, stored in redux, to be `{key: string, base: BaseModel}` - we need to store the base model to be able to check model compatibility. May want to store the whole config? Not sure...
2024-03-01 10:42:33 +11:00
Jennifer Player
f0d4c71960
updated tooltip popovers
2024-02-19 12:50:11 -05:00
blessedcoolant
e82c21b5ba
chore: rename DWPose to DW Openpose
2024-02-12 11:12:45 -05:00
blessedcoolant
50b93992cf
cleanup: Remove Openpose Image Processor
2024-02-12 11:12:45 -05:00
blessedcoolant
67cbfeb33d
feat: Add output image resizing for DWPose
2024-02-12 11:12:45 -05:00
blessedcoolant
f7998b4be0
feat: Add DWPose to Linear UI
2024-02-12 11:12:45 -05:00
psychedelicious
b10d745dae
fix(ui): when using control image dimensions, round to 8
...
The control image dimensions were set directly without rounding them to 8, causing an error during generation if they weren't a multiple of 8.
2024-02-09 08:44:11 -05: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
blessedcoolant
7cb49e65bd
feat: Add Resolution to DepthAnything
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
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
8bbdfc45fa
fix(ui): increase size of control adapters advanced toggle button
2024-01-23 14:13:18 -06:00
psychedelicious
be72765d02
fix(ui): bump @invoke-ai/ui, fix TS issues
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
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
Josh Corbett
5779542084
Updated icons + Minor UI Tweaks ( #5427 )
...
* feat: 💄 updated icons + minor ui tweaks
* revert: 💄 removes ui tweaks
* revert: 💄 removed more ui tweaks
removed more ui tweaks and a commented-out icon import
* style: 🚨 satisfy the linter
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
2024-01-07 14:14:44 +11:00
psychedelicious
3428ea1b3c
feat(ui): use config for all numerical params
...
Centralize the initial/min/max/etc values for all numerical params. We used this for some but at some point stopped updating it.
All numerical params now use their respective configs. Far fewer hardcoded values throughout the app now.
Also updated the config types a bit to better accommodate slider vs number input constraints.
2024-01-07 13:49:29 +11:00
psychedelicious
4716632c23
fix(ui): tsc
2024-01-06 00:03:07 +11:00
psychedelicious
3c4150d153
fix(ui): update most other selectors
...
Just a few stragglers left. Good enough for now.
2024-01-06 00:03:07 +11:00
psychedelicious
a23502f7ff
fix(ui): do not use state => state as an input selector
...
This is a no-no, whoops!
2024-01-06 00:03:07 +11:00
psychedelicious
6a5e0be022
fix(ui): reduce minStepsBetweenThumbs for ca begin/end
2024-01-04 13:59:25 +11:00
psychedelicious
4fdc4c15f9
feat(ui): add optimal size handling
2024-01-03 09:09:50 -05:00
psychedelicious
06245bc761
feat(ui): add support for default values for sliders
2024-01-03 13:18:50 +11:00
psychedelicious
799ef0e7c1
fix(ui): control adapter models select disable if incompatible
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
2d96c62fdb
feat(ui): more memoization
2023-12-29 08:26:14 -05:00
psychedelicious
3ce8f3d6fe
feat(ui): more memoization
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
4f2930412e
feat(ui): use primitive style props or memoized sx objects
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
72cb8b83fe
feat(ui): upgrade redux and RTK
...
There are a few breaking changes, which I've addressed.
The vast majority of changes are related to new handling of `reselect`'s `createSelector` options.
For better or worse, we memoize just about all our selectors using lodash `isEqual` for `resultEqualityCheck`. The upgrade requires we explicitly set the `memoize` option to `lruMemoize` to continue using lodash here.
Doing that required changing our `defaultSelectorOptions`.
Instead of changing that and finding dozens of instances where we weren't using that and instead were defining selector options manually, I've created a pre-configured selector: `createMemoizedSelector`.
This is now used everywhere instead of `createSelector`.
2023-12-09 16:09:26 +11:00
psychedelicious
95a3c89a56
chore(ui): lint
2023-12-09 16:03:09 +11:00