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
adds kebab option for edit URI along with associated action modal #6074
adds kebab option for edit URI along with associated action modal #6074
Conversation
const fieldId = getFieldId('sink-name', 'uri'); | ||
const dirty = values?.uri !== initialValues.uri; | ||
return ( | ||
<form className="modal-content modal-content--no-inner-scroll" onSubmit={handleSubmit}> |
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.
why not use <Form />
from patternfly?
onReset={cancel} | ||
initialStatus={{ error: '' }} | ||
> | ||
{(formikProps) => <SinkUriModal {...formikProps} labelTitle="Edit URI" cancel={cancel} />} |
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.
set labelTitle directly as modal title, no need to pass as prop. WDYT?
@@ -53,6 +54,7 @@ import { | |||
pubSubDropTargetSpec, | |||
CREATE_PUB_SUB_CONNECTOR_OPERATION, | |||
} from './knativeComponentUtils'; | |||
// import { element } from 'protractor'; |
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.
remove comment
f9b2251
to
333b851
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: invincibleJai, jeff-phillips-18 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
9 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
Fixes:
https://issues.redhat.com/browse/ODC-4292
Task: https://issues.redhat.com/browse/ODC-4362
Analysis / Root cause:
User can't editURi on Topology as there is not kebab action on sidebar or context menu on topology
Solution Description:
Added kebab action on sidebar or context menu on topology to edit URI
Screen shots / Gifs for design review:
Modal
Sidebar & contextMenu
@openshift/team-devconsole-ux
Unit test coverage report:
Browser conformance: