Mary Hipp
a00347379b
feat(ui): move layers/gallery tab state into redux so it persists across sessions/refreshes, make gallery the default
2024-10-16 18:35:55 +11:00
psychedelicious
ad1a8fbb8d
fix(ui): ts
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
Mary Hipp
d8b0648766
feat(ui): add upload button for gallery
2024-10-16 18:33:40 +11:00
Mary Hipp
c3df9d38c0
prettier
2024-10-15 15:58:11 -04:00
Mary Hipp
3790c254f5
only show starter bundles if feature is enabled and no models installed, update getting started text for local vs non-local
2024-10-15 15:58:11 -04:00
psychedelicious
a09a0eff69
chore(ui): lint
2024-10-15 15:58:11 -04:00
Mary Hipp
d8347d856d
more copy and linting
2024-10-15 15:58:11 -04:00
Riku
69a4a88925
fix(ui): display guidance value for flux images in metadata viewer
2024-10-15 18:06:45 +11:00
Mary Hipp
cbe7717409
make sure combobox is not searchable
2024-10-11 17:23:34 -04:00
Mary Hipp
d6add93901
lint
2024-10-11 17:23:34 -04:00
Mary Hipp
ea45dce9dc
(ui) add board sorting UI to board settings popover
2024-10-11 17:23:34 -04:00
Mary Hipp
8d44363d49
(ui): update boards list queries to only use sort params for list, and make sure archived boards are included in most places we are searching
2024-10-11 17:23:34 -04:00
Mary Hipp
e3e9d1f27c
(ui) break out boards settings from gallery/image settings
2024-10-11 17:23:34 -04:00
psychedelicious
bb59ad438a
docs(ui): add comments to ImageContextMenu
2024-10-11 09:36:23 -04:00
psychedelicious
e38f5b1576
fix(ui): safari doesn't have find on iterators
2024-10-11 09:36:23 -04:00
psychedelicious
1bb49b698f
perf(ui): efficient gallery image hover state
2024-10-11 09:36:23 -04:00
psychedelicious
190ef6732c
perf(ui): properly memoize gallery image icon components
2024-10-11 09:36:23 -04:00
psychedelicious
947cd4694b
perf(ui): use single event for all image context menus
...
Image elements register their target ref in a map, which is used to look up the image that was clicked on. Substantial perf improvement.
2024-10-11 09:36:23 -04:00
psychedelicious
ee32d0666d
perf(ui): memoize gallery page buttons
2024-10-11 09:36:23 -04:00
psychedelicious
bc8ad9ccbf
perf(ui): remove another extraneous useCallback
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
4aa20a95b2
feat(ui): consolidate img2img canvas flow
...
Make the `New Canvas From Image` button do what the `New Img2Img From Image` does.
2024-10-11 09:03:44 +11:00
psychedelicious
1f5d744d01
fix(ui): disable canvas-related image context menu items when canvas is busy
2024-10-10 07:43:46 -04:00
psychedelicious
b36c6af0ae
feat(ui): add new img2img canvas from image functionality
...
This replicates the img2img flow:
- Reset the canvas
- Resize the bbox to the image's aspect ratio at the optimal size for the selected model
- Add the image as a raster layer
- Resizes the layer to fit the bbox using the 'fill' strategy
After this completes, the user can immediately click Invoke and it will do img2img.
2024-10-10 07:43:46 -04:00
psychedelicious
9e6fb3bd3f
feat(ui): add hooks for new layer/canvas from image & use them
2024-10-10 07:43:46 -04:00
psychedelicious
69773a791d
feat(ui): use useAssertSingleton for all singleton modals
...
footgun insurance
2024-10-10 15:49:09 +11:00
psychedelicious
5f416ee4fa
feat(ui): add IconMenuItem component
2024-10-09 23:13:08 +11:00
psychedelicious
1c3d06dc83
fix(ui): remove straggling onPointerUp handlers
2024-10-09 13:43:22 +11:00
psychedelicious
e20d964b59
chore(ui): lint
2024-10-09 08:02:11 +11:00
psychedelicious
ee95321801
fix(ui): edge case where board edit button doesn't disappear
2024-10-09 08:02:11 +11:00
psychedelicious
179c6d206c
tweak(ui): edit board title button layout
2024-10-09 08:02:11 +11:00
Mary Hipp Rogers
3b9d1e8218
misc(ui): image/asset tab tooltips, icon to rename board, getting started text ( #7067 )
...
* add tooltips for images/assets tabs
* add icon by board name that can be used to activate editable
* update getting started text
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local >
2024-10-08 15:46:08 -04: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
01bbd32598
fix(ui): board drop targets
...
We just changed all buttons to use `onPointerUp` events to fix Apple Pencil behaviour. This, plus the specific DOM layout of boards, resulted in the `onPointerUp` being triggered on a board before the drop triggered.
The app saw this as selecting the board, which then reset the gallery selection to the first image in the board. By the time you drop, the gallery selection had reset.
DOM layout slightly altered to work around this.
2024-10-06 08:15:53 +11:00
psychedelicious
a303777777
fix(ui): image context menu buttons don't close menu
...
Need to render as a `MenuItem` to trigger the close behaviour
2024-10-04 21:33:01 -04:00
psychedelicious
ffa00d1d9a
chore(ui): lint
2024-10-05 09:47:22 +10:00
psychedelicious
1648a2af6e
fix(ui): board title editable
2024-10-05 09:47:22 +10:00
psychedelicious
2dc069d759
chore(ui): lint
2024-10-04 07:44:40 -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
fd982fa7c2
fix(ui): prevent unhandled promise rejections
2024-10-03 10:32:59 -04:00
psychedelicious
4455fc4092
fix(ui): next/prev image buttons layout
2024-10-02 08:02:30 -04:00
Josh Corbett
9b90834248
feat(context menu): ✨ condense top row of image context menu
2024-10-01 22:06:42 -04:00
psychedelicious
cd6ef3edb3
tidy,docs(ui): focus region logic
2024-10-01 06:05:16 +10:00
psychedelicious
c0657072ec
feat(ui): gallery clear selection hotkey only active when there's a selection to clear
2024-10-01 06:05:16 +10:00
psychedelicious
7167a5d3f4
feat(ui): make image hotkeys global
2024-10-01 06:05:16 +10:00
psychedelicious
8cf0d8c8d3
feat(ui): revised focus handling (attempt 3, wip)
2024-10-01 06:05:16 +10:00
psychedelicious
48311f38ba
feat(ui): revised focus handling (attempt 2, wip)
2024-10-01 06:05:16 +10:00
psychedelicious
7631d55c2a
feat(ui): revised focus handling (attempt 1)
2024-10-01 06:05:16 +10:00