Skip to content
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

Unable to add extension tab to Edit Storage Class page #11122

Closed
sumeetsethy opened this issue May 24, 2024 · 4 comments · Fixed by #12886
Closed

Unable to add extension tab to Edit Storage Class page #11122

sumeetsethy opened this issue May 24, 2024 · 4 comments · Fixed by #12886

Comments

@sumeetsethy
Copy link

sumeetsethy commented May 24, 2024

I am developing a new extension for Portworx and as a usecase, i need to add a new tab in StorageClass tabSection.
Screenshot 2024-05-25 at 12 03 21 AM

I have added the below code in my index.ts

image

The same code is able to add a new tab when i give resourceType as persistentvolumeclaim or some other resource type. but for storageClass it fails.

image

Let me know if i am missing anything.

@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label May 24, 2024
@richard-cox richard-cox added this to the v2.9.0 milestone May 24, 2024
@richard-cox
Copy link
Member

Thanks for raising this issue, we'll take a look and see if it's a bug our side or if there's some missing config

@aalves08
Copy link
Member

Gm @sumeetsethy .

The documentation for adding Tabs through Extensions is clear on what is the expected location where those tabs will be added https://extensions.rancher.io/extensions/api/tabs , which is the details page of the given resource(s) you've defined on the function.

Currently we don't support adding Tabs for edit views, but for sure it's a good enhancement to the Extensions api.

Thank you for filling this issue. I'll mark this as an enhancement request so that we can add this new location.

@sumeetsethy
Copy link
Author

Thanks @aalves08
Please do keep me in loop on the progress of this ticket.

@richard-cox richard-cox changed the title Unable to add new tab for storageClasses in Rancher Extensions. Unable to add extension tab to Edit Storage Class page May 27, 2024
@richard-cox richard-cox modified the milestones: v2.9.0, v2.10.0 May 27, 2024
@nwmac nwmac modified the milestones: v2.10.0, v2.11.0 Jul 4, 2024
@richard-cox
Copy link
Member

richard-cox commented Sep 30, 2024

When investigating #12069 the answer isn't clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants