# messagesnotifcation

This reusable element is used in the [`header`](https://docs.airdev.co/gig-marketplace-template/assets/reuseables/header) for displaying the current user's unread messages.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LeTCFwSPf-T2n1BQjYi%2F-LeTGzCPxf_sIn6YrR84%2FScreen%20Shot%202019-05-09%20at%201.27.12%20PM.png?alt=media\&token=172f3dbb-12bf-41ab-b49f-d0216ed0eeea)

The user can click on the icon group to open a focus group containing a repeating group of the user's threads with unread messages. Clicking on `Button MARK AS READ` will mark all messages as read. Clicking on `Group Select 1` will navigate the user to the `dashboard` page and open that thread.

![](/files/-LerpXWLhFRq87pW4vcQ)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airdev.co/gig-marketplace-template/assets/reuseables/messagesnotifcation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
