Repository navigation
Conversation
) Owner report: with "Kommune: Aarhus" selected, the open MESH LIVE panel spans the full width and hides the zoom buttons, and its notice adds two rows. The new E2E checks, at 1920x870, 1280x800, 768x1024 and 375x560 in light and dark, that the panel meets no map button, bar or legend, that the notice is one line with a "why?" explanation, and that a DAGI selection adds at most one row. The unit tests pin the shared short strings and the notice's parts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rea notice (#1055) - The panel stops short of the right-hand map button column at the column's measured width (--live-map-rail, from live.js), at every width where they share a band; the hard-coded 68/312/250px rails are gone. The 6px gap #664 kept is unchanged. - A legend in a bottom corner stops under the panel (--live-panel-bottom) instead of growing beneath it and hiding its right end. - The Area/DAGI notice is one line ("Adverts only · 18 nodes without position") at the start of the scope row, so a selection adds no row of its own. The Packets wording (advertsOnlyNotice + hiddenNotice) is the line's title and opens under "why?". The short strings are shared helpers: ScopeMemberFilter.advertsOnlyShort, DagiFilter.hiddenShort. - The M2 E2E reads the full text from the explanation; #664 and #875 pin the measured rail instead of the old constants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A CSS hex escape ends at one following space, so " \00b7 " rendered as "Adverts only ·18 nodes"; a second space keeps "· 18 nodes". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in #1087 (the "From the area / Touches the area" selector on Live). Conflicts resolved so both hold: - live.css: the one-line notice rules and M3's #liveAreaRule rules. - live.js: the notice's parts (rule, count, why?) and M3's renderAreaRule/setLiveAreaRule/wireAreaRule; the selector stays after the DAGI control, the notice in the scope row. - scope-member-filter.js: advertsOnlyShort names the active rule with M3's labels ("From the area: adverts only", "Touches the area: any packet type"); both export sets kept. - e2e-shards.json: both new suites. - Tests: the notice's full text is #liveScopeWhy (M2/M3 E2E, the shared harness's notice(), M3's unit DOM stub); the unit tests expect the rule in the one line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- N1: the area rule selector must be hidden by its computed display with no filter (M3 E2E after the clear, the panel E2E with no selection), and the CSS keeps its [hidden] rule (unit). - N2: the panel E2E runs 375x560 and 360x640 with touch; at 640 px and below the selector shares the DAGI control's row with short labels, and a selection with the selector shown grows the controls by at most one row (children's boxes, not scrollHeight, which counts the 48 px hit areas; no own-row allowance any more). The notice line is checked under Touches too, with "why?" on the same line, and the open explanation must not reach the map credit. - N3: roving tabindex and the arrow keys (unit and M3 E2E); the listener check expects the selector's click and keydown. - N5: the M2 phone step waits for the debounced DAGI search to apply before it picks Aarhus (right after fill() the row is still in the unfiltered list, y 4602, and moves to y 216), and tapInPlace waits for its control to hold still for three frames as the element at its centre. No fixed sleeps. - The notice's short texts: "From the area: adverts only", "Touches the area: any type", "N nodes not on map". - The panel suite uses the shared #1055 harness (tests/e2e-1055-live.js); tests/e2e-1055-live-server.js, a copy of it, is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1055) Review of #1087 (N2-N4) on the panel branch: - N2: on 640 px and below the DAGI control and the area rule selector share one row (.live-dagi-rule, display: contents above 640 px): the radios show "From" / "Touches" (aria-label keeps the full name) and the DAGI label ellipsizes before the selector would wrap. A DAGI selection now grows the phone panel by 17 px at 375x560 (was 73) and 36 px at 360x640 (was 103). - The one-line notice names the rule and fits 360 px under both rules: "Touches the area: any type", "N nodes not on map". - A capped panel also stops above the map credit where the credit is under it, unless that leaves less than #672's 150 px scroll box. - N3: roving tabindex (only the checked radio is a Tab stop) and the arrow keys check and focus the next radio, wrapping. - N4: a comment on live (per observation) vs rebuilt (per group) judgement under Touches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix round — CS-VM2 PR#1092Branch Evidence tags: [T] tested here, [A] analysis or judgement, [K] a known issue, either pre-existing or caused by this machine. Review feedback addressed (commit
Commits on the branch: Checks
ScreenshotsAll under
Logs are in Not verified
|
Review — CS-MacBook PR#1092 — head 873fbb8Dom: REQUEST CHANGES The panel fix works. No map button is covered at any of the five sizes, in light or dark. M3 survived the merge, and N1, N3, N4 and N5 are done. One requirement of the PR is not met with Apple's system font: the "one-line notice with why? on the same line" (requirement 2). With Evidence tags: [T] tested here, [A] analysis of code or layout, [K] a known or pre-existing issue, or one caused by this machine. Trees: master Findings
Answers to the review points
Tests and mutants
Mutants (my own, each restored afterwards and diffed against head):
CI per job (head
|
| Job | Result |
|---|---|
| Go Build & Test | pass |
| Go Server Tests 1/3, 2/3, 3/3 | pass (14m21s, 14m32s, 22m20s) |
| Go Ingestor Tests | pass |
| Go Libraries & CLI | pass |
| JavaScript Unit Tests & Lint | pass |
| Script & Container Unit Checks | pass |
| Verify Go Test Assignments | pass |
| Validate Docker Image | pass |
| Release Artifacts | skipping |
| Playwright E2E Tests 1/3 | pass (37m17s) |
| Playwright E2E Tests 3/3 | pass (48m12s) |
| Playwright E2E Tests 2/3 | fail (35m30s): test-issue-873-base-deep-link-e2e.js, step "375x560: config 1500 ms late, a pick made before it arrives is not undone by the link: not on the page: .leaflet-control-layers-base label[data-tile-id="osm-standard"]". That is on #/map, which this PR does not touch. Here it passed 26/26 in 3 of 3 runs on head and on master [T]. Shard 2 was green on the 6 most recent completed master runs I checked. I judge it a CI flake [A]. The shard stops at the first failing suite (suite 90 of 107), so the new panel suite and the M3 suite (positions 106 and 107 in shard 2) did not run in CI. A re-run of shard 2 is needed before merge |
Not verified
- No real iPhone or Android device. "iPhone Safari" here means Playwright WebKit on macOS with the system font. Roboto, DejaVu and Liberation are not installed on this machine, so the "Arial" rows stand in for Linux/Android metrics [A].
- No screen-reader run for the radio group.
- The Live (mobile): expanded controls panel covers the gear toggle, panel cannot be closed #664/Live (mobile): tall controls panel overflows the viewport and cannot scroll #667/Live (capped panel): feed card not interactive at 641–1024px — decide and pin behaviour #670–Live (landscape 641–768px): capped panel scroll box only 43–83px #672/Live: the legend toggle is hidden under the open legend, and the legend has no close button #875 suites are not green locally on either tree (banner offset on this fixture). I only compared head with master.
- F5 is from the code, not from a run.
- The author's "before" screenshots and the 640×320 landscape reserve were not re-checked by hand. The Live (landscape 641–768px): capped panel scroll box only 43–83px #672 suite's 640×320 step fails the same way on master here.
Relates to #1055
Status: Ready for review. The panel no longer covers any map button at 1920×870, 1280×800, 768×1024, 375×560 or 360×640 (the last two with touch), in light and dark. The area notice is one line naming the area rule (#1055 M3), with the full text under "why?". A DAGI selection adds at most one row, with M3's rule selector shown. This branch has master merged in (with #1087 M3) and folds in the #1087 review nits N1–N5.
Evidence: [T] a test run on this branch, [A] analysis of code or layout, [K] a known issue, either pre-existing or caused by this machine.
Problem
Owner report (staging, desktop about 2000×870, Live with "Kommune: Aarhus"): the open MESH LIVE panel spans the full width and covers the right-hand map buttons. The top button of that column, zoom-in, is hidden under the panel. The Area/DAGI notice runs to several lines and makes the panel taller.
Reproduced on master [T]:
.leaflet-control-zoom-in, with or without a selection.The #1087 review (N2) then measured that M3's selector takes a 48 px row of its own on phones: +56 px at 360×640.
Plan and choices
--live-map-rail. The width includes the 6 px gap the panel has kept since Live (mobile): expanded controls panel covers the gear toggle, panel cannot be closed #664. The column is zoom, layers, Fullscreen, Settings and Legend, or a row in short landscape.ResizeObserverre-measures the column. An open layers list does not count as part of the column.--live-panel-bottom). The legend scrolls internally, as it already does in a short window.titleand opens under "why?". It is M3's wording, unchanged:ScopeMemberFilter.advertsOnlyNoticeplusDagiFilter.hiddenNotice.ScopeMemberFilter.advertsOnlyShort, which takes the rule labels from M3'sRULE_LABELS, andDagiFilter.hiddenShort. They are short enough that the line plus "why?" fits a 360 px phone under both rules..live-dagi-rule;display: contentsabove 640 px).aria-labelkeeps the full name, and the notice names the rule in full.tabindex. The arrow keys check and focus the next radio, wrapping around.live-controls-expanded, The Mesh Live and Map Filters window has a large area of wasted space and obstructs the fireworks (packet) view Kpa-clawbot/CoreScope#1532). It is now pinned by a test.I chose these over folding rows behind a "more" toggle because they are the smallest change that meets the bound without hiding any control.
Requirements, tests and mutants
test-issue-1055-live-panel-e2e.jsruns on its own Go server through the shared #1055 harness (tests/e2e-1055-live.js), with the M2 seed and test area AARHUS. It covers 5 sizes × light/dark (375×560 and 360×640 with touch). Each size runs with no selection, Area only, Kommune Aarhus, and Aarhus + Area. The suite is inscripts/e2e-shards.json(shard 2).node scripts/run-e2e-shard.js --validatepasses: 319 suites [T]..leaflet-controllink or button,#vcrBarbuttons,#feedShowBtn, the bar, the credit and the legend, pluselementFromPointat each button's centre. Checked again with the explanation open. Master fails at 1920 and 1280 [T]advertsOnlyShortfor each state and rule, which agrees withadvertsOnlyNoticeon when there is a notice;hiddenShort; the Live notice's partsControls height with a DAGI selection, with the selector shown, in px (children's boxes) [T]:
On the merge commit, before the N2 fix, the phones grew by +73 px at 375×560 and +103 px at 360×640, measured with
scrollHeight.Other suites run on this branch
fill(), Aarhus sat in the unfiltered list at y 4602 and then moved to y 216. The sharedtapInPlacealso waits for its control to hold still, with no fixed sleeps.node test-frontend-helpers.js: 746/0 [T].sh test-all.sh: 398 of 408 files green, then The Mesh Live and Map Filters window has a large area of wasted space and obstructs the fireworks (packet) view Kpa-clawbot/CoreScope#1532 fixed: 399 [T]. [K] The other 9 fail only on timing bounds on this slow 4-vCPU machine, and fail the same way on pristine master there: heard-filter, scope-color, 724, 728, 941, 730, 598, 1055-live-dagi, 1055-m3-area-rule.textContent.Invariants
cmd/serverstays read-only [T].map[string]interface{}[T]..githubdiff; the fork guards are unchanged [T].requestAnimationFrame, on resize only, never per packet. The arrow-key handler runs per key press. The notice renders only on a selection or rule change [A].Screenshots
Before (the merge commit) and after (this head), at 1920×870, 1280×800, 768×1024, 375×560 and 360×640 with Kommune Aarhus and the selector visible. The after set includes Touches. The E2E's own light and dark shots are attached separately.
Remaining
data-position="tr") still sits at top 64 px over the right end of an open panel. This was the case before too.🤖 Generated with Claude Code