Repository navigation
fix(web): a callout with its control in the menu sends the tour copy into the panel - #760
Merged
Merged
Conversation
…into the panel (#758) Below 768 Start mapping and Log in are in the menu, so two callouts had nothing to point at. positionCallouts skipped them: they showed at 0,0 over the bar and did not count towards the panel fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TDXX3ZV8LEdZgVTNFYFvZi
Merged
efiten
added a commit
that referenced
this pull request
Oct 31, 2026
Closes #757 ## What changes - `#hp-toggle`, `#tr-toggle` and `#auth-btn` get `white-space:nowrap` (`web/style.css`). - Kept on one line, the controls need more room than the row has: about 55px short at 768 as a guest, and more with an absolute range. Without more rules, the time range painted 38px over Filters and Hunters 17px over Select target. So: - Hunters' wrapper does not shrink. It is one word. - The time range gives way first (`flex-shrink:100`, `min-width:72px`), on an ellipsis on `#tr-label`, as `#sp-toggle` already does. The clock icon does not shrink. The full range stays in the picker the button opens. - Measured at 768 as a guest: "Last 30 da…", 1 line, nothing overlaps. With an absolute range at 768: "2026-10-0…". At 840: "2026-10-01 10:00 → 2…". At 1280 nothing changes ("Last 30 days (ticker: 24 h)" in full). ## Test - New e2e in `barlayout.spec.js`, run at every `ONE_ROW` viewport plus four with an absolute range (768 guest/member, 840, 900). It asserts that: - no text node of a bar control spans more than one line; - no button extends past its `#bar-controls` slot; - no item in `#bar` or `#bar-controls` overlaps the next one. It counts lines and edges, so the result does not depend on the runner's font. - Before the fix the test failed: first with `hp-toggle`, `tr-toggle`, `auth-btn` on two lines, then, with nowrap alone, with `hp-toggle`/`tr-toggle` outside their slot in 5 cases. - `barlayout.spec.js`: 55 passed. vitest 870/870, eslint clean. - Full Playwright locally: 334 passed, 2 failed: - `onboarding.spec.js:167` is #758 (PR #760). - `zoomfade.spec.js:90` failed once in the full run. Run alone it passed 8 of 8, both with this CSS and with master's. ## Not done - Not checked on Linux fonts locally; CI runs that. - `:has()` is used to target Hunters' wrapper (Chrome 105, Safari 15.4, Firefox 121). In an older browser that rule is ignored and Hunters can shrink as on master. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01TDXX3ZV8LEdZgVTNFYFvZi --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
efiten
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>app: 1.32.1</summary> ## [1.32.1](app-v1.32.0...app-v1.32.1) (2026-10-31) ### Bug Fixes * **web:** a callout with its control in the menu sends the tour copy into the panel ([#760](#760)) ([8592da6](8592da6)) * **web:** keep the bar's labels on one line at tablet widths ([#759](#759)) ([f27390c](f27390c)) </details> <details><summary>server: 1.11.1</summary> ## [1.11.1](server-v1.11.0...server-v1.11.1) (2026-10-31) ### Performance Improvements * **server,web:** one point query per hex refresh for both cell sizes ([#755](#755)) ([78868fc](78868fc)) </details> <details><summary>web: 1.28.1</summary> ## [1.28.1](web-v1.28.0...web-v1.28.1) (2026-10-31) ### Bug Fixes * **web:** a callout with its control in the menu sends the tour copy into the panel ([#760](#760)) ([8592da6](8592da6)) * **web:** a registry answer from before a role change, or an older failure, no longer moves the attributor ([#769](#769)) ([087377d](087377d)) * **web:** date a registry slice from when it was asked for ([#765](#765)) ([77badec](77badec)) * **web:** keep the bar's labels on one line at tablet widths ([#759](#759)) ([f27390c](f27390c)) ### Performance Improvements * **server,web:** one point query per hex refresh for both cell sizes ([#755](#755)) ([78868fc](78868fc)) ### Code Refactoring * **web:** drop the name-redraw hold, MapLibre never closes a popup on redraw ([#770](#770)) ([ba9a9b0](ba9a9b0)) ### Tests * **web:** release the mocked resolver when the popup is open, not after 600 ms ([#762](#762)) ([2abc959](2abc959)) * **web:** retry the zoomfade hover until a painted cell answers ([#767](#767)) ([9331dfa](9331dfa)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Closes #758
What changes
positionCallouts(web/onboarding.js): a callout without a visible target now setsspotlight = false, so the tour copy goes into the panel. Before, it was skipped withcontinue, stayed visible at 0,0 over the bar, and did not count.#rx-ctaand#auth-btnare hidden only below 768px (web/style.css,web/barnarrow.js:41-42). The callouts at 768, 1100, 1280 and 1440 behave as before; the existing e2e tests for those widths pass.Test
a callout whose control is in the menu sends the copy into the panel, at 700x1400. The window is tall enough that the filters box fits below the panel on any font, so only the missing targets can switch the copy. It failed before the fix (#wb-inlinehidden).onboarding.spec.js: 18 passed, including:167, which failed locally on master.barlayout.spec.js:158, fixed in fix(web): keep the bar's labels on one line at tablet widths #759).Merge note
#759 also adds a 2026-10-29 changelog entry, so after one of them merges, the regenerated
app/changelog.jsonandweb/changelog.jsonconflict. Fix: rerunnode scripts/build-changelog.mjson the merged tree.https://claude.ai/code/session_01TDXX3ZV8LEdZgVTNFYFvZi