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

chore(dialog): Remove ripple layout & layoutFooterRipples adapter API #2570

Merged
merged 5 commits into from
Apr 16, 2018

Conversation

kfranqueiro
Copy link
Contributor

Ripple now calls layout upon activation.

The layoutFooterRipples adapter API is no longer used and can be removed.

Requires #2567 (which this PR is based on).

Kenneth G. Franqueiro added 3 commits April 16, 2018 11:07
Unbounded still needs layout called immediately to compute its position.
Ripple now calls layout upon activation.

The layoutFooterRipples adapter API is no longer used and can be removed.
Copy link
Contributor

@williamernest williamernest left a comment

Choose a reason for hiding this comment

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

Remove unused variable. Otherwise LGTM

const stubbedLayout = td.func('MDCRipple#layout');

before(() => {
MDCRipple.prototype.layout = stubbedLayout;
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove import of MDCRipple
24:9 error 'MDCRipple' is defined but never used. Allowed unused vars must match /^(?:(?:MDC(?:(?:[A-Z][a-z0-9]+)+)Adapter)|(?:(?:(?:[A-Z][a-z0-9]+)+)Type))$/ no-unused-vars

@kfranqueiro kfranqueiro changed the base branch from feat/ripple-layout-on-activate to master April 16, 2018 19:56
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@c6076e1). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2570   +/-   ##
=========================================
  Coverage          ?   98.76%           
=========================================
  Files             ?       98           
  Lines             ?     4195           
  Branches          ?      535           
=========================================
  Hits              ?     4143           
  Misses            ?       52           
  Partials          ?        0
Impacted Files Coverage Δ
packages/mdc-dialog/index.js 100% <ø> (ø)
packages/mdc-dialog/foundation.js 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 c6076e1...bbcd7cf. Read the comment docs.

@kfranqueiro kfranqueiro merged commit 5ba7e27 into master Apr 16, 2018
@kfranqueiro kfranqueiro deleted the chore/dialog-no-ripple-layout branch April 16, 2018 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants