> For the complete documentation index, see [llms.txt](https://docs.airdev.co/social-network-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airdev.co/social-network-template/assets/pages/dashboard.md).

# dashboard

Page that allows users to update their account settings

## Dashboard Page Overview

Your app will come with a settings/dashboard page where users can update their personal information, including email and password. This is where users manage their friend requests and can message other users. This page includes other pre-built features that you will have to customize for your app:

### Profile tab

You can add more fields to the profile tab by reducing the size of the placeholder group (Group Nav Tab 1 PLACEHOLDER) in this tab.

![](https://3252195253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LaHE3hUhA3z1oCGSWbT%2F-LaHELH6nRP1iXcE08Hh%2Fassets_-LYJWnUT3lUFQk1K9BCK_-L_n37hPd1uHLk2yUFKX_-L_n40CQCQeOVPQ7-Uoq_Screen%20Shot%202019-03-12%20at%2011.03.10%20AM.png?alt=media\&token=ad3dbe8a-7d2d-4f46-9a80-8217b1c780de)

### Login credentials tab

![](https://3252195253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LaHE3hUhA3z1oCGSWbT%2F-LaHEPBoruuQ_hWE4bOK%2Fassets_-LYJWnUT3lUFQk1K9BCK_-L_n37hPd1uHLk2yUFKX_-L_n4ZTO8F07FwUbVeDI_Screen%20Shot%202019-03-12%20at%2011.06.56%20AM.png?alt=media\&token=0b194c48-04ed-4179-b4c9-91ff9fb9286f)

### Payments tab

The payments tab includes two subtabs for Payment Method and Payment History. You can add more content by reducing the size of the placeholder groups within the subtab groups.

![](https://3252195253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LaHE3hUhA3z1oCGSWbT%2F-LaHERcdoxNynH8RmDwv%2Fassets_-LYJWnUT3lUFQk1K9BCK_-L_n37hPd1uHLk2yUFKX_-L_n5B0MEGFhiQg7Viit_Screen%20Shot%202019-03-12%20at%2011.08.01%20AM.png?alt=media\&token=513525d8-e4c1-4e0d-9dd3-ca9d9bbf4981)

### Notification settings tab

This tab includes UI for toggling notifications on/off. There is no actual logic behind this, so you will need to set up the workflows on this tab if you want to use it.

![](https://3252195253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LaHE3hUhA3z1oCGSWbT%2F-LaHETqmrj8IVV9NHYIh%2Fassets_-LYJWnUT3lUFQk1K9BCK_-L_n37hPd1uHLk2yUFKX_-L_n6LuZL2c1KtzMzyqg_Screen%20Shot%202019-03-12%20at%2011.14.43%20AM.png?alt=media\&token=b1239b8c-2878-4923-91e3-adf78ad9e9cd)

### Adding additional tabs to the settings page

* Go to the settings page in the Bubble Editor and unhide `Group Nav 6/7/or 8` by checking `This element is visible on page load.` Set the data source of the tab group to the name of the tab.

![](https://3252195253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La2JFb_HHpm-nbVNHOC%2F-LaHE3hUhA3z1oCGSWbT%2F-LaHEXe23kkD9FaM60ZU%2Fassets_-LYJWnUT3lUFQk1K9BCK_-L_n37hPd1uHLk2yUFKX_-L_n7VLYujWgZwPuPbnO_Screen%20Shot%202019-03-12%20at%2011.19.46%20AM.png?alt=media\&token=a2268ad1-dba2-432a-a0e2-5044fe2d0811)

* If you want to create a new tab, copy an existing tab and rename the group. Then reduce the size of `Group PLACEHOLDER (do not delete)`, adding your new group in the space created.
* Go to the conditional tab of the group and add the following conditional statement:\
  `If var - tab url parameter's text is Group Nav 6/7/or 8's text` *then `this group is visible`*

## Key Workflows

#### Button New Thread is clicked

* Creates a new `Thread` if one does not already exist for the group of selected users
* Navigates the user to chat thread containing the selected users

#### **Button Accept Friend Request is clicked**

* Updates the relevant `Friendship` instance **and** adds the users to each other’s `Friends` field
* It is important to update the `Friends` fields (lists) when accepting a friend request

#### **Button Ignore is clicked**

* Updates the relevant `Friendship` instance. Sets the `Status` to “Ignore”

## Key Elements

#### RepeatingGroup Friend Requests

* Contains the list of friend requests for the current user
* Data source notes
  * List of `Friendships`
  * Includes `Friendships` involving the user that have not been accepted
    * When **Show ignored requests?** is set to **yes**, the list includes both **Pending** and **Ignored** requests

#### RepeatingGroup Interests

* Contains the list of `Interests` for the current user
* Users select and deselect from this list to adjust their interests using the `interests` state on `Group Profile Interests`
