-
-
Notifications
You must be signed in to change notification settings - Fork 741
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
feat: edit release plan template #8723
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
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.
Nice
frontend/src/hooks/api/getters/useReleasePlanTemplates/useReleasePlanTemplateInstance.ts
Outdated
Show resolved
Hide resolved
<FormTemplate | ||
title={`Edit template ${template.name}`} | ||
description='Edit a release plan template that makes it easier for you and your team to release features.' | ||
> |
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.
I assume we'll add other props like formatApiCode
at a later stage?
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.
Yeah, we have to look at extending this to fit other type of information as well
frontend/src/component/releases/ReleasePlanTemplate/EditReleasePlanTemplate.tsx
Outdated
Show resolved
Hide resolved
frontend/src/component/releases/ReleasePlanTemplate/EditReleasePlanTemplate.tsx
Outdated
Show resolved
Hide resolved
frontend/src/component/releases/ReleasePlanTemplate/EditReleasePlanTemplate.tsx
Outdated
Show resolved
Hide resolved
frontend/src/component/releases/ReleasePlanTemplate/EditReleasePlanTemplate.tsx
Outdated
Show resolved
Hide resolved
frontend/src/component/releases/ReleasePlanTemplate/EditReleasePlanTemplate.tsx
Outdated
Show resolved
Hide resolved
frontend/src/component/releases/ReleaseManagement/ReleasePlanTemplateCardMenu.tsx
Outdated
Show resolved
Hide resolved
<ReleasePlanTemplateCardMenu | ||
template={template} | ||
clickHandler={clickHandler} | ||
/> |
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.
This one confuses me a bit. If we always want to navigate on click, why not wrap the card in a link instead?
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.
The card is already wrapped in a click, but I have to override that for the menu, and thus also specify an onclick for the menu items
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.
No hard blocks from me, but I think it's worth addressing some of the comments before merging.
…ePlanTemplate.tsx Co-authored-by: Nuno Góis <[email protected]>
This facilitates editing a release plan template
In order to split large UI projects up, this only allows you to change the name and description (but will show you the names of milestones in the UI), and will carry the existing milestones with it when making a request. We'll tackle editing milestones and their strategies in a different PR