-
Notifications
You must be signed in to change notification settings - Fork 358
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
Replace cloud tenant form with React component #4895
Replace cloud tenant form with React component #4895
Conversation
6f7b596
to
9fd779f
Compare
9fd779f
to
756baa7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works same as in master, code looks good 👍 failing tests are probably unrelated.
failing travis is related to this change: ManageIQ/manageiq-gems-pending#407 |
This pull request is not mergeable. Please rebase and repush. |
756baa7
to
1f9e37f
Compare
@miq-bot remove_label unmergeable |
This pull request is not mergeable. Please rebase and repush. |
1f9e37f
to
f483380
Compare
@miq-bot remove_label unmergeable |
2099d13
to
c904312
Compare
@miq-bot assign @martinpovolny |
c904312
to
3617220
Compare
Nice catch gotta resolve that
That depends on how it works on master |
OK got a fix for the styles, just waiting for merge: https://github.com/data-driven-forms/pf3-component-mapper/pull/4 |
3617220
to
349ac43
Compare
Checked commit Hyperkid123@349ac43 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
import { mount, shallow } from 'enzyme'; | ||
import toJson from 'enzyme-to-json'; | ||
import fetchMock from 'fetch-mock'; | ||
import CloudTennantForm from '../../components/cloud-tenant-form/cloud-tenant-form'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo Tennant != Tenant
EDIT: fixed in #5019
|
||
const MiqFormRenderer = props => ( | ||
<FormRender | ||
disableSubmit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the purpose of always disabling submit?
Looks like submit is indeed always disabled. Doesn't sound like something we want :)
(EDIT: hopefully fixed in #5018)
Replaces angular form with React component.
form is at:
Compute
->Clouds
->Tenants
->Create/Edit
Changes
Before
After
TO DO