Repository navigation
Classic redesign: header, home, Players, Leaderboards - #13
Merged
github-actions[bot] merged 5 commits intoNov 7, 2026
Merged
Conversation
Browsers without CSS anchor positioning (Firefox, Safari before 26) ignore a menu's placement and pin it to the window's top-left corner, where on a phone it covers the menu button: a second tap then lands on the menu itself and it can't be closed. There the menu is now placed under its trigger by hand as it opens. iOS Safari also doesn't count a tap on something that isn't clickable as a press outside, so any press outside an open menu and its trigger now closes it too.
Direction "Classic" replaces "Navy": the old site's slate sheet down the middle of the window, edges lit, darker gutters either side (a blurred map picture behind them), and its colors in the tokens, cyan kept as the one accent. The header, page and footer sit on the sheet. - Header: one sticky bar with the wordmark, the sections (the current one underlined), a search for players and maps, and Steam sign-in with its logo. The search answers as you type, as ok-website's does: a short pause, each keystroke cancelling the request still out, late replies dropped, results kept up until the next arrive, answers cached; `/` focuses it. - Footer: one line with the ruleset, what the site is, and the community's logos in their own colors (BrandIcon, Bootstrap Icons, MIT). - SearchField: a search box with its button inside, used on Maps. - Pager takes the name of its address key, for pages with two lists. - Masthead: a full-width band over a map picture, for player pages. Style guide snapshots updated for the new look.
The hero is shorter, and under it the page shows the community's activity instead of explaining bunnyhopping: - A strip of numbers, each opening its page: players on the servers now (in green), the latest day's runs and world records, and the world records of the last 7 days. - The latest world records, set out as on the Activity board (the time, what it took off the old record in brackets, a replay button), beside the top of the points board. - The servers people are playing on, as the Servers page's cards. The strafing demo, its simulation and the three get-started cards are gone, and with them motion-ripple, which only the demo used.
The title and count sit on the left with the search beside them, and players fill one panel in two columns with lines between rows and columns, the players-over-time chart below. The search answers as it's typed, in the browser, with the address following so a search can be shared; without script the form still submits. On a player's page: a header over a picture of the map of one of their best runs, their country, first and latest 2.0 runs, a standing panel (rank in its medal color, completed maps with a bar, world records that switch the list), and the flag centered on the name's letters rather than its line box.
Top players and completed maps sit side by side as panels, each paged on its own (points_page, completed_page) instead of "Show more". As on the Activity board, the server sends the hundred players around the page asked for, pages within them turn in the browser at once, and the hundreds either side load ahead, so Next and Previous never wait. The full tables page 50 at a time.
|
Merged into |
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.
The site in the old sourcejump.net's look, brought up to date, plus the pages built on it. Website only; no API changes.
Look and shell
/focuses it), Steam sign-in with its logo.Pages
Fixes
Checked: lint, format, types, unit tests, style guide snapshots (updated). Desktop and phone checked in the browser against the beta API.