Modals are user interface components that are used to display content or capture user input within a temporary overlay or dialog box on top of the main screen. They serve various purposes and here are the two major use cases for our modals:
Displaying Additional Information: Our comment preview Modals serve this purpose, they present additional information or details about a reported comment. from this modal, Admins can see the number of report against the comment, the complain e.g harassments, violence etc. Admins can also have a glace of the comment reported and take necessary actions on the report.
Confirming Actions: Modals are often used to confirm or verify user actions that may have significant consequences. For instance, when attempting to delete a file or cancel a booking, a modal can ask for confirmation before proceeding. This helps prevent accidental data loss or irreversible actions.