Migrate Helm actions on topology to use the new extensions#9313
Migrate Helm actions on topology to use the new extensions#9313openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
/assign @rohitkrai03 |
rohitkrai03
left a comment
There was a problem hiding this comment.
/hold
@debsmita1 This PR seems to be just using ActionLoader to get extension based action but still using the old KebabMenu components. The goal of the story was to use new KebabMenu components potentially after https://issues.redhat.com/browse/ODC-5749 which would lead to some more refactoring in how topology uses actions.
There was a problem hiding this comment.
Does this actually work? Type of the actions coming from extensions is a bit different than that of old actions. Seems like this would break somewhere.
There was a problem hiding this comment.
Added this so that the menu items in the context menu are rendered with proper spacing and are focused when the cursor hovers on them
There was a problem hiding this comment.
This might add some unnecessary styles to normal menu items.
|
Fixing the alignment of the Sub Menu and grouped menu items in the Context Menu |
|
@debsmita1 #9306 just merged. So you can remove the duplicate changes from this PR now. |
There was a problem hiding this comment.
This might add some unnecessary styles to normal menu items.
There was a problem hiding this comment.
Changed the implementation here. PTAL
|
/cc @christianvogt |
|
/hold cancel |
There was a problem hiding this comment.
I don't think we need this prop. Since all new extensions are hook based, strings will be translated in the hook itself
There was a problem hiding this comment.
key here can be a constant because there's no conflicts
topology is sufficient
There was a problem hiding this comment.
We also need resource contextId for this util to be reused for other nodes.
@rohitkrai03 we need a way to avoid doing it this way and have a single loader
There was a problem hiding this comment.
Yeah, I am working on adding support for resource actions in action loader. So we can provide the resource model along with contextId to the action loader and get back all the actions for a specific resource as well as a context.
There was a problem hiding this comment.
do we put this PR on hold till then ?
There was a problem hiding this comment.
I think we can get this merged now. The follow up story that I am working on will take care of resource actions.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: debsmita1, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |


JIRA ticket:
https://issues.redhat.com/browse/ODC-5693
Solution description:
GIF/Screenshot:


