chatwoot/app/javascript/dashboard
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
..
api feat: Added the ability to create Instagram channel (#11182) 2025-04-03 13:57:14 +05:30
assets chore: Update date range picker with new theme colors (#11267) 2025-04-09 16:03:53 +05:30
components chore: Centralize outgoing message reply restrictions for all the channels (#11279) 2025-04-12 08:52:12 +05:30
components-next fix: Display error message on empty response from Captain (#11302) 2025-04-15 13:20:06 +05:30
composables fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
constants feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00
helper feat: allow role based filtering on the frontend (#11246) 2025-04-09 11:46:20 -07:00
i18n fix: Display error message on empty response from Captain (#11302) 2025-04-15 13:20:06 +05:30
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
routes fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
store fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
App.vue feat: Upgrade page instead of banner (#11202) 2025-03-28 02:28:17 -07:00
featureFlags.js feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30