Repository navigation
fix(admin): keep the zoomed live map sharp, its style tabs in English, and the dev buttons apart - #316
Merged
Conversation
…, and the dev buttons apart
12 of 18 tasks
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 live map and dev toolbar changes are taken from #315. Its other parts (a second player-detail normalisation already covered by 66614ff, a Squawk badge tooltip, and a version bump) are left out.
Changes
will-change-transform, so Chromium rasterised it once and stretched that bitmap asscale()grew. Removing it lets the layer re-rasterise at the zoomed scale.ceil(log2(screenPx / 1024))).labelfrom the phone Maps styles, which follows the phone locale (Atlas showed as "Atlante" on an Italian phone). The rest of the admin panel is English, so the page now keeps its own labels.top-[84px]. They now sit in one wrapping row, with an Admin button that opens the panel in the browser preview.Measured (dev server, main vs this branch)
Tested in game on the dev server: zoom, pan, style switching and fullscreen on the live map.
Gates
tsc --noEmit: passoxlint: 0 errors, 24 existing warnings, none in touched linesknip: passi18n:check: pass (7203 keys)vitest: 885/885