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

feat: dialogs for project revive and delete #7863

Merged
merged 5 commits into from
Aug 15, 2024

Conversation

Tymek
Copy link
Member

@Tymek Tymek commented Aug 13, 2024

About the changes

Dialogs needed to comfirm revive/delete actions

Copy link

vercel bot commented Aug 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 15, 2024 7:22am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Aug 15, 2024 7:22am

@Tymek Tymek force-pushed the feat/archive-project-list-dialogs branch from eda518f to 38c7b71 Compare August 13, 2024 15:07
Copy link
Contributor

github-actions bot commented Aug 13, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

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: [
Copy link
Contributor

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

Copy link
Member Author

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;
Copy link
Contributor

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?

Copy link
Member Author

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

@Tymek Tymek enabled auto-merge (squash) August 15, 2024 07:21
@Tymek Tymek merged commit 3baeb4c into main Aug 15, 2024
8 of 12 checks passed
@Tymek Tymek deleted the feat/archive-project-list-dialogs branch August 15, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants