Skip to content

Times list filters and pagination - #44

Merged
dowoge merged 3 commits into
mainfrom
extended-filters-frontend
Apr 18, 2026
Merged

Times list filters and pagination#44
dowoge merged 3 commits into
mainfrom
extended-filters-frontend

Conversation

@dowoge

@dowoge dowoge commented Apr 18, 2026

Copy link
Copy Markdown
Member

Migrates map, player, and recent globals to the unified /api/times

also includes a bug fix or two and showing style when All is selected as the style filter

dowoge added 3 commits April 18, 2026 15:45
Adds sort/best/has_replay/invalidated filter controls to map and player
pages via a shared TimesFilterBar component. Uses the new { data, total }
envelope for accurate "Page X of Y" pagination. Moderator-gated invalidated
control with permission stripping on URL parse.
Wraps getTimes calls in try/catch/finally with a loadError ref and retry
button so failed requests no longer leave the spinner running indefinitely.
NaN-guards page parsing, narrows TimesFilterBar emit name to a union of
known filter keys, and makes TimesListPagination.total required now that
all callers provide it.
When the style filter is set to All, times across different styles are
indistinguishable in the player list. Mirrors the recent-globals pattern:
adds a Style column (with column widths adjusted to fit) whenever the
current style filter is All, and hides it otherwise.
@Jeftaei

Jeftaei commented Apr 18, 2026

Copy link
Copy Markdown
Member

Yo does this WOrk

@dowoge

dowoge commented Apr 18, 2026

Copy link
Copy Markdown
Member Author

Yo does this WOrk

works on my machine

@Jeftaei

Jeftaei commented Apr 18, 2026

Copy link
Copy Markdown
Member

lgtm!!! - Mia

@dowoge
dowoge merged commit 77ab621 into main Apr 18, 2026
@dowoge
dowoge deleted the extended-filters-frontend branch April 18, 2026 20:35
dowoge pushed a commit that referenced this pull request Apr 18, 2026
Rebases the grid-based times list onto current main after #44 merged.
Adjusts column definitions for the filter bar + pagination shape,
adds TimesListHeadingColumn / TimesListItemColumn, and switches
widths to position-indexed resolution so row-2-only columns (like
Server in MapDetails) contribute their desktop width.

Mobile header labels are now hidden for columns with rowMobile > 1
to keep the heading compact when rows stack to three rows deep.
@dowoge dowoge mentioned this pull request Apr 18, 2026
dowoge added a commit that referenced this pull request Aug 31, 2026
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