psychedelicious
eee4175e4d
Revert "fix(ui): Apple Pencil requires onPointerUp instead of onClick"
...
This reverts commit 2a90f4f59e .
2024-10-07 10:05:20 +11:00
psychedelicious
2a90f4f59e
fix(ui): Apple Pencil requires onPointerUp instead of onClick
...
With `onClick`, elements w/ a tooltip require a double-tap.
2024-10-04 07:44:40 -04:00
psychedelicious
4ee248b736
feat(ui): handle FLUX bbox constraints
...
- Update canvas slice's to track the current base model architecture instead of just the optimal dimension. This lets us derive both optimal dimension _and_ grid size for the currently selected model.
- Update all bbox size utilities to use derived grid size instead of hardcoded values of 8 or 64
- Review every damned instance of the number 8 in the whole frontend and update the ones that need to use the grid size
- Update the invoke button blocking logic to check against scaled bbox size, unless scaling is disabled.
- Update the invoke button blocking to say if it's width or height that is invalid and if its bbox or scaled, for both FLUX and the T2I adapter constraints
2024-09-23 16:16:51 +03:00
Ryan Dick
183a67cb1e
Merge branch 'main' into ryan/flux-trajectory-guidance
2024-09-20 22:29:34 +00:00
Mary Hipp
d3d1b49ff2
feat(ui): add optimized denoising toggle to linear UI for FLUX image to image and inpainting
2024-09-20 14:29:40 -04:00
psychedelicious
feabe24826
feat(ui): hide scaled w/h when bbox scaling is disabled
2024-09-20 15:02:27 +03:00
Mary Hipp
32344b5170
update image usage check for canvas v2 layers and upscaling
2024-09-18 10:19:35 +10:00
Mary Hipp
4b916d217b
all the lints
2024-09-17 15:44:20 +10:00
Mary Hipp
573c7d2088
feat(ui): FLUX linear - add VAE as required model field rather than allowing default
2024-09-17 15:44:20 +10:00
Mary Hipp
ffbf4aba1f
feat(ui): new fields and param layout for FLUX settings: guidance, t5 encoder, CLIP embed
2024-09-17 15:44:20 +10:00
psychedelicious
f76c998791
feat(ui): more translation updates
...
- Migrate some translations to `controlLayers` namespace
- Remove the `controlnet` namespace entirely
- Remove other unused translations
2024-09-16 15:10:17 +03:00
psychedelicious
3ed29a16a8
feat(ui): reworked layout (wip)
2024-09-09 23:17:41 +10:00
psychedelicious
a2969816fa
feat(ui): move seed out of advanced, hide HRF settings
2024-09-06 22:56:24 +10:00
psychedelicious
12e6f1be89
feat(ui): revised entity list action bars
...
- Global action bar on top
- Selected Entity action bar below
2024-09-06 22:56:24 +10:00
psychedelicious
ce9f17726f
feat(ui): restore aspect ratio preview component
2024-09-06 22:56:24 +10:00
psychedelicious
89ff9b8b88
perf(ui): optimize all selectors 2
...
Mostly selector optimization. Still a few places to tidy up but I'll get to that later.
2024-09-06 22:56:24 +10:00
psychedelicious
04f78a99ad
feat(ui): rough out undo/redo on canvas
2024-09-06 22:56:24 +10:00
psychedelicious
9b3ec12a3e
feat(ui): split out loras state from canvas rendering state
2024-09-06 22:56:24 +10:00
psychedelicious
d9fe16bab4
feat(ui): split out params/compositing state from canvas rendering state
...
First step to restoring undo/redo - the undoable state must be in its own slice. So params and settings must be isolated.
2024-09-06 22:56:24 +10:00
psychedelicious
dd7d4da5e3
feat(ui): normalize all actions to accept an entityIdentifier
...
Previously, canvas actions specific to an entity type only needed the id of that entity type. This allowed you to pass in the id of an entity of the wrong type.
All actions for a specific entity now take a full entity identifier, and the entity identifier type can be narrowed.
`selectEntity` and `selectEntityOrThrow` now need a full entity identifier, and narrow their return values to a specific entity type _if_ the entity identifier is narrowed.
The types for canvas entities are updated with optional type parameters for this purpose.
All reducers, actions and components have been updated.
2024-09-06 22:56:24 +10:00
psychedelicious
49c75ca381
tidy(ui): remove unused stuff 4
2024-09-06 22:56:24 +10:00
psychedelicious
989330af83
fix(ui): conflicts after rebasing
2024-09-06 22:56:24 +10:00
psychedelicious
433b9d6380
feat(ui): rip out document size
...
barely knew ye
2024-09-06 22:56:24 +10:00
psychedelicious
115d938e8e
feat(ui): make documnet size a rect
2024-09-06 22:56:24 +10:00
psychedelicious
53b6959bd5
refactor(ui): remove modular imagesize components
...
This is no longer necessary with canvas v2 and added a ton of extraneous redux actions when changing the image size. Also renamed to document size
2024-09-06 22:56:24 +10:00
psychedelicious
54ba852e71
refactor(ui): move loras to canvas slice
2024-09-06 22:56:24 +10:00
psychedelicious
638d16ce6e
refactor(ui): update components & logic to use new unified slice (again)
2024-09-06 22:56:24 +10:00
psychedelicious
9a860dbab5
refactor(ui): update components & logic to use new unified slice
2024-09-06 22:56:24 +10:00
psychedelicious
acc1fefa77
refactor(ui): update size/prompts state
2024-09-06 22:56:24 +10:00
psychedelicious
df9f998671
refactor(ui): canvas v2 (wip)
...
merge all canvas state reducers into one big slice (but with the logic split across files so it's not hell)
2024-09-06 22:56:24 +10:00
psychedelicious
f18c8e2239
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
2db7608401
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
506632206c
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
eb1113f95c
feat(ui): add translation string for "Upscale"
2024-08-22 11:36:07 +10:00
Mary Hipp
09d1e190e7
show warning for maxUpscaleDimension if model tab is disabled
2024-08-09 14:07:55 -04:00
Mary Hipp
2cff20f87a
update translations, change config value to be dimension instead of total pixels
2024-08-06 11:49:35 +10:00
Mary Hipp
4b85dfcefe
(ui): restore optioanl limit on upcsale output resolution
2024-08-06 11:49:35 +10:00
Mary Hipp
21deefdc41
(ui): add image resolution badge to initial upscale image
2024-08-06 11:49:35 +10:00
Mary Hipp
269fe2e3bb
track accordions in tabs separately so open/close state isnt shared
2024-07-26 08:20:24 +10:00
Mary Hipp
4c75b93410
feat(ui): add informational popovers for upscale params
2024-07-26 08:20:24 +10:00
Mary Hipp
5be0de967d
feat(ui): close generation and advanced accordions when switching to upscale tab
2024-07-26 08:20:24 +10:00
psychedelicious
db664afc49
fix(ui): model select overflowing when model names are too long
2024-07-24 09:35:32 +10:00
psychedelicious
2997f0a1f8
fix(ui): ts issue
2024-07-24 08:22:46 +10:00
psychedelicious
7f7ce291b5
feat(ui): revised simple upscale warning UI
2024-07-24 08:22:46 +10:00
chainchompa
1fd2a91ccd
only show warning for simple upscale if no simple upscale model is available
2024-07-24 06:56:02 +10:00
chainchompa
8e89157a83
reuse ParamSpandrelModel for simple upscale
2024-07-23 11:36:46 -04:00
chainchompa
bc1d9748ce
updated upscale warning to work for simple upscale
2024-07-23 10:04:31 -04:00
psychedelicious
2d31b82e60
feat(ui): tweak layout for warning message
2024-07-23 15:42:16 +10:00
psychedelicious
8f934747f3
feat(ui): updated upscale tab warnings
2024-07-23 15:42:16 +10:00
psychedelicious
8756a6b8c3
fix(ui): remove sharpness param
2024-07-23 10:55:54 +10:00