feat: improve growth analysis waiting experience
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
- Render a responsive, keyboard-accessible forecast chart with count/amount mode, hover/focus points, P10–P90 band, axes/units, chart summary, and a non-visual data alternative.
|
||||
- Show historical wins, up to five upcoming opportunities, up to three gentle low-period warnings, and a peer card when permitted.
|
||||
- Each brief contains server-rendered timing/range/evidence plus validated AI headline, interpretation, offer/message suggestion, one preparation step, confidence, and limitation.
|
||||
- `PARTIAL` keeps deterministic charts/cards and explains that the written AI interpretation was unavailable. `INSUFFICIENT_DATA` explains the minimum evidence without presenting a forecast. `FAILED` offers safe retry without hiding an older successful report.
|
||||
- `PARTIAL` keeps deterministic charts/cards and explains that the written AI interpretation was unavailable. `LOW` keeps the forecast visible with an explicit limited-history or high-variance warning. `INSUFFICIENT_DATA` is reserved for scopes with no historical observations. `FAILED` offers safe retry without hiding an older successful report.
|
||||
- Motion is restrained, supports reduced motion, and does not block reading. All interactive targets are at least 44 px.
|
||||
|
||||
## Copy rules
|
||||
@@ -28,4 +28,4 @@
|
||||
- Works at 360, 768, 1024, and wide desktop widths in light/dark RTL layouts.
|
||||
- All job, cache, refresh, partial, insufficient, unauthorized, and recoverable error states are accessible and tested.
|
||||
- Generated OpenAPI types are used; no handwritten duplicate growth DTOs or browser secrets exist.
|
||||
- Cached navigation performs no generation request; manual refresh is explicit and limited once per merchant per Tehran day.
|
||||
- Cached navigation performs no generation request. Manual retry remains available while the current scope has no persisted AI-written summary; after one exists, refresh is limited once per merchant per Tehran day.
|
||||
|
||||
Reference in New Issue
Block a user