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

feat: Move FormGroup to forms #769

Merged
merged 5 commits into from
Oct 17, 2019
Merged

feat: Move FormGroup to forms #769

merged 5 commits into from
Oct 17, 2019

Conversation

hertweckhr1
Copy link
Contributor

@hertweckhr1 hertweckhr1 commented Oct 15, 2019

Description

BREAKING CHANGE
As a side story to the breaking change we're making by refactoring inputgroup -> moving over FormGroup to Forms instead of InputGroup.

Used git mv in order to preserve git history.

@netlify
Copy link

netlify bot commented Oct 15, 2019

Deploy preview for fundamental-react ready!

Built with commit 171e3fd

https://deploy-preview-769--fundamental-react.netlify.com

@hertweckhr1 hertweckhr1 requested a review from a team October 15, 2019 23:20
@netlify
Copy link

netlify bot commented Oct 15, 2019

@@ -1,7 +1,7 @@
import FormGroup from '../FormGroup';
import FormItem from '../../Forms/FormItem';
import FormLabel from '../../Forms/FormLabel';
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nit: both FormItem and FormLabel could have paths simplified to ../FormItem or ../FormLabel, respectively.

src/index.js Outdated
@@ -28,7 +28,7 @@ export { default as Identifier } from './Identifier/Identifier';
export { default as Image } from './Image/Image';
export { default as InlineHelp } from './InlineHelp/InlineHelp';
export { default as InputGroup } from './InputGroup/InputGroup';
export { default as FormGroup } from './InputGroup/FormGroup';
export { default as FormGroup } from './Forms/FormGroup';
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably worth reordering this list by alpha - it will put FormGroup up by the other Form* exports.

Copy link
Contributor

@greg-a-smith greg-a-smith left a comment

Choose a reason for hiding this comment

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

Looks good. 🚢

@greg-a-smith greg-a-smith changed the title Fix: Move FormGroup to forms fix: Move FormGroup to forms Oct 16, 2019
@@ -16,42 +16,42 @@ export const FormsComponent = () => {
and noted by an asterisk (*).`}
title='Inputs'>
<div>
<FormSet>
<FormGroup>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added FormGroup to an example so that we are using FormGroup in the Forms page

@hertweckhr1 hertweckhr1 changed the title fix: Move FormGroup to forms feat: Move FormGroup to forms Oct 17, 2019
@hertweckhr1 hertweckhr1 merged commit d4d5448 into master Oct 17, 2019
@hertweckhr1 hertweckhr1 deleted the fix/moveFormGroup branch October 17, 2019 04:10
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