iachat/app/javascript/dashboard/routes/dashboard/settings/reports
Shivam Mishra 1140ca7a78
fix: stale report value shown if summary fetch breaks (#11270)
This pull request includes several changes to better show the report
metrics fetching status on the dashboard. This also prevents showing
stale data in case fetching summary fails due to timeout or other issue

The most important changes include adding a new fetching status state to
the store called `summaryFetchingStatus`, updating the
`useReportMetrics` composable, and modifying the `ChartStats` component
to handle different fetching statuses.

#### Loading
![CleanShot 2025-04-09 at 13 49
35@2x](https://github.com/user-attachments/assets/575c9905-0bf7-4a6e-8709-026896dd95f8)

#### Finished
![CleanShot 2025-04-09 at 13 49
43@2x](https://github.com/user-attachments/assets/ef7f8cb3-ca34-4627-a954-ba23f156d2ff)

#### Failed
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/d521a785-9299-4e59-94dc-561a7a84377e"
/>

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-04-15 20:18:06 +05:30
..
components fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
AgentReports.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
AgentReportsIndex.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
AgentReportsShow.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
BotReports.vue fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
constants.js feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
CsatResponses.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
InboxReports.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
InboxReportsIndex.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
InboxReportsShow.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
Index.vue fix: Support Business hours when downloading the agent reports. 2025-03-25 20:26:18 -07:00
LabelReports.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
LiveReports.vue feat: Add live report for teams (#10849) 2025-03-12 16:03:09 -07:00
ReportContainer.vue fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
reports.routes.js feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00
SLAReports.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
TeamReports.vue feat: Update design for report pages (#10506) 2024-11-27 18:10:15 +08:00
TeamReportsIndex.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
TeamReportsShow.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30