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
Bug 1986426: Fixes for odf and ibm integration #9629
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.odf-create-storage-class__form { | ||
padding-right: 10rem; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added right padding to create storage class form for better look and feel |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export { BackingStorage } from './backing-storage-step/backing-storage-step'; | ||
export { CapacityAndNodes } from './capacity-and-nodes-step/capacity-and-nodes-step'; | ||
export { ConnectionDetails } from './connection-details-step'; | ||
export { CreateStorageClass } from './create-storage-class-step'; | ||
export { CreateStorageClass } from './create-storage-class-step/create-storage-class-step'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. file renaming |
||
export { ReviewAndCreate } from './review-and-create-step/review-and-create-step'; | ||
export { CreateLocalVolumeSet } from './create-local-volume-set/create-local-volume-set-step'; | ||
export { CreateLocalVolumeSet } from './create-local-volume-set-step/create-local-volume-set-step'; | ||
export { SecurityAndNetwork } from './security-and-network-step/security-and-network-step'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import * as React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { | ||
Form, | ||
FormGroup, | ||
TextInput, | ||
InputGroup, | ||
|
@@ -33,7 +32,7 @@ export const FlashSystemConnectionDetails: React.FC<ExternalComponentProps<Flash | |
}; | ||
|
||
return ( | ||
<Form> | ||
<> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. form tag already used in parent component. Hence removing. |
||
<FormGroup | ||
label={t('ceph-storage-plugin~Endpoint')} | ||
fieldId="endpoint-input" | ||
|
@@ -81,7 +80,7 @@ export const FlashSystemConnectionDetails: React.FC<ExternalComponentProps<Flash | |
</Tooltip> | ||
</InputGroup> | ||
</FormGroup> | ||
<FormGroup label={t('ceph-storage-plugin~Poolname')} isRequired fieldId="poolname-input"> | ||
<FormGroup label={t('ceph-storage-plugin~Pool name')} isRequired fieldId="poolname-input"> | ||
<TextInput | ||
id="poolname-input" | ||
value={formState.poolname} | ||
|
@@ -90,11 +89,11 @@ export const FlashSystemConnectionDetails: React.FC<ExternalComponentProps<Flash | |
isRequired | ||
/> | ||
</FormGroup> | ||
</Form> | ||
</> | ||
); | ||
}; | ||
|
||
export const FlashSystemPayload: CreatePayload<FlashSystemState> = ( | ||
export const createFlashSystemPayload: CreatePayload<FlashSystemState> = ( | ||
systemName, | ||
form, | ||
model, | ||
|
@@ -161,5 +160,5 @@ export const FlashSystemPayload: CreatePayload<FlashSystemState> = ( | |
return [secretPayload, flashSystemPayload]; | ||
}; | ||
|
||
export const FlashSystemCanGoToNextStep: CanGoToNextStep<FlashSystemState> = (state) => | ||
export const flashSystemCanGoToNextStep: CanGoToNextStep<FlashSystemState> = (state) => | ||
!!state.endpoint && !!state.username && !!state.password && !!state.poolname; |
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.
renaming file