> For the complete documentation index, see [llms.txt](https://docs.snapfix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snapfix.com/how-the-apps-work/screens/reports/legacy-dashboard.md).

# Legacy dashboard

{% hint style="info" %}
Draft, written by an agent and not yet checked by a person ([how to read these docs](https://docs.snapfix.com/how-to-read.md)). Platforms: iOS. [Source on GitHub](https://github.com/snapfix/docs/blob/main/spec/screens/reports/legacy-dashboard.md).
{% endhint %}

An older iOS dashboard for one group, titled "Reports", with four counters, top-five sections and a map. It opens from a bottom bar that the storyboard hides and that comes back when the user scrolls the group's task list. The code that would fill it never runs, so it shows zeros and empty sections for every group.

* **Where:** iOS: a group's task list (`HomeVC`), scroll up, "Dashboard" in the bottom bar (the third item)
* **Who:** anyone who can see the bar. The screen has no role, permission or plan check.
* **Feature:** [Dashboard](https://docs.snapfix.com/product/features/reports/dashboard.md)

## Layout

1. **Header:** the title "Reports", the group's name and an info button. The info text is the same as on [Analytics](https://docs.snapfix.com/how-the-apps-work/screens/reports/analytics.md#layout).
2. **Four cards:** red, amber and green, each with its count and its share with one decimal, and a "Total" card.
3. **Sections**, in this order:
   * A search section that shows the list's current search text. It is not a search field and it filters nothing.
   * Three sections for the first three tag folders of the group, titled " : Top 5". The screen treats the first folder as locations, the second as assets and the third as tags, whatever their names are.
   * "Users : Top 5", with "View all".
   * "Dates": the creation or activity range of the tasks.
   * "Map": a pin for each task that has a location.
4. **Bottom bar**, hidden by the storyboard and shown on scroll: "Grid", "List", "Dashboard" (this screen) and "Calendar". For asset groups the "Calendar" item is removed.

With no group selected, the screen shows "You are not assigned to any groups" instead of the cards and sections.

## Inputs

None. The group is the one the user has selected.

## Actions

| Action                                               | Who    | What happens                                                                                                     | API  |
| ---------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------- | ---- |
| Bottom bar "Grid" or "List"                          | Anyone | Switches the group's view and goes back to the list.                                                             | None |
| Bottom bar "Calendar"                                | Anyone | Opens the scheduled tasks view.                                                                                  | None |
| "View all" on a location, asset, tag or user section | Anyone | Opens the full list for that section. Nothing happens while the section is empty, which is always the case here. | None |
| Tap a map pin's callout                              | Anyone | Opens the task.                                                                                                  | None |
| Back                                                 | Anyone | Returns to the list.                                                                                             | None |

The screen makes no request to the server.

## States

* **Loading:** a "Refreshing..." indicator shows when the screen opens.
* **Empty:** the four cards show 0 and "0.0%", and each section says "No" and its name, for example "No Users".
* **Error:** none shown.
* **No permission:** none on this screen.
* **Offline (mobile):** the screen behaves the same with or without a connection.

## Dialogs and sheets

* **Info:** the info text, as on [Analytics](https://docs.snapfix.com/how-the-apps-work/screens/reports/analytics.md#layout).
* **View all:** the full lists for locations, assets, tags and users (`ViewAllLocationVC`, `ViewAllAssetsVC`, `ViewAllTagsVC`, `ViewAllUsersVC`), each opened from its section.

## Platform differences

iOS only. Android has no legacy dashboard. The group's "Analytics" item on iOS opens the newer screen ([Analytics](https://docs.snapfix.com/how-the-apps-work/screens/reports/analytics.md)); this older one is reached only from the hidden bottom bar.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.snapfix.com/how-the-apps-work/screens/reports/legacy-dashboard.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
