> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getbuzzr.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Dashboard

> Customizable league pages with team and player widgets

The Dashboard is your home for following the leagues, teams, and players you care about. Each league gets its own page, and each page is yours to configure.

## Pages

Pages are vertical stacks of widgets. You can:

* **Add a page** for any league you follow
* **Name it** anything — pages aren't locked to league names
* **Reorder pages** in the workspace bar
* **Set a default page** — opens first when you launch the dashboard
* **Delete a page** anytime (the last remaining page can't be deleted, so you always have at least one)

## Heterogeneous entities per page

A page can mix and match:

* **Up to 8 players** — track stats, momentum, and game logs
* **2 additional teams** beyond your primary and secondary
* **Leagues, games, and news** as widgets alongside

So one page can be your fantasy roster (players from many teams), another can be your hometown team's full roster, another can be the playoff field you're following. Every config is yours.

## Widgets

Widgets surface live data:

* **Team Cockpit** — Form, momentum, schedule difficulty
* **Standings** — League standings with per-team trends
* **Stat Lines** — Player stat cards with averages and per-league advanced metrics
* **Game Log** — Recent and upcoming games for a team or player
* **Advanced Stats** — Division splits, MLB/NHL/soccer advanced metrics, per-league advanced (TS%, eFG%, etc.)
* **Schedule** — Upcoming fixtures with broadcast info

Widgets adapt to the league. NBA and NCAAM show TS% and eFG%. MLB shows division splits and per-team advanced. Soccer shows form, momentum, and schedule difficulty.

## Editing a page

Tap the **Sections** or **Teams** button at the top of any page to open the Edit Page sheet. The sheet shows a **live layout preview** so you can see what positional rules will produce before saving. Saves are auto-persisted, with a visible save signal and an undo for destructive entity edits.

## Workspace switching

The workspace bar shows all your pages. Tap a chip to switch. Long-press a chip to rename, duplicate, or delete it. Switching and setting-default both persist immediately.

## Performance

The dashboard is built for fast cold-starts:

* Card-shaped skeletons during initial load (not centered spinners)
* Cached widget data with foreground refresh
* Off-screen pages pause expensive backgrounds and live subscriptions

If something fails, route-level ErrorBoundaries on the dashboard tab catch the error and surface a clean retry instead of crashing the app.
