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:back-top): do not run change detection if there are no nzClick listeners #7179

Merged
merged 1 commit into from Feb 18, 2022

Conversation

arturovt
Copy link
Member

@arturovt arturovt commented Jan 2, 2022

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 Jan 2, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Jan 2, 2022

Codecov Report

Merging #7179 (a2bd0bd) into master (3c3eac9) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7179      +/-   ##
==========================================
- Coverage   91.76%   91.72%   -0.05%     
==========================================
  Files         486      486              
  Lines       15939    15944       +5     
  Branches     2590     2592       +2     
==========================================
- Hits        14626    14624       -2     
- Misses       1002     1010       +8     
+ Partials      311      310       -1     
Impacted Files Coverage Δ
components/back-top/back-top.component.ts 91.66% <100.00%> (+0.75%) ⬆️
components/table/src/table/tr-measure.component.ts 86.36% <0.00%> (-13.64%) ⬇️
components/table/src/table/tbody.component.ts 88.88% <0.00%> (-11.12%) ⬇️
...ts/table/src/table/table-inner-scroll.component.ts 79.41% <0.00%> (-4.42%) ⬇️
components/table/src/table-style.service.ts 96.55% <0.00%> (+1.72%) ⬆️

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 3c3eac9...a2bd0bd. 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
Copy link
Member

simplejason commented Feb 18, 2022

After the PR approved, I found some conflicts, so I will rebase with master and commit the changes to this branch :)

@simplejason simplejason merged commit 7d091bb into NG-ZORRO:master Feb 18, 2022
@arturovt arturovt deleted the perf/back-top-click branch February 19, 2022 15:21
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.

None yet

2 participants