wealth/docs/decisions/0072-analyst-overview-is-th...

1.7 KiB

0072 The analyst's overview is the default dashboard tab

Status: Accepted · Area: architecture · Date: 2026-11-05 · Decided by: user · Amends: 0034

Context

The analyst's figures were spread over the plans tab, and the user asked for one place with audience, income, the split by plan and signal performance. The back end already answers GET /me/dashboard/overview and GET /me/subscribers.

Decision

  • /dashboard/overview in dashboard/(creator) is the first tab and the default: the nav's داشبورد opens it for a creator. The tabs are «نمای کلی» · «طرح‌های اشتراک» · «سیگنال‌ها» · «مالی», as in the design (J10-0); the request named three, and the signals tab stays because the same request adds to it.
  • The plans tab keeps prices and the invite code, loses «مخاطبان», and shows the soonest-ending subscribers. Its followers count moved to the overview, where only the analyst sees it, with no list of who follows.
  • /dashboard/subscribers?filter=expiring is a pushed page outside (creator), with «همه» and «در حال انقضا» from the API's totals.
  • The signal summary reads the snapshot the signals tab reads (useSignalStatsPart), so the two can't disagree, and shows the same message before the first evaluation.

Alternatives

  • Three tabs, with signals under the overview: the request also adds a block to the signals tab, so that tab has to exist.
  • Keeping the figures on the plans tab with a strip above the tabs: the request removes it.

Consequences

  • The bar has four tabs on a phone; they fit at 375px with no scrolling.
  • Everything but the signal summary is one read, so it loads and fails as one part. The summary loads and fails on its own.