InvokeAI/invokeai/frontend/web/src/features
Rohinish 7e831c8a96
Selected in View within Gallery (#5240)
* selector added

* ref and useeffect added

* scrolling done using useeffect

* fixed scroll and changed the ref name

* fixed scroll again

* created hook for scroll logic

* feat(ui): debounce metadata fetch by 300ms

This vastly reduces the network requests when using the arrow keys to quickly skim through images.

* feat(ui): extract logic to determine virtuoso scrollToIndex align

This needs to be used in `useNextPrevImage()` to ensure the scrolling puts the image at the top or bottom appropriately

* feat(ui): add debounce to image workflow hook

This was spamming network requests like the metadata query

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2023-12-12 17:14:28 +11:00
..
canvas fix(ui): fix memoized selectors 2023-12-09 16:09:26 +11:00
changeBoardModal feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
controlAdapters feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
deleteImageModal feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
dnd feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
dynamicPrompts feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
embedding/components eslint added to enforce translations (#5150) 2023-11-25 14:46:19 +11:00
gallery Selected in View within Gallery (#5240) 2023-12-12 17:14:28 +11:00
lora feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
modelManager feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
nodes feat(nodes): add invocation classifications 2023-12-12 16:43:05 +11:00
parameters feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
queue feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
sdxl feat(ui): upgrade redux and RTK 2023-12-09 16:09:26 +11:00
system fix(ui): fix memoized selectors 2023-12-09 16:09:26 +11:00
ui fix(ui): fix memoized selectors 2023-12-09 16:09:26 +11:00
workflowLibrary fix(ui): disallow loading/deleting workflow if already open 2023-12-09 11:10:16 +11:00