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:table): do not run change detection if the sorting is not shown #7174

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

@codecov
Copy link

codecov bot commented Jan 2, 2022

Codecov Report

Merging #7174 (ae3d097) into master (77db914) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7174      +/-   ##
==========================================
- Coverage   91.67%   91.65%   -0.02%     
==========================================
  Files         486      486              
  Lines       15868    15871       +3     
  Branches     2587     2586       -1     
==========================================
  Hits        14547    14547              
- Misses       1007     1009       +2     
- Partials      314      315       +1     
Impacted Files Coverage Δ
components/table/src/cell/th-addon.component.ts 90.12% <100.00%> (+0.37%) ⬆️
components/core/util/text-measure.ts 92.10% <0.00%> (-0.88%) ⬇️
components/tabs/tab-nav-bar.component.ts 87.23% <0.00%> (-0.71%) ⬇️

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 77db914...ae3d097. 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 e541761 into NG-ZORRO:master Feb 18, 2022
@arturovt arturovt deleted the perf/table-th-addon-click branch February 18, 2022 13:44
@arturovt arturovt restored the perf/table-th-addon-click branch February 19, 2022 15:20
@arturovt arturovt deleted the perf/table-th-addon-click branch February 19, 2022 15:20
@arturovt arturovt restored the perf/table-th-addon-click branch February 19, 2022 15:20
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