Draft
Conversation
* Implement thread pagination with URL-based page navigation and controls Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Fix post pagination calculation with total post count Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Improve thread pagination with conditional buttons and page indicator Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Refactor pagination logic and remove duplicate redirect effect Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Revert last commit before redoing thread pagination * Refactor pagination logic and URL parameter handling in BoardPage Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Simplify thread selection and navigation logic in BoardPage Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Refactor post pagination with client-side sorting and improved data fetching Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Fix MessageList rendering with dynamic key for thread and page changes Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Fix pagination navigation when loading cards in thread view Co-authored-by: carterhinsley <carterhinsley@outlook.com> * Optimize thread pagination with server-side slicing and post counting Co-authored-by: carterhinsley <carterhinsley@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
…unting Co-authored-by: carterhinsley <carterhinsley@outlook.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
Co-authored-by: carterhinsley <carterhinsley@outlook.com>
a8418d1 to
472df17
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
GetHistoryfallback for latest posts and adjust last page fetch logic to ensure new posts appear immediately.New posts were not showing due to Telegram search indexing lag when using
messages.searchfor pagination. This change ensures the UI fetches the freshest posts by merging results frommessages.getHistoryand always requesting the latest page from the top.