Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: don't call Shell API when Flow Editor focused element not changed #4545

Merged
merged 4 commits into from
Oct 27, 2020

Conversation

yeze322
Copy link
Contributor

@yeze322 yeze322 commented Oct 27, 2020

Description

#minor
Previously, clicking on blank area of Flow Editor will trigger a redraw.
This PR optmizes this perf problem by checking if the focused element really changed.

Task Item

Screenshots

@coveralls
Copy link

coveralls commented Oct 27, 2020

Coverage Status

Coverage increased (+0.001%) to 54.99% when pulling 27d53eb on yeze322:perf/focus into 19c3be4 on microsoft:main.

@boydc2014 boydc2014 added the Approved to merge approved, waiting to be merged label Oct 27, 2020
@cwhitten cwhitten merged commit 736bc7b into microsoft:main Oct 27, 2020
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved to merge approved, waiting to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants