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

Introduces buttons #1

Merged
merged 8 commits into from Sep 6, 2017
Merged

Conversation

KaiVolland
Copy link
Member

This PR introduces the buttons as our first components.
Also fixes the package build.
Adjusts eslint rules.
Adjust babel settings.

@KaiVolland KaiVolland force-pushed the introduce-buttons branch 3 times, most recently from 32c94c5 to c0a28fe Compare August 31, 2017 14:52
@KaiVolland KaiVolland changed the title [WIP] Introduces buttons Introduces buttons Aug 31, 2017
@KaiVolland KaiVolland changed the title Introduces buttons [WIP] Introduces buttons Sep 5, 2017
@KaiVolland KaiVolland changed the title [WIP] Introduces buttons Introduces buttons Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@terrestris terrestris deleted a comment from coveralls Sep 6, 2017
@KaiVolland
Copy link
Member Author

@ahennr @dnlkoch @marcjansen
plz review

.eslintrc Outdated
@@ -14,16 +14,30 @@
},
"parser": "babel-eslint",
"globals": {
"ol": false
"ol": false,
"Promise": false,
Copy link
Member

Choose a reason for hiding this comment

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

Minor: Extra comma.

const setup = () => {
const wrapper = mount(<SimpleButton />);
return wrapper;
};
Copy link
Member

Choose a reason for hiding this comment

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

Can be replaced with TestUtils.mount().

const setup = (props, context) => {
const wrapper = mount(<ToggleButton {...props} />, {context});
return wrapper;
};
Copy link
Member

Choose a reason for hiding this comment

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

Can be replaced with TestUtils.mount().

const setup = (props, context) => {
const wrapper = mount(<ToggleGroup {...props} />, {context});
return wrapper;
};
Copy link
Member

Choose a reason for hiding this comment

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

Can be replaced with TestUtils.mount().

.example-block > span {
margin-right: 10px;
}
</style>
Copy link
Member

Choose a reason for hiding this comment

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

👍 💯

package.json Outdated
@@ -53,15 +54,17 @@
"build:examples": "rimraf ./build/examples/* && node tasks/build-examples.js && webpack --config webpack.examples.config.js",
"build:docs": "jsdoc --package ./package.json --readme ./README.md -c .jsdoc",
"build:js": "webpack --config webpack.development.config.js && webpack -p --config webpack.production.config.js",
"build": "npm run test && npm run build:examples && npm run build:docs && npm run build:js"
"build": "npm run clean && BABEL_ENV=build babel src -d dist"
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure this is the right thing?

},
"dependencies": {
"antd": "2.12.8",
"lodash": "4.17.4",
"loglevel": "1.4.1",
"ol": "4.3.2",
"prop-types": "15.5.10",
Copy link
Member

Choose a reason for hiding this comment

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

This migfht be one of the causes of the merge conflict

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't get why adding a line causes conflicts but you were right.

@KaiVolland KaiVolland merged commit ac6b7f4 into terrestris:master Sep 6, 2017
@KaiVolland KaiVolland deleted the introduce-buttons branch September 27, 2017 13:20
@KaiVolland KaiVolland mentioned this pull request Nov 30, 2017
56 tasks
annarieger added a commit that referenced this pull request Feb 1, 2018
hblitza pushed a commit that referenced this pull request Oct 19, 2022
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.

None yet

3 participants