docs(launch): reports polish shipped — empty states + Operational Area filter
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -115,9 +115,14 @@ everything else is post-launch polish unless promoted.
|
||||
other) allowlisted against `SOURCES`. Both filters thread through the 5
|
||||
filtered Sales queries via a pure, unit-tested `parseSalesFilters`.
|
||||
_Still open: replicate both on Operational + the other report pages._
|
||||
- ❌ **Empty-state copy per report** — currently shows a skeleton; spec
|
||||
wants a "this report needs data first" hint pointing at the right
|
||||
onboarding step.
|
||||
- ✅ **Empty-state copy per report** — **SHIPPED (2026-06-02).** A
|
||||
window-independent `hasData` flag on the Sales / Operational /
|
||||
Financial routes drives a shared `<ReportEmptyState>` hero (named icon
|
||||
- one-line body + onboarding action button) when the port has no
|
||||
underlying data at all — distinct from the per-chart "no data in this
|
||||
window" states, which already degraded gracefully. Targets: Sales →
|
||||
Interests, Operational → Berths, Financial → Expenses. Spec:
|
||||
`docs/superpowers/specs/2026-06-02-reports-polish-design.md`.
|
||||
|
||||
#### Phase 2 — Sales report gaps
|
||||
|
||||
@@ -127,9 +132,17 @@ everything else is post-launch polish unless promoted.
|
||||
|
||||
#### Phase 2 — Operational report gaps
|
||||
|
||||
- ❌ **Operational-specific filters**: berth area · tenure type ·
|
||||
document type · status filter. None of the four exist. The spec calls
|
||||
these out as drill-down affordances for the heatmap + tables.
|
||||
- ⚠️ **Operational-specific filters**: **Area SHIPPED (2026-06-02)** —
|
||||
a berth-area scope (`parseOperationalFilters` +
|
||||
`getOperationalAreaOptions`, threaded through the 5 berth-derived
|
||||
service fns) re-queries the berth-count KPIs, occupancy-by-area,
|
||||
utilisation heatmap, and vacant lists for the selected areas; trend +
|
||||
tenancy/signing/docs panels stay port-wide with a "scoped to {areas}"
|
||||
caption. Browser-verified (area A: total berths 117→11). **Status /
|
||||
tenure type / document type deferred** — Status proved a light filter
|
||||
here (can't retro-apply to historical trend charts; the vacant lists
|
||||
are available-by-definition); see
|
||||
`docs/superpowers/specs/2026-06-02-reports-polish-design.md`.
|
||||
|
||||
#### Phase 3 — Marketing report (LAUNCH-BLOCK if Marketing is in beta scope)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user