Skip to content

fix(lineage): drill in when a fast zoom-in reaches the maximum zoom (backport 2.1 #37080) - #37115

Merged
manerow merged 1 commit into
2.1from
fix/lineage-semantic-zoom-gesture-2.1
Nov 5, 2026
Merged

manerow merged 1 commit into
2.1from
fix/lineage-semantic-zoom-gesture-2.1

Conversation

@manerow

@manerow manerow commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

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-in step that fails in LineageScenePerformanceScaleIT. On 2.1 that test first fails earlier with 401 Expired token!, which #35892 fixes on main; that PR is not part of this backport.

How it was tested

  • Clean cherry-pick: git patch-id --stable matches the commit on main.
  • On this branch: LineageMap Jest suites pass (3 suites, 87 tests); ESLint and Prettier are clean on the changed files; tsc shows no errors in them.
  • The new Playwright test in PlatformLineage.spec.ts was verified on main in fix(lineage): drill in when a fast zoom-in reaches the maximum zoom #37080 and runs here in CI.

@manerow
manerow requested a review from a team as a code owner November 5, 2026 08:05
@manerow manerow added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs labels Nov 5, 2026
@manerow
manerow requested review from Rohit0301 and removed request for a team November 5, 2026 08:05
@manerow manerow added the skip-pr-checks Bypass PR metadata validation check label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
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.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@manerow
manerow merged commit 09baefa into 2.1 Nov 5, 2026
92 of 94 checks passed
@manerow
manerow deleted the fix/lineage-semantic-zoom-gesture-2.1 branch November 5, 2026 08:09
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 80%
80.21% (132686/165416) 66.84% (47060/70404) 69.88% (26658/38148)

@sonarqubecloud

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant