yorkie-team / dashboard

Dashboard is an administrative tool that allows users to manage projects and documents with ease.
https://yorkie.dev/dashboard/
Apache License 2.0
20 stars 13 forks source link

Add document deletion feature to dashboard (document detail) #132

Closed YoonKiJin closed 11 months ago

YoonKiJin commented 11 months ago

What this PR does / why we need it?

Add document deletion feature to dashboard (document detail)

Currently looks like:

Screen Shot 2023-07-10 at 5 18 51 PM Screen Shot 2023-07-10 at 5 18 56 PM

Links back to the documents list page once document is deleted.

Any background context you want to provide?

What are the relevant tickets?

Related to #110

Checklist

CLAassistant commented 11 months ago

CLA assistant check
All committers have signed the CLA.

chacha912 commented 11 months ago

I left this comment as a suggestion. (It is not necessary for this issue)

Currently, when the document delete button is clicked, the document is immediately deleted. For a better user experience, we can consider adding a delete confirmation modal. The modal can also provide warnings and information about what happens when the document is deleted.

Pasted Graphic 12