psychedelicious f8c3db72e9 feat(ui): improved arrow key navigation in gallery
- Fix preexisting bug where gallery network requests were duplicated when triggering infinite scroll
- Refactor `useNextPrevImage` to not use `state => state` as an input selector - logic split up into different hooks
- Remove use instant scroll for arrow key navigation - smooth scroll is janky when you hold the arrow down and it fires rapidly
- Move gallery nav hotkeys to GalleryImageGrid component, so they work whenever the gallery is open (previously didn't work on canvas or workflow editor tabs)
- Use nanostores for gallery grid refs instead of passing context with virtuoso's context feature, making it much simpler to do the imperative gallery nav
- General gallery hook/component cleanup
2024-01-07 01:19:32 +11:00
..
2024-01-01 08:13:23 -05:00
2023-12-09 16:00:37 +11:00
2024-01-06 09:09:38 +11:00
2023-07-28 09:46:44 -04:00
2023-12-29 08:26:14 -05:00
2024-01-06 09:09:38 +11:00
2024-01-06 09:09:38 +11:00
2024-01-06 09:09:38 +11:00
2024-01-06 00:03:07 +11:00
2024-01-06 00:03:07 +11:00
2024-01-01 08:13:23 -05:00
2024-01-01 08:13:23 -05:00