Improvement
Dashboard opens faster, and data stays on screen when filters change
Dashboard
The Recent Orders, Top Customers and Best-Selling Products cards in the right column arrive together in a single request. The chart fetches order and customer data separately; if one is delayed, the other is still shown. When the date or sale channel changes, the cards and the chart stay in place; the previous data stays faded and gives way when the new data arrives.
Where: dashboard chart, metric cards and the right column.
- The three widgets in the right column arrive together in a single call.
- The What's New rail only fetches data at the screen widths where it is shown; on narrow screens the turn goes straight to the other queries.
- In the chart, order and customer data arrive in two separate requests; even if the customer report is late, the order cards are shown.
- When chart data is not ready, a message saying so appears on screen.
- When a custom date range is selected, requests go directly for the selected range.
- Chart data is kept in the cache longer, so the chart opens filled when you leave the panel and come back.
- When filters change, the metric cards and the chart stay in place, and the previous range's data keeps showing, faded.
