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