-
Notifications
You must be signed in to change notification settings - Fork 44
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
iSCSI UI #435
iSCSI UI #435
Conversation
911c479
to
eb4269d
Compare
5c78dd5
to
74f0681
Compare
c6810d1
to
ef9cb41
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.
LGTM
const RowActions = ({ actions, id, ...props }) => { | ||
const actionsToggle = (props) => ( | ||
<DropdownToggle | ||
id={id} | ||
aria-label="Actions" | ||
toggleIndicator={null} | ||
isDisabled={props.isDisabled} | ||
onToggle={props.onToggle} | ||
> | ||
<Icon name="more_vert" size="24" /> | ||
</DropdownToggle> | ||
); | ||
|
||
return ( | ||
<ActionsColumn | ||
items={actions} | ||
actionsToggle={actionsToggle} | ||
{...props} | ||
/> | ||
); | ||
}; |
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.
Reminder: As discussed off-line, in future iterations we should extract this to a common component or similar. It's used here, at users and in another place I do not remember right now.
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.
It is implemeted by ConnectionsTable
, FirstUser
, RootAuthMethods
, InitiatorPresenter
and NodesPresenter
.
}; | ||
|
||
export default function DiscoverForm({ onSubmit: onSubmitProp, onCancel }) { | ||
const [savedData, setSavedData] = useLocalStorage("dinstaller-iscsi-discovery", {}); |
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.
NP: most probably, we should place the prefix globally
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.
Looks good, thanks!
Problem
The storage client was already adapted for dealing with the iSCSI D-Bus API recently shipped by the storage sevice, see:
But there is no UI yet for configuring iSCSI.
Solution
Add a new page for configuring iSCSI.
Testing
NOTE: The UI was heavily tested in a manual way. Unit tests will come soon in a separate PR, once we have finished more urgent tasks.
Screenshots
Show/Hide