You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way the delete function is set up right now, someone could accidentally delete an affirmation without first being prompted to confirm. Clicking delete should prompt either an alert or a modal box prompting confirmation of delete action.
This issue intends to:
create a modal or alert that asks "Say goodbye to affirmation forever?"
Clicking "x" on the affirmation will prompt modal/alert verification
Selecting yes will continue with the deletion
Selecting no will disappear the alert or modal and do nothing
The delete function currently lives in file AvatarPage.js on lines 19-21.
See here
The delete function is passed down to AffirmationsList.js where it is called.
See here for where it is passed down.
See here for where it is called in AffirmationsList.js
The way the delete function is set up right now, someone could accidentally delete an affirmation without first being prompted to confirm. Clicking delete should prompt either an alert or a modal box prompting confirmation of delete action.
This issue intends to:
create a modal or alert that asks "Say goodbye to affirmation forever?"
Clicking "x" on the affirmation will prompt modal/alert verification
Selecting yes will continue with the deletion
Selecting no will disappear the alert or modal and do nothing
The delete function currently lives in file AvatarPage.js on lines 19-21.
See here
The delete function is passed down to AffirmationsList.js where it is called.
See here for where it is passed down.
See here for where it is called in AffirmationsList.js
As written in moodify-db-helpers.js, it takes two parameters when called:
affirmation id
function call back
The text was updated successfully, but these errors were encountered: