-
-
Notifications
You must be signed in to change notification settings - Fork 740
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: dialogs for project revive and delete #7863
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
eda518f
to
38c7b71
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
@@ -77,6 +77,16 @@ export default class ProjectController extends Controller { | |||
summary: 'Get a list of all projects.', | |||
description: | |||
'This endpoint returns an list of all the projects in the Unleash instance.', | |||
parameters: [ |
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 guess we'll need to repeat it in the enterprise since this method is duplicated
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.
in Enterprise there is this comment:
https://github.com/ivarconr/unleash-enterprise/blob/fa284169f6f4a282d9a26bfed18aa2a5ba8346c3/src/project/project-controller.ts#L123
// this operation is also described in OSS, so that operation will take precedence in the output. In other words, anything you put here is ignored.
@@ -5,7 +5,7 @@ import { HtmlTooltip } from 'component/common/HtmlTooltip/HtmlTooltip'; | |||
import { Badge } from 'component/common/Badge/Badge'; | |||
|
|||
interface IProjectModeBadgeProps { | |||
mode: 'private' | 'protected' | 'public' | string; | |||
mode?: 'private' | 'protected' | 'public' | string; |
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.
why do we relax the constraint?
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.
Component was already written in a way that if any other string is provided, it will be ignored
About the changes
Dialogs needed to comfirm revive/delete actions