chapter icon indicating copy to clipboard operation
chapter copied to clipboard

Chapter Deletion functionality

Open ojeytonwilliams opened this issue 2 years ago • 3 comments

We have the resolver, but we don't have a UI to make requests to it.

Since this is the most destructive operation we have, it should only be accessible to instance owners, should come with dire warnings and be difficult to do accidentally.

Something like the Github repo deletion UI would be nice: i.e. require owners to type in the chapter name before the delete button is enabled.

ojeytonwilliams avatar Jul 13 '22 10:07 ojeytonwilliams

For reference, the current chapter dashboard:

image

ojeytonwilliams avatar Jul 15 '22 15:07 ojeytonwilliams

Using the reference, I am planning to add tabs holding setting and General. The user can navigate to the setting and will see two buttons. Clicking the buttons will open a popup asking them if they sure with input asking them to input chapter name.

Hopefully later in this, instead of tabs, I create setting page so navigation can happen manually with an url, example: https://chapter.freecodecamp.dev/chapter/dashboard/name/settings

I create page when deletion or transfering is confirmed, you lead to a page asking for the password. There should be no easy way to input url to that page because we don't want people to bypass confirming part.

Sboonny avatar Jul 16 '22 18:07 Sboonny

I have removed MVP label because what left is adding setting page and input with required chapter.name pattern

Sboonny avatar Sep 26 '22 11:09 Sboonny