psychedelicious
5a2f5c105d
refactor(ui): refImage.ipAdapter -> refImage.config
2025-06-26 19:57:15 +10:00
psychedelicious
22eb25be48
refactor(ui): use more succient syntax to opt-out of RTKQ caching for model fetching utils
2025-03-21 10:24:03 +11:00
Brandon Rising
246b59f148
Run pnpm fix, regenerate schema
2024-12-17 07:28:45 -05:00
Brandon Rising
046d19446c
Rename Structural Lora to Control Lora
2024-12-17 07:28:45 -05:00
Brandon Rising
f3b253987f
Initial setup for flux tools control loras
2024-12-17 07:28:45 -05:00
Riku
107e48808a
fix(ui): recall seamless settings
2024-10-29 20:43:44 +11:00
psychedelicious
59d0ad4505
chore(ui): migrate from ts-toolbelt to type-fest
...
`ts-toolbelt` is unmaintained while `type-fest` is very actively maintained. Both provide similar TS utilities.
2024-10-23 16:01:15 +11:00
Riku
6e7491b086
fix(ui): recall guidance value for flux images
2024-10-15 18:06:45 +11:00
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
fd982fa7c2
fix(ui): prevent unhandled promise rejections
2024-10-03 10:32:59 -04:00
psychedelicious
778ef8a752
fix(ui): model recall clobbers w/h recal
2024-09-22 18:41:11 +03:00
psychedelicious
1644810896
feat(ui): revised getImageDTO utils
...
- Rename util to `getImageDTOSafe`
- Update API to accept the same options as RTKQ's `initiate`
- Add `getImageDTO`; while `getImageDTOSafe` returns null if the image is not found, the new util throws
- Update usage of `getImageDTOSafe`
2024-09-20 14:54:46 +03:00
psychedelicious
362223cd20
feat(ui): support recalling canvas metadata
...
- Add parser, recaller and handler
- Add redux action to rehydrate the whole shebang at once
2024-09-19 23:36:22 +10:00
psychedelicious
a28db7d496
feat(ui): create canvas metadata zod schema
...
- Add async zod refiner to `zImageWithDims` which fetches the image as part of validation
- Add `zServerValidatedModelIdentifierField`, a zod-refined version of `zModelIdentifierField` which fetches the model as part of validation
- Add `zCanvasMetadata` zod schema, which contains only canvas entities - no bbox, and no `isHidden` flags
2024-09-19 23:36:22 +10:00
Mary Hipp
4b916d217b
all the lints
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
26e23a43dc
tidy(ui): create/move store utils to separate file
2024-09-16 15:10:17 +03:00
psychedelicious
52a19ceac3
feat(ui): ip adapter -> reference image (internal state)
...
We are renaming "IP Adapter" to "Reference Image".
- Update all internal state
- Update all components
2024-09-16 15:10:17 +03:00
psychedelicious
17dd8bb37b
chore(ui): lint
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
dd2e68bf00
fix(ui): rip out broken recall logic, NO TS ERRORS
2024-09-06 22:56:24 +10:00
psychedelicious
7825e325df
chore(ui): lint
2024-09-06 22:56:24 +10:00
psychedelicious
56d53b18f0
chore(ui): prettier
2024-09-06 22:56:24 +10:00
psychedelicious
20961215e7
chore(ui): eslint
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
cf6751cc06
tidy(ui): remove unused stuff 3
2024-09-06 22:56:24 +10:00
psychedelicious
7b429e0a54
feat(ui): clean up logging namespaces, allow skipping namespaces
2024-09-06 22:56:24 +10:00
psychedelicious
1303396d0e
feat(ui): split control layers from raster layers for UI and internal state, same rendering as raster layers
2024-09-06 22:56:24 +10:00
psychedelicious
bcd5bcf8d7
feat(ui): implement cache for image rasterization, rip out some old controladapters code
2024-09-06 22:56:24 +10:00
psychedelicious
787a4422cb
feat(ui, app): use layer as control (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
02ddfc5aac
feat(ui): clean up state, add mutex for image loading, add thumbnail loading
2024-09-06 22:56:24 +10:00
psychedelicious
0578bf0890
tidy(ui): rename canvas stuff
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
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
3e21106336
refactor(ui): create classes to abstract mgmt of konva nodes
2024-09-06 22:56:24 +10:00
psychedelicious
efac5c8f06
refactor(ui): use "entity" instead of "data" for canvas
2024-09-06 22:56:24 +10:00
psychedelicious
17911ecf64
fix(ui): move lora followup fixes
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
9be3e0050d
refactor(ui): metadata recall (wip)
...
just enough let the app run
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
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
506632206c
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
1c5c3cdbd6
tidy(ui): organize control layers konva logic
...
- More comments, docstrings
- Move things into saner, less-coupled locations
2024-06-06 07:45:13 +10:00
psychedelicious
64523c4b1b
fix(ui): handle concat when recalling prompts
...
This required some minor reworking of of the logic to recall multiple items. I split this into a utility function that includes some special handling for concat.
Closes #6478
2024-06-04 06:01:01 +10:00
psychedelicious
89a764a359
fix(ui): improve model metadata parsing fallback
...
When the model in metadata's key no longer exists, fall back to fetching by name, base and type. This was the intention all along but the logic was never put in place.
2024-06-04 06:01:01 +10:00
psychedelicious
3b381b5a8c
tidy(ui): remove the ToastID enum
...
With the model install logic cleaned up the enum is less useful
2024-05-22 09:40:46 +10:00
psychedelicious
a66b3497e0
feat(ui): port all toasts to use new util
2024-05-22 09:40:46 +10:00