Skip to content

Add dedicated page size for flat sidebar thread list - #506

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/fair-meteor-096b4f59
Aug 5, 2026
Merged

Add dedicated page size for flat sidebar thread list#506
SDSLeon merged 1 commit into
masterfrom
poracode/fair-meteor-096b4f59

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 5, 2026

Copy link
Copy Markdown
Owner
  • Introduce SIDEBAR_FLAT_THREAD_LIST_PAGE_SIZE (20) for the flat cross-project thread list, independent of the per-project section page size (10).
  • Thread the page size through sidebar state (revealMoreThreads, useThreadListLimit) so reveal-more and the initial visible limit stay consistent.
  • The flat list is the sidebar's only list, so it merits a taller first page than a per-project section.

- Add `SIDEBAR_FLAT_THREAD_LIST_PAGE_SIZE` (20) so the cross-project list shows a taller first page than per-project sections
- Parameterize `revealMoreThreads` and `useThreadListLimit` to accept a page size
@SDSLeon
SDSLeon merged commit 60e5383 into master Aug 5, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/fair-meteor-096b4f59 branch August 5, 2026 22:46
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.

1 participant