mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
* 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> |
||
---|---|---|
.. | ||
.storybook | ||
config | ||
docs | ||
public/locales | ||
scripts | ||
src | ||
static/docs | ||
tests | ||
__init__.py | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
favicon.ico | ||
index.html | ||
package.json | ||
pnpm-lock.yaml | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |