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

fix(list): Remove unused adapter.removeAttributeForElementIndex #4473

Merged
merged 2 commits into from
Mar 6, 2019

Conversation

moog16
Copy link
Contributor

@moog16 moog16 commented Mar 1, 2019

While implementing react list, I noticed this method is actually not used in the foundation.

@codecov-io
Copy link

codecov-io commented Mar 1, 2019

Codecov Report

Merging #4473 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4473      +/-   ##
==========================================
- Coverage   99.05%   99.05%   -0.01%     
==========================================
  Files         130      130              
  Lines        6235     6230       -5     
  Branches      811      810       -1     
==========================================
- Hits         6176     6171       -5     
  Misses         58       58              
  Partials        1        1
Impacted Files Coverage Δ
packages/mdc-list/component.ts 98.46% <ø> (-0.05%) ⬇️
packages/mdc-list/foundation.ts 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 a132163...78d8587. Read the comment docs.

@kfranqueiro
Copy link
Contributor

I think this seems reasonable, but it occurs to me we're going to need to start noting even adapter API removals as BREAKING CHANGE because it will break anyone using the adapter type in TypeScript if they're implementing a superset.

cc @abhiomkar if he wants to take a look at this too.

@kfranqueiro kfranqueiro changed the title fix(list): removed unused adapter.removeAttributeForElementIndex fix(list): Remove unused adapter.removeAttributeForElementIndex Mar 1, 2019
@moog16
Copy link
Contributor Author

moog16 commented Mar 1, 2019

Ya - I also thought this is a breaking change even if its not being used. Users should at least be aware via the CHANGELOG.

@mdc-web-bot
Copy link
Collaborator

All 627 screenshot tests passed for commit 69a9858 vs. master! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 627 screenshot tests passed for commit 78d8587 vs. master! 💯🎉

@moog16 moog16 merged commit 6b3a419 into master Mar 6, 2019
@moog16 moog16 deleted the fix/list/remove-unused-adaptermethod branch March 6, 2019 20:01
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