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

fix(chips): Rename all entry chips to input chips #2619

Merged
merged 4 commits into from
Apr 21, 2018

Conversation

bonniezhou
Copy link
Contributor

Design decision: change name from "entry" to "input" for chips which enable user input by converting text into chips.

@bonniezhou bonniezhou requested a review from moog16 April 20, 2018 23:52
Copy link
Contributor

@moog16 moog16 left a comment

Choose a reason for hiding this comment

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

rename:

mdc-chips/chip-set/mdc-chip-set.scss
@Keyframes mdc-chip-entry

mdc-chips/chip/constants.js
ENTRY_ANIMATION_NAME

demos/chips.html Outdated
var entryButton = document.getElementById('entry-chip-set-button');
var inputChipSet = document.getElementById('input-chip-set');
var chipSets = document.querySelectorAll('.mdc-chip-set:not(#input-chip-set)');
var entryInput = document.getElementById('input-chip-set-input');
Copy link
Contributor

Choose a reason for hiding this comment

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

I think rename this to just input

@bonniezhou
Copy link
Contributor Author

The keyframe doesn't need to be renamed because it refers to the animation when the chip "enters" the DOM. It just so happens that the animation is only used on input chips.

@codecov-io
Copy link

codecov-io commented Apr 21, 2018

Codecov Report

Merging #2619 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2619   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files          98       98           
  Lines        4230     4230           
  Branches      537      537           
=======================================
  Hits         4166     4166           
  Misses         64       64

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 fc6cdd3...6209609. Read the comment docs.

@bonniezhou bonniezhou merged commit a694a34 into master Apr 21, 2018
@bonniezhou bonniezhou deleted the fix/chips/entry-input branch April 21, 2018 00:48
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