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(module:mention): do not run change detections on mousedown events #7094

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

arturovt
Copy link
Member

@arturovt arturovt commented Dec 1, 2021

PR Checklist

PR Type

[x] Refactoring (no functional changes, no api changes)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@zorro-bot
Copy link

zorro-bot bot commented Dec 1, 2021

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Dec 1, 2021

Codecov Report

Merging #7094 (04961d1) into master (2f7c44d) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7094      +/-   ##
==========================================
+ Coverage   89.61%   89.66%   +0.05%     
==========================================
  Files         488      488              
  Lines       15873    15883      +10     
  Branches     2446     2446              
==========================================
+ Hits        14225    14242      +17     
+ Misses       1015     1007       -8     
- Partials      633      634       +1     
Impacted Files Coverage Δ
components/mention/mention.component.ts 97.35% <100.00%> (+0.14%) ⬆️
components/core/util/text-measure.ts 89.47% <0.00%> (-1.76%) ⬇️
components/table/src/table-style.service.ts 94.82% <0.00%> (-1.73%) ⬇️
components/tabs/tab-nav-bar.component.ts 85.81% <0.00%> (+0.70%) ⬆️
...ts/table/src/table/table-inner-scroll.component.ts 81.42% <0.00%> (+4.28%) ⬆️
components/table/src/table/tbody.component.ts 100.00% <0.00%> (+11.11%) ⬆️
components/table/src/table/tr-measure.component.ts 100.00% <0.00%> (+13.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f7c44d...04961d1. Read the comment docs.

Copy link
Member

@simplejason simplejason left a comment

Choose a reason for hiding this comment

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

LGTM

@simplejason simplejason merged commit 0d4ad23 into NG-ZORRO:master Dec 16, 2021
@arturovt arturovt deleted the perf/mention-mousedown branch December 16, 2021 15:40
qugemingzizhenmafan pushed a commit to qugemingzizhenmafan/ng-zorro-antd that referenced this pull request Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants