Skip to content

Refactor/virtual list#29

Merged
Cold-FR merged 14 commits intomainfrom
refactor/virtual-list
Mar 13, 2026
Merged

Refactor/virtual list#29
Cold-FR merged 14 commits intomainfrom
refactor/virtual-list

Conversation

@Cold-FR
Copy link
Owner

@Cold-FR Cold-FR commented Mar 13, 2026

No description provided.

Cold-FR added 13 commits March 13, 2026 14:11
* Introduced @tanstack/react-virtual version 3.13.22 to enhance virtual scrolling capabilities.
* Updated related dependencies in composer.json and package.json for compatibility.
* Ensured all lock files are in sync with the latest changes.
* Replace simple cache with LRUImageCache class
* Add methods for managing cache entries (get, set, delete, clear)
* Update SecureImage component to utilize new caching logic
* Abort fetch requests on component unmount to prevent memory leaks
* Replace infinite scroll with virtual scrolling for improved performance
* Add responsive column detection based on container width
* Update UserGrid props to accommodate new structure
* Refactor UserCard animations to prevent re-animation on scroll
* Replace scrollContainerRef with callback ref for scroll container
* Implement staggered animation for user cards using motion variants
* Prevent re-animation of already seen cards on scroll-back
* Update eslint config to disable false positive for react-virtual
* Replace infinite scroll with virtualizer for improved performance
* Dynamically calculate grid columns based on screen size
* Update animation variants for smoother transitions
* Remove observer and loading spinner logic
* Add async decoding and lazy loading to SecureImage for better performance
* Change UserGrid animation trigger from whileInView to animate for consistency
* Add h-full class to UserCard and UserGrid item containers
* Improves card alignment and consistent sizing in grid
@Cold-FR Cold-FR self-assigned this Mar 13, 2026
@Cold-FR Cold-FR added the enhancement New feature or request label Mar 13, 2026
@Cold-FR Cold-FR merged commit bf2634a into main Mar 13, 2026
2 checks passed
@Cold-FR Cold-FR deleted the refactor/virtual-list branch March 13, 2026 14:57
Cold-FR added a commit that referenced this pull request Mar 16, 2026
* feat(dependencies): add @tanstack/react-virtual package

* Introduced @tanstack/react-virtual version 3.13.22 to enhance virtual scrolling capabilities.
* Updated related dependencies in composer.json and package.json for compatibility.
* Ensured all lock files are in sync with the latest changes.

* refactor(App): optimize user filtering with useMemo

* refactor(imageCache): implement LRU caching for images

* Replace simple cache with LRUImageCache class
* Add methods for managing cache entries (get, set, delete, clear)
* Update SecureImage component to utilize new caching logic
* Abort fetch requests on component unmount to prevent memory leaks

* refactor(UserGrid): implement virtual scrolling for user cards

* Replace infinite scroll with virtual scrolling for improved performance
* Add responsive column detection based on container width
* Update UserGrid props to accommodate new structure
* Refactor UserCard animations to prevent re-animation on scroll

* refactor(UserGrid): improve virtual row animation and stagger

* Replace scrollContainerRef with callback ref for scroll container
* Implement staggered animation for user cards using motion variants
* Prevent re-animation of already seen cards on scroll-back
* Update eslint config to disable false positive for react-virtual

* chore(eslint): disable false positive for react-hooks with react-virtual

* Revert "refactor(UserGrid): improve virtual row animation and stagger"

This reverts commit 246aa9a.

* Revert "refactor(UserGrid): implement virtual scrolling for user cards"

This reverts commit 254da19.

* refactor(UserGrid): implement virtualized rendering for user cards

* Replace infinite scroll with virtualizer for improved performance
* Dynamically calculate grid columns based on screen size
* Update animation variants for smoother transitions
* Remove observer and loading spinner logic

* refactor(css): simplify view transition animations and remove media query

* refactor(PhotoLightbox): render with portal to document body

* refactor: improve image loading and animation

* Add async decoding and lazy loading to SecureImage for better performance
* Change UserGrid animation trigger from whileInView to animate for consistency

* refactor: ensure full-height card layout

* Add h-full class to UserCard and UserGrid item containers
* Improves card alignment and consistent sizing in grid

* docs(README): update features to reflect virtual list usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant