psychedelicious
730fabe2de
feat(ui): add util to extract message from a tsafe AssertionError
2024-11-08 10:02:41 +11:00
psychedelicious
2854210162
fix(ui): dnd autoscroll on elements w/ custom scrollbar
...
Have to do a bit of fanagling to get it to work and get `pragmatic-drag-and-drop` to not complain.
2024-11-08 07:39:09 +11:00
psychedelicious
0c9434c464
chore(ui): lint
2024-11-08 07:39:09 +11:00
psychedelicious
2d974f670c
feat(ui): restore missing upload buttons
2024-11-08 07:39:09 +11:00
psychedelicious
5df3c00e28
feat(ui): remove SerializableObject, use type-fest's JsonObject
2024-11-08 07:39:09 +11:00
psychedelicious
8883775762
feat(ui): rework image uploads (wip)
2024-11-08 07:39:09 +11:00
psychedelicious
31c9acb1fa
tidy(ui): clean up old dnd stuff
2024-11-08 07:39:09 +11:00
psychedelicious
b6b9ea9d70
feat(ui): migrate to pragmatic-drag-and-drop (wip 2)
2024-11-08 07:39:09 +11:00
psychedelicious
63126950bc
feat(ui): migrate to pragmatic-drag-and-drop (wip)
2024-11-08 07:39:09 +11:00
psychedelicious
1871e0bdbf
feat(ui): tweaked denoise str styling
2024-11-06 19:01:33 +11:00
Mary Hipp
3ae9a965c2
lint
2024-11-06 19:01:33 +11:00
Mary Hipp
41b07a56cc
update popover copy and add image
2024-11-06 19:01:33 +11:00
Mary Hipp
68284b37fa
remove opacity logic from WavyLine, add badge explaining disabled state, add translations
2024-11-06 19:01:33 +11:00
Mary Hipp
ae5bc6f5d6
feat(ui): move denoising strength to layers panel w/ visualization of how much change will be applied, only enable if 1+ enabled raster layer
2024-11-06 19:01:33 +11:00
Mary Hipp
916ddd17d7
fix(ui): fix link for infill method popover
2024-11-05 15:39:03 -05:00
psychedelicious
24d3c22017
fix(ui): temp fix for stuck tooltips
2024-11-04 07:11:20 -05:00
dunkeroni
47c3ab9214
Remove UI restrictions for T2I resolutions
2024-10-31 16:07:46 -04:00
Mary Hipp
bc1126a85b
(ui): add setting for showing model descriptions in dropdown defaulted to true
2024-10-25 14:52:33 +11:00
psychedelicious
e6ab6e0293
chore(ui): lint
2024-10-24 08:39:29 -04:00
psychedelicious
4f43152aeb
fix(ui): handle pen/touch events on submenu
2024-10-24 08:39:29 -04:00
psychedelicious
7125055d02
fix(ui): icon menu item group spacing
2024-10-24 08:39:29 -04:00
psychedelicious
c1201f0bce
feat(ui): add useSubMenu hook to abstract logic for sub-menus
2024-10-24 08:39:29 -04:00
Mary Hipp
4db26bfa3a
(ui): add information popovers for other layer types
2024-10-24 23:34:06 +11:00
Mary Hipp
33c433fe59
(ui): show models in starter bundles on hover, use previous_names for isInstalled logic, allow grouped model combobox to optionally show descriptions
2024-10-24 23:34:06 +11:00
psychedelicious
0698188ea2
feat(ui): support readonly arrays in SerializableObject type
2024-10-23 16:01:15 +11:00
Mary Hipp
d9a257ef8a
fix(ui): add error handling to upload button
2024-10-16 09:32:35 -04:00
psychedelicious
23fada3eea
feat(ui): simpler dnd indicator for right panel tabs
...
We can use the drop overlay component directly for this, without needing to add it as a `noop` dnd target.
Other changes:
- The `label` prop is now used to conditionally render the label - every drop target provides its own label, so this doesn't break anything.
- Add `withBackdrop` prop to control whether we apply the dimmed drop target effect.
2024-10-16 18:35:55 +11:00
psychedelicious
2917e59c38
Revert "feat(ui): add layers tab as droppable destination to improve UX for dragging from gallery to layers tabs"
...
This reverts commit 535c1287bbc8d2c2099f5ff659f62e3076a0dbee.
2024-10-16 18:35:55 +11:00
Mary Hipp
c691855a67
feat(ui): add layers tab as droppable destination to improve UX for dragging from gallery to layers tabs
2024-10-16 18:35:55 +11:00
psychedelicious
f03b77e882
fix(ui): race condition with toast closing
...
Instead of providing a duration to the upload action, we close the toast imperatively in the `imageUploaded` listener using a timeout. 3s after the last upload toast, we close it.
This handles the case when we are uploading multiple images and don't want the toast to close til it's all finished.
2024-10-16 18:33:40 +11:00
psychedelicious
af636f08b8
feat(ui): add maxImageUploadCount config setting
2024-10-16 18:33:40 +11:00
psychedelicious
f8150f46a5
feat(ui): only switch boards on first upload of an image
2024-10-16 18:33:40 +11:00
psychedelicious
b613be0f5d
feat(ui): updated useFullscreenDropzone
...
- Hack around toast durations so it closes after last image uploads
- Improved error logging
- Enforce singleton nature of hook
2024-10-16 18:33:40 +11:00
psychedelicious
add31ce596
feat(ui): simpler useImageUploadButton
...
We can always iterate over `files`, no need for any conditional logic here.
2024-10-16 18:33:40 +11:00
Mary Hipp
7d7ad3052e
feat(ui): enable multifile upload for fullscreen dropzone
2024-10-16 18:33:40 +11:00
Mary Hipp
3b16dbffb2
feat(ui): allow multiple images to be uploaded via gallery button, remove double add-to-board logic for uploaded images
2024-10-16 18:33:40 +11:00
psychedelicious
fa1fbd89fe
tidy(ui): remove extraneous prop extraction
2024-10-11 09:36:23 -04:00
psychedelicious
e96b290fa9
perf(ui): remove extraneous useCallbacks
2024-10-11 09:36:23 -04:00
psychedelicious
b9f83eae6a
perf(ui): do not call upload hook unless upload is needed
2024-10-11 09:36:23 -04:00
psychedelicious
9868e23235
feat(ui): use singleton context menu
...
This improves render perf for the image component by 10-20%.
2024-10-11 09:36:23 -04:00
psychedelicious
3b349b2686
chore(ui): lint
2024-10-10 15:49:09 +11:00
psychedelicious
14bc06ab66
feat(ui): add our own useDisclosure hook
2024-10-10 15:49:09 +11:00
psychedelicious
c60cab97a7
feat(ui): add buildUseDisclosure
2024-10-10 15:49:09 +11:00
psychedelicious
5f416ee4fa
feat(ui): add IconMenuItem component
2024-10-09 23:13:08 +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
42e5ec3916
fix(ui): fix wonky drop target layouts
2024-10-04 21:30:38 -04: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
6dd53b6a32
fix(ui): viewport cut off on iPad
...
Need to use dynamic viewport units.
2024-10-04 07:44:40 -04:00
psychedelicious
4f993a4f32
fix(ui): TS issue with latest i18n deps
2024-10-03 09:54:30 -04:00
psychedelicious
cd6ef3edb3
tidy,docs(ui): focus region logic
2024-10-01 06:05:16 +10:00