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

New: Add react-select component #26

Merged
merged 1 commit into from
Jan 12, 2016
Merged

New: Add react-select component #26

merged 1 commit into from
Jan 12, 2016

Conversation

omgaz
Copy link
Contributor

@omgaz omgaz commented Jan 6, 2016

Using react-select this PR aims to integrate multi-select boxes into adslot-ui.

  • Custom style overrides
  • single and multi examples and tests
  • Downgraded sass naming convention errors to warnings until we can do inline/file based rules/exclusions
  • Added spacing between example components
  • allowCreate dependant on react-select issue 660 (not linking directly because github seems to spam the projects issue with audits 🔈 )

screen shot 2016-01-12 at 11 54 34

https://trello.com/c/MQGlB5Cs/4688-ad-hoc-react-select

@omgaz omgaz force-pushed the add-react-select branch 2 times, most recently from 9407690 to 8d50cb4 Compare January 8, 2016 00:36
@omgaz omgaz changed the title New: Add react-select component [WIP] New: Add react-select component Jan 8, 2016
@omgaz omgaz force-pushed the add-react-select branch 3 times, most recently from f19d9d3 to b4b89e1 Compare January 8, 2016 02:41
@codecov-io
Copy link

Current coverage is 98.38%

Merging #26 into master will increase coverage by +7.48% as of 4ef8323

@@            master     #26   diff @@
======================================
  Files            2       7     +5
  Stmts           11      62    +51
  Branches         0       0       
  Methods          0       0       
======================================
+ Hit             10      61    +51
  Partial          0       0       
  Missed           1       1       

Review entire Coverage Diff as of 4ef8323

Powered by Codecov. Updated on successful CI builds.

@omgaz omgaz force-pushed the add-react-select branch 2 times, most recently from 6e887ac to 0ceca31 Compare January 8, 2016 04:45
@omgaz omgaz self-assigned this Jan 8, 2016
@@ -3,6 +3,7 @@
require('styles/_bootstrap-custom.scss');
require('styles/_icheck-custom.scss');
require('styles/_react-toggle-custom.scss');
require('styles/components/Select.scss');
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 we should be using the same pattern as above (since its overriding styles for an existing component rather than a new custom component.

@omgaz omgaz force-pushed the add-react-select branch 2 times, most recently from 6b4cc46 to 3f1611f Compare January 11, 2016 03:25
$select-input-border-color: $color-border-lighter;
$select-input-border-radius: $border-radius-base;
$select-input-border-focus: $select-input-border-color;
$select-input-height: 30px;
Copy link
Contributor

Choose a reason for hiding this comment

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

$spacing-etalon ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just a coincidence that they're the same. It's 26 now anyway.

@omgaz omgaz force-pushed the add-react-select branch 5 times, most recently from 452ec9b to 232c1e6 Compare January 12, 2016 02:32
@camjc
Copy link
Contributor

camjc commented Jan 12, 2016

LGTM

 - Custom style overrides
 - single and multi examples and tests
 - Downgraded sass naming convention errors to warnings until we can do inline/file based rules/exclusions
 - Added spacing between example components and removed unnecessary `<div>`s
 - `allowCreate` dependant on react-select PR 660
 - Removed unnecessary box shadow length properties
@mcslash
Copy link
Contributor

mcslash commented Jan 12, 2016

LGTM 🍑

@mcslash
Copy link
Contributor

mcslash commented Jan 12, 2016

Merging!

mcslash added a commit that referenced this pull request Jan 12, 2016
New: Add react-select component
@mcslash mcslash merged commit 766bbf5 into master Jan 12, 2016
@mcslash mcslash deleted the add-react-select branch January 12, 2016 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants