psychedelicious
5296263954
feat(ui): add missing translations
2025-07-31 22:51:33 +10:00
Ar7ific1al
fa94a05c77
Update CanvasStateApiModule.ts
...
Add temporary grid snap with ctrl, optional small step with ctrl+shift, while grid snap is off
2025-07-30 12:16:42 +10:00
psychedelicious
57ce2b8aa7
chore(ui): lint
2025-07-29 06:34:08 +10:00
psychedelicious
5a102f6b53
chore(ui): lint
2025-07-25 19:04:21 +10:00
psychedelicious
038b110a82
fix(ui): do not store whole model configs in state
2025-07-25 19:04:21 +10:00
psychedelicious
f3cd49d46e
refactor(ui): just manually validate async stuff
2025-07-25 19:04:21 +10:00
psychedelicious
ca7d7c9d93
refactor(ui): work around zod async validation issue
2025-07-25 19:04:21 +10:00
psychedelicious
aed9b1013e
refactor(ui): use zod for all redux state
2025-07-25 19:04:21 +10:00
psychedelicious
6962536b4a
refactor(ui): use zod for all redux state (wip)
...
needed for confidence w/ state rehydration logic
2025-07-25 19:04:21 +10:00
psychedelicious
456205da17
refactor(ui): iterate on persistence
2025-07-25 19:04:20 +10:00
psychedelicious
ca0684700e
refactor(ui): alternate approach to slice configs
2025-07-25 19:04:19 +10:00
psychedelicious
e872c253b1
refactor(ui): cleaner slice definitions
2025-07-25 19:04:19 +10:00
psychedelicious
28633c9983
feat: server-side client state persistence
2025-07-25 19:04:19 +10:00
psychedelicious
b53d2250f7
feat(ui): reduce snap tolerance to make it easier to break the snap
2025-07-23 23:05:40 +10:00
psychedelicious
242eea8295
fix(ui): incorrect zoom direction w/ small scroll amounts
2025-07-23 23:05:40 +10:00
Kent Keirsey
f95b686bdc
reposition export button
2025-07-23 11:55:11 +10:00
psychedelicious
2aa163b3a2
feat(ui): add default inpaint mask layer on canvas reset
2025-07-22 10:26:57 +10:00
psychedelicious
564f4f7a60
feat(ui): better icon for invert mask button
2025-07-21 13:47:02 +10:00
Kent Keirsey
113a118fcf
fix potential for null data
2025-07-21 13:47:02 +10:00
Kent Keirsey
1f930cdaf2
fix
2025-07-21 13:47:02 +10:00
Kent Keirsey
c490e0ce08
feat(ui):invert mask
2025-07-21 13:47:02 +10:00
Kent Keirsey
7640ee307c
feat(ui):Adjust-bbox-to-masks
2025-07-21 13:26:49 +10:00
psychedelicious
af7737e804
fix(ui): context menu on staging area images
...
There was a subtle issue where the progress image wasn't ever cleared,
preventing the context menu from working on staging area preview images.
The staging area preview images were displaying the last progress image
_on top of_ the result image. Because the image elements were so small,
you wouldn't notice that you were looking at a low-res progress image.
Right clicking a progress image gets you no menu.
If you refresh the page or switch tabs, this would fix itself, because
those actions clear out the progress images. The result image would then
be the topmost element, and the context menu works.
Fixing this without introducing a flash of empty space as the progress
image was hidden required a bit of refactoring. We have to wait for the
result image element to load before clearing out the progress.
Result - progress images appear to "resolve" to result images in the
staging area without any blips or jank, and the context menu works after
that happens.
2025-07-21 13:15:34 +10:00
psychedelicious
3eca0d2ba0
fix(ui): staging area left/right hotkeys
2025-07-18 08:08:15 -04:00
psychedelicious
307259f096
fix(ui): ensure staging area always has the right state and session association
2025-07-18 08:08:15 -04:00
psychedelicious
bed01941a5
fix(ui): ensure we clean up when session id changes
2025-07-18 08:08:15 -04:00
psychedelicious
89fa43a3b6
docs(ui): update StagingAreaApi docstrings
2025-07-18 08:08:15 -04:00
psychedelicious
c61bcd9f50
tests(ui): add test suite for StagingAreaApi
2025-07-18 08:08:15 -04:00
psychedelicious
3fb0fcbbfb
tidy(ui): move staging area components to correct dir
2025-07-18 08:08:15 -04:00
psychedelicious
db9af5083f
tidy(ui): move launchpad components to ui dir
2025-07-18 08:08:15 -04:00
psychedelicious
720f1bb65c
chore(ui): rename context2.tsx -> context.tsx
2025-07-18 08:08:15 -04:00
psychedelicious
7dfb318ba2
chore(ui): lint
2025-07-18 08:08:15 -04:00
psychedelicious
9b024da2b4
refactor(ui): move staging area logic out side react
...
Was running into difficultlies reasoning about the logic and couldn't
write tests because it was all in react.
Moved logic outside react, updated context, make it testable.
2025-07-18 08:08:15 -04:00
psychedelicious
15ca3b727a
wip
2025-07-18 08:08:15 -04:00
psychedelicious
e58ee4c492
chore(ui): upgrade zod
2025-07-17 22:04:57 +10:00
psychedelicious
5d9e078043
chore(ui): finish eslint v9 migration
2025-07-17 22:04:57 +10:00
psychedelicious
18ad9a6af3
feat(ui): canvas/viewer panel tabs show progress
2025-07-17 06:20:05 +10:00
psychedelicious
200beb5af5
feat(ui): make save all images to gallery option also bypass canvas
2025-07-17 06:20:05 +10:00
psychedelicious
f82a948bdd
refactor(ui): canvas autoswitch logic
...
Simplify the canvas auto-switch logic to not rely on the preview images
loading. This fixes an issue where offscreen preview images didn't get
auto-switched to. Images are now loaded directly.
2025-07-17 06:20:05 +10:00
psychedelicious
dd03e3ddcd
refactor(ui): simplify canvas session logic
2025-07-17 06:20:05 +10:00
psychedelicious
caa97608c7
fix(ui): aspect ratios out of order
2025-07-16 23:27:37 +10:00
psychedelicious
b23bff1b53
fix(ui): center staging area images
2025-07-12 10:22:17 +10:00
psychedelicious
d9a1efbabf
fix(ui): staging area images may be slightly too large
2025-07-12 10:22:17 +10:00
psychedelicious
ef4d5d7377
feat(ui): virtualized list for staging area
...
Make the staging area a virtualized list so it doesn't choke when there
are a large number (i.e. more than a few hundred) of queue items.
2025-07-11 07:50:57 +10:00
psychedelicious
50079ea349
fix(ui): big red cancel button has diff behaviour than staging discard
2025-07-09 23:15:25 +10:00
psychedelicious
fffa1b24c4
fix(ui): isStaging selector could return wrong query cache
2025-07-09 23:15:25 +10:00
psychedelicious
a6d6170387
fix(ui): discarding 1 item when 2 items left in staging area discards both
2025-07-09 23:15:25 +10:00
psychedelicious
e5fceb0448
fix(ui): whole app scrolls while selecting staging area image
2025-07-09 23:15:25 +10:00
psychedelicious
059baf5b29
chore(ui): lint
2025-07-09 23:15:25 +10:00
psychedelicious
7f2dd22d47
refactor(ui): metadata recall buttons & hotkeys (WIP)
2025-07-09 23:15:25 +10:00