Repository navigation
fix(lineage): drill in when a fast zoom-in reaches the maximum zoom (backport 2.1 #37080) - #37115
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved🟡 Medium risk · Changing Lineage semantic-zoom settling to compare against resting zoom enables fast drills, but could trigger unintended level changes after rapid gestures. Backports the fix that lets a fast zoom-in on the platform Lineage map drill into the next level when it reaches the 250% maximum, by judging each zoom against the last resting zoom. Slow zoom, panning and zoom-out are unchanged. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Issue
Cherry-pick of #37080 to
2.1(no issue).What it fixes
On the platform Lineage map, a fast zoom-in (quick wheel or trackpad) stopped at the 250% maximum and never drilled into the next level. The map now judges each move against the zoom it last came to rest at, so a fast zoom-in drills like a slow one. Slow zooming, panning and zooming out are unchanged. Full explanation in #37080.
This is also the
interaction-semantic-zoom-instep that fails inLineageScenePerformanceScaleIT. On2.1that test first fails earlier with401 Expired token!, which #35892 fixes onmain; that PR is not part of this backport.How it was tested
git patch-id --stablematches the commit onmain.LineageMapJest suites pass (3 suites, 87 tests); ESLint and Prettier are clean on the changed files;tscshows no errors in them.PlatformLineage.spec.tswas verified onmainin fix(lineage): drill in when a fast zoom-in reaches the maximum zoom #37080 and runs here in CI.