Skip to content

[Docs] Do not highlight wrong onBegin transition - #4361

Merged
m-bert merged 1 commit into
mainfrom
@mbert/callbacks-flow-arrow
Jul 29, 2026
Merged

[Docs] Do not highlight wrong onBegin transition#4361
m-bert merged 1 commit into
mainfrom
@mbert/callbacks-flow-arrow

Conversation

@m-bert

@m-bert m-bert commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Description

I've noticed that arrow leading towards onFinalize from onBegin even if handler activated. This PR fixes this issue.

Before

Screen.Recording.2026-07-29.at.13.44.35.mov

After

Screen.Recording.2026-07-29.at.13.45.26.mov

Test plan

Play with example

Copilot AI review requested due to automatic review settings July 29, 2026 11:46
@m-bert m-bert added the Documentation Documentation change/enhancement label Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the callbacks-flow diagram example in the docs so it no longer highlights the onBegin → onFinalize transition when the gesture actually activated (i.e., when the correct finalize path is onDeactivate → onFinalize).

Changes:

  • Removed an incorrect begin_finalize edge pulse from the “was active” finalize path, ensuring only deactivate_finalize is highlighted after activation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coado coado left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great arrows

@m-bert
m-bert merged commit 1506f6a into main Jul 29, 2026
3 checks passed
@m-bert
m-bert deleted the @mbert/callbacks-flow-arrow branch July 29, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation change/enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants