psychedelicious
5ed2e9b0fc
refactor(ui): move loras to canvas slice
2024-08-30 22:18:47 +10:00
psychedelicious
5184d05bc2
refactor(ui): port remaining canvasV1 rendering logic to V2, remove old code
2024-08-30 22:18:47 +10:00
psychedelicious
7ef4553fc9
refactor(ui): fix more types
2024-08-30 22:18:47 +10:00
psychedelicious
d6bd1e4a49
refactor(ui): metadata recall (wip)
...
just enough let the app run
2024-08-30 22:18:47 +10:00
psychedelicious
426f1b6f9a
refactor(ui): fix misc types
2024-08-30 22:18:47 +10:00
psychedelicious
4c37c7f280
refactor(ui): fix delete image stuff
2024-08-30 22:18:47 +10:00
psychedelicious
02ad7a0f93
refactor(ui): update components & logic to use new unified slice
2024-08-30 22:18:47 +10:00
psychedelicious
bfa496e37f
refactor(ui): merge compositing, params into canvasV2 slice
2024-08-30 22:18:47 +10:00
psychedelicious
0833dbb19d
refactor(ui): update dnd/image upload
2024-08-30 22:18:47 +10:00
psychedelicious
1b6bf58e58
refactor(ui): update size/prompts state
2024-08-30 22:18:47 +10:00
psychedelicious
5ead7bc7b4
refactor(ui): rip out old control adapter implementation
2024-08-30 22:18:47 +10:00
psychedelicious
4071e96245
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-08-30 22:18:47 +10:00
psychedelicious
df3abc75c2
refactor(ui): canvas v2 (wip)
...
Redo all UI components for different canvas entity types
2024-08-30 22:18:47 +10:00
psychedelicious
8533f207dc
refactor(ui): canvas v2 (wip)
2024-08-30 22:18:47 +10:00
psychedelicious
d135c48319
refactor(ui): canvas v2 (wip)
2024-08-30 22:18:47 +10:00
psychedelicious
ca9090d070
refactor(ui): canvas v2 (wip)
2024-08-30 22:18:47 +10:00
psychedelicious
0e2b328c88
feat(ui): support image objects on raster layers
...
Just the UI and internal state, not rendering yet.
2024-08-30 22:18:47 +10:00
psychedelicious
20e6a57cf1
feat(ui): raster layer logic
...
- Deduplicate shared logic
- Split up giant renderers file into separate cohesive files
- Tons of cleanup
- Progress on raster layer functionality
2024-08-30 22:18:47 +10:00
chainchompa
326de55d3e
remove api changes and only preselect style preset
2024-08-28 09:53:29 -04:00
chainchompa
b2df909570
added selectedStylePreset to preload presets when app loads
2024-08-28 09:50:44 -04:00
chainchompa
026ac36b06
Revert "added selectedStylePreset to preload presets when app loads"
...
This reverts commit e97fd85904
.
2024-08-28 09:44:08 -04:00
chainchompa
fc39086fb4
call stylePresetSelected
2024-08-27 15:34:31 -04:00
chainchompa
e97fd85904
added selectedStylePreset to preload presets when app loads
2024-08-27 15:33:24 -04:00
psychedelicious
c451f52ea3
chore(ui): lint
2024-08-22 21:00:09 +10:00
psychedelicious
8a2c78f2e1
fix(ui): dynamic prompts not recalculating when deleting or updating a style preset
...
The root cause was the active style preset not being reset when it was deleted, or no longer present in the list of style presets.
- Add extra reducer to `stylePresetSlice` to reset the active preset if it is deleted or otherwise unavailable
- Update the dynamic prompts listener to trigger on delete/update/list of style presets
2024-08-22 21:00:09 +10:00
chainchompa
268be97ba0
remove ref, make options optional for useGetLoadWorkflow
2024-08-15 09:18:41 -04:00
chainchompa
88648dca1a
change selectedWorkflow to selectedWorkflowId
2024-08-14 11:22:37 -04:00
chainchompa
8840df2b00
Merge branch 'main' into chainchompa/preselect-workflows
2024-08-14 09:02:12 -04:00
chainchompa
af159acbdf
cleanup
2024-08-14 08:58:38 -04:00
chainchompa
471719bbbe
add base prop for selectedWorkflow to allow loading a workflow on launch
2024-08-14 08:47:02 -04:00
Mary Hipp
e0d3927265
feat: add flag for allowPrivateStylePresets that shows a type field when creating a style preset
2024-08-13 14:08:54 -04:00
Mary Hipp
6c927a9fd4
move mdoal state into nanostore
2024-08-12 12:46:02 -04:00
Mary Hipp
12ba15bfa9
UI updates per PR feedback
2024-08-09 16:00:13 -04:00
Mary Hipp
6461f4758d
lint fix
2024-08-08 15:07:58 -04:00
Mary Hipp
3189ab6863
get dynamic prompts working
2024-08-08 15:07:23 -04:00
Mary Hipp
a7b83c8b5b
Merge remote-tracking branch 'origin/main' into maryhipp/style-presets
2024-08-08 13:56:59 -04:00
Mary Hipp
4cc41e0188
translations and lint fix
2024-08-08 13:56:37 -04:00
Mary Hipp
2604fd9fde
a whole bunch of stuff
2024-08-06 15:31:13 -04:00
psychedelicious
f7863e17ce
docs(ui): add docstring for maxUpscaleDimension
2024-08-06 11:49:35 +10: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
857d74bbfe
wip apply and calculate prompt with interpolation
2024-08-05 19:11:48 -04:00
Mary Hipp
fd7a635777
(ui) the most basic crud ui: view list of presets, create a new preset, edit/delete existing presets
2024-08-05 15:48:23 -04:00
Mary Hipp
a61209206b
remove custom SDXL prompts component
2024-08-05 13:40:46 -04:00
psychedelicious
f465a956a3
feat(ui): remove "images can be restored" messages
2024-08-04 09:43:20 +10:00
chainchompa
e78fb428f0
simplify destination prop handling
2024-07-31 18:06:22 -04:00
chainchompa
31e270e32c
add base prop for destination to direct users to different tabs
2024-07-31 17:20:51 -04:00
psychedelicious
171a4e6d80
fix(ui): race condition when deleting a board and resetting selected/auto-add
...
We were checking the selected and auto-add board ids against the query cache to see if they still exist. If not, we reset.
This only works if the query cache is updated by the time we do the check - race condition!
We already have the board id from the query args, so there's no need to check the query cache - just compare the deleted board ID directly.
Previously this file's several listeners were all in a single one and I had adapted/split its logic up a bit wonkily, introducing these problems.
2024-07-29 11:36:03 +10:00
psychedelicious
e3a75a8adf
fix(ui): fix logic to reset selected/auto-add boards when toggling show archived boards
...
The logic was incorrect in two ways:
1. We only ran the logic if we _enable_ showing archived boards. It should be run we we _disable_ showing archived boards.
2. If we couldn't find the selected board in the query cache, we didn't do the reset. This is wrong - if the board isn't in the query cache, we _should_ do the reset. This inverted logic makes more sense before the fix for issue 1.
2024-07-29 11:36:03 +10:00
psychedelicious
b99a53e64e
tidy(ui): organise postprocessing listeners
2024-07-24 08:22:46 +10:00