Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

chore: Fix regression in MDCChipFoundation.getDimensions() #4443

Merged
merged 3 commits into from
Feb 23, 2019

Conversation

acdvorak
Copy link
Contributor

PR #4332 inadvertently broke short-circuit logic and evaluation order.

The change caused incorrect ripple size calculations on filter chips without leading icons, which was caught by internal screenshot tests.

PR #4332 inadvertently broke short-circuit logic and evaluation order.

The change caused incorrect ripple size calculations on filter chips without leading icons, which was caught by internal screenshot tests.
packages/mdc-chips/chip/foundation.ts Show resolved Hide resolved
packages/mdc-chips/chip/foundation.ts Outdated Show resolved Hide resolved
@codecov-io
Copy link

codecov-io commented Feb 23, 2019

Codecov Report

Merging #4443 into feat/typescript will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           feat/typescript    #4443      +/-   ##
===================================================
+ Coverage            99.05%   99.05%   +<.01%     
===================================================
  Files                  130      130              
  Lines                 6230     6237       +7     
  Branches               812      813       +1     
===================================================
+ Hits                  6171     6178       +7     
  Misses                  58       58              
  Partials                 1        1
Impacted Files Coverage Δ
packages/mdc-checkbox/component.ts 95.74% <100%> (+0.04%) ⬆️
packages/mdc-chips/chip/foundation.ts 100% <100%> (ø) ⬆️

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 b6b6983...53f5b73. Read the comment docs.

@mdc-web-bot
Copy link
Collaborator

All 624 screenshot tests passed for commit 69e87e5 vs. feat/typescript! 💯🎉

Copy link
Contributor

@patrickrodee patrickrodee left a comment

Choose a reason for hiding this comment

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

LGTM

@mdc-web-bot
Copy link
Collaborator

All 624 screenshot tests passed for commit 297f7c8 vs. feat/typescript! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 624 screenshot tests passed for commit 53f5b73 vs. feat/typescript! 💯🎉

@acdvorak acdvorak merged commit 6faaabe into feat/typescript Feb 23, 2019
@acdvorak acdvorak deleted the feat/typescript--fix-chip-regression branch February 23, 2019 04:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants