Skip to content

Conversation

@rmolinamir
Copy link
Contributor

@rmolinamir rmolinamir commented Sep 27, 2025

Summary

This PR replaces react-window with react-virtuoso in the sidebar pages component for better performance and consistency with the journal list implementation.

Closes: #44

Changes

  • Replaced react-window List component with react-virtuoso for better virtualization performance
  • Added proper loading states and skeleton components for better UX
  • Improved pagination logic using Virtuoso's endReached callback instead of onRowsRendered
  • Enhanced styling and layout for better visual consistency with proper borders and spacing
  • Added proper TypeScript types and error handling
  • Cleaned up unused code including the PageRow component and unused imports
  • Updated query to use getPaginated instead of getInfinite for better API consistency

- Replace react-window List component with react-virtuoso for better performance
- Add proper loading states and skeleton components
- Improve pagination logic with endReached callback
- Update styling and layout for better visual consistency
- Add proper TypeScript types and error handling
- Remove unused PageRow component and clean up imports
@rmolinamir rmolinamir merged commit 17f631f into main Sep 27, 2025
0 of 3 checks passed
@rmolinamir rmolinamir deleted the jorge/feat/sidebar-pages-pagination branch September 27, 2025 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Pages] Implement pages pagination for the left sidebar, just like ChatGPT conversations

2 participants