r-park / todo-react-redux

Todo app with Create-React-App • React-Redux • Firebase • OAuth
https://todo-react-redux.firebaseapp.com
MIT License
1.02k stars 272 forks source link

Add Confirmation Dialog for Logout Feature #81

Open dboatengg opened 1 year ago

dboatengg commented 1 year ago

I noticed that the logout functionality lacks a confirmation step.

To enhance user experience and prevent unintended logouts, I propose adding a confirmation dialog before proceeding with the logout action.

Tasks:

  1. Add a confirmation dialog component to the logout functionality.
  2. Display the confirmation dialog when the user initiates the logout action.
  3. Provide options for the user to either confirm or cancel the logout.
  4. Implement the necessary logic to handle the user's selection, logging out if confirmed or canceling the action if canceled.