Skip to content

Conversation

@aduth
Copy link
Member

@aduth aduth commented Oct 27, 2017

Related: #896, #1459

This pull request seeks to remove the focus prop from the Button component, originally introduced in #896 and later its only usage removed in #1459. This helps simplify the component, which no longer requires lifecycle or a bound ref.

Testing instructions:

Verify there are no regressions in button behavior.

@aduth aduth added the [Feature] UI Components Impacts or related to the UI component system label Oct 27, 2017
@aduth aduth requested a review from ellatrix October 27, 2017 13:37
@codecov
Copy link

codecov bot commented Oct 27, 2017

Codecov Report

Merging #3201 into master will decrease coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3201      +/-   ##
=========================================
- Coverage   31.56%   31.5%   -0.07%     
=========================================
  Files         221     221              
  Lines        6311    6304       -7     
  Branches     1121    1120       -1     
=========================================
- Hits         1992    1986       -6     
+ Misses       3631    3630       -1     
  Partials      688     688
Impacted Files Coverage Δ
components/icon-button/index.js 100% <100%> (ø) ⬆️
components/button/index.js 100% <100%> (+9.09%) ⬆️

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 d951c5f...12823e3. Read the comment docs.

@aduth aduth merged commit 7378fc3 into master Oct 27, 2017
@aduth aduth deleted the remove/button-focus-prop branch October 27, 2017 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] UI Components Impacts or related to the UI component system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants