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
add Channels, EventSources, OperatorBacked, HelmCharts menu action to Add To Project context menu #6838
Conversation
… Add To Project context menu
/cc @rohitkrai03 @christianvogt I'm seeing a lack of extensibility here, and Helm stuff showing up in shared. Need Rohit / Christian to chime in here with suggestions. |
I'd like to keep helm out of shared. It will become it's own package soon. |
/assign |
@sahil143 one issue i see but this is not with this PR however as we have more options now so it's easily reproduced, if we try to add to project from lower quadrant of screen, we may need to track this as separate issue |
/kind feature |
will there be a separate PR for adding Operator Backed to an existing component? |
@bgliwa01 Do you mean through connector? If yes, that will be another story. This PR only takes care of adding action items to the context menu. |
@invincibleJai I could reproduce it on the |
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
<img className={className} style={style} src={helmIcon} alt="Helm Charts Logo" /> | ||
); | ||
|
||
export default HelmChartsIcon; |
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.
nit: shall we have file name as well HelmChartsIcon
const EventChannelIcon: React.FC = () => { | ||
return <img style={eventChannelStyles} src={channelIcon} alt="" />; | ||
}; |
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.
nit: can use implicit return here
change HelmChartIcon name and use implicit return
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.
Verified locally, works fine
/lgtm
/approve Verified, works as expected. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bgliwa01, invincibleJai, karthikjeeyar, sahil143 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 |
Fixes: https://issues.redhat.com/browse/ODC-4914
Analysis / Root cause: missing Channels, EventSources, OperatorBacked, HelmCharts from Add to Project sub menu
Solution Description: added Channels, EventSources, OperatorBacked, HelmCharts menu action
Screen shots / Gifs for design review:
Unit test coverage report:
Test setup:
Browser conformance: