ucsb-cs156-m23 / proj-happycows-m23-10am-3

https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-3/
0 stars 0 forks source link

FEATURE: Add caution before deleting Commons #8

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

User Story

Discussion

Currently, the Delete button on the commons page is a little dangerous.

If you click it, an entire commons goes away, with no confirmation dialog.

It would be better to add a modal (i.e. a popup) that asks the user: Are you sure you want to delete this commons?

The modal would have options such as [Permanently Delete] and [Keep this Commons].

Acceptance Criteria

Implementation Todos

An explanation of React Bootstrap modals can be found here: https://react-bootstrap.netlify.app/docs/components/modal/