# Edit Message Modal Screen & Edit Channel Modal Screen

The Edit Message Modal Screen allows the Logged In User to update or delete messages that have been sent in a given channel, while the Edit Channel Modal Screen allows the Logged In User to update or delete the Channel name within the application.

Each of these screens follows a similar pattern where there is information that is available to be edited and subsequent actions to update or delete the data depending on the button a user clicks.

### **Data**

Since the data is coming from a particular list item — known as “Current Collection Item” — the text that will initially appear is the “Current” data that appears in the database for that particular item. A user is then able to update that text and the changes will be reflected once a button is clicked with the appropriate actions.

⚡ **Actions**

1. UPDATE: The purple UPDATE buttons on both screens contain an Update Action for the Current Item within the database.
2. DELETE: The gray DELETE text on both screens contain a Delete Action for the Current Item within the database.
3. CANCEL: The white CANCEL buttons on both screens contain an Update Action, to reflect the text in each input and a Link Action “Back” to the previous screen.
