Skip to content

fix pagination state and past members styling#15

Merged
needs merged 2 commits into
needs:masterfrom
m09l6d0ur13ii:feature/past-clan-members
Jul 2, 2026
Merged

fix pagination state and past members styling#15
needs merged 2 commits into
needs:masterfrom
m09l6d0ur13ii:feature/past-clan-members

Conversation

@m09l6d0ur13ii

Copy link
Copy Markdown
Contributor

hey again! thanks for merging the previous pr so quickly! while testing the new 'show past members' feature on some edge cases, i noticed a few ux glitches that i wanted to polish up in this follow-up pr.

first, the pagination state was getting lost: clicking next page would drop the past=true parameter, and checking the box would throw you back to page 1. now both elements preserve the full url state properly. second, i added a redirect fallback: if you uncheck the box while on a high page number (where the active members list wouldn't reach), it will automatically redirect you to the last available page instead of showing an empty list. finally, i improved the styling by making the entire row grayed out for past members instead of just their name, and added the total historical player count in gray next to the active player count in the header.

hope this makes the feature feel even more polished and native!

ON:
image-sf

OFF:
image

m09l6d0ur13ii and others added 2 commits July 2, 2026 18:26
- LastSeen: reference propClassName instead of undefined className in the
  Online branch (fixes build error, applies gray styling to online past members)
- ClanPlayerCount: parse past param the same way as the server/toggle
  (past === 'true' || '1') so the header total stays consistent

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@needs needs merged commit 76f6593 into needs:master Jul 2, 2026
1 check failed
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.

2 participants