-
Notifications
You must be signed in to change notification settings - Fork 153
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
[UI] Add edit option to resources that have create template in annotation #2846
Conversation
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 works in oss while I'm passing down no actions - nothing is showing up and it's not crashing! Hooray!
One small thing that confused me when I was reading through the changes, but that's all!
Cheers Josh, fair points :)! I've moved the Edit Button to EE and added types for actions (we can extend at a later date if necessary) |
…tion (#2846) * Add edit option to resources that have create template in anno - WIP * Move edit option to resource details page * Refactor edit in details * Extract custom actions component * Remove edit from core details table * Remove edit from core details table - updated * Fix some errors * Add custom actions to the details page * Add custom actions to the details page - updated * Add actions type and move edit button * Add actions type and move edit button - updated * Lint
Part of https://app.zenhub.com/workspaces/team-pesto-6127680175876a0014fc5657/issues/weaveworks/weave-gitops-enterprise/1591
Added the
CustomActions
Component in order to addEdit
to the standardSync
andSuspend
on the Resource Details page in EE.The Edit is solely used by resources created by the user via templates so it will only be visible in EE.