console icon indicating copy to clipboard operation
console copied to clipboard

🚀 Feature: Add extra confirmation when deleting an organization

Open stnguyen90 opened this issue 2 years ago • 4 comments

🔖 Feature description

When deleting a project, there is an input that requires you to input something before continuing:

Screen Shot 2023-10-19 at 12 59 47 PM

This should be done for organizations too because deleting an organization will delete all projects in it. RIght now, there is only:

Screen Shot 2023-10-19 at 12 58 26 PM

🎤 Pitch

These input confirmations are a helpful way to prevent people from accidentally doing something irreversibly destructive.

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

stnguyen90 avatar Oct 19 '23 20:10 stnguyen90

Hey please assign me this issue

Aadish1233 avatar Oct 19 '23 21:10 Aadish1233

@Aadish1233, thanks for your interest. To contribute, please look for issues labeled with "good first issue" or "help wanted".

stnguyen90 avatar Oct 20 '23 16:10 stnguyen90

@stnguyen90 I would like to work on this issue.

To implement this we can add

<FormList>
    <InputText
        label={`Enter "${$organization.name}" to continue`}
        placeholder="Enter name"
        id="organization-name"
        autofocus
        required
        bind:value={name} />
</FormList>

and

<Button disabled={!name || name !== $organization.name} secondary submit>Delete</Button>

to deleteOrganization.svelte

35C4n0r avatar Oct 29 '23 16:10 35C4n0r

can i work on this issue?

nick2432 avatar Nov 02 '23 04:11 nick2432