chatwoot/app/javascript/dashboard/components
Pranav cb42be8e65
feat(v4): Update the report pages to show aggregate values (#10766)
This PR updates the report pages for agents, inboxes, and teams by
replacing charts with aggregate values (under a feature flag). Users can
click on any item to view more details if needed. Most users seem to
prefer aggregate values, so this change will likely stay.

The PR also includes a few fixes:

- The summary reports now use the same logic for both the front-end and
CSV exports.
- Fixed an issue where a single quote was being added to values with
hyphens in CSV files. Now, ‘n/a’ is used when no value is available.
- Fixed a bug where the average value was calculated incorrectly when
multiple accounts were present.

These changes should make reports easier to use and more consistent.

### Agents:

<img width="1438" alt="Screenshot 2025-01-26 at 10 47 18 AM"
src="https://github.com/user-attachments/assets/bf2fcebc-6207-4701-9703-5c2110b7b8a0"
/>

### Inboxes
<img width="1438" alt="Screenshot 2025-01-26 at 10 47 10 AM"
src="https://github.com/user-attachments/assets/b83e1cf2-fd14-4e8e-8dcd-9033404a9f22"
/>


### Teams: 
<img width="1436" alt="Screenshot 2025-01-26 at 10 47 01 AM"
src="https://github.com/user-attachments/assets/96b1ce07-f557-42ca-8143-546a111d6458"
/>

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2025-01-28 09:19:18 +05:30
..
Accordion fix: Remove overflow-hidden on accordionItem (#10692) 2025-01-16 01:29:20 +05:30
app style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
base feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
buttons feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
copilot feat: add prompt suggestions and June events (#10726) 2025-01-21 22:52:42 +05:30
layout feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
specs feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
table feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
ui fix: Context menu and its submenu boundary overflow (#10729) 2025-01-22 17:56:43 +05:30
widgets feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
ChannelSelector.vue feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
ChatList.vue feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
ChatListHeader.vue feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
Code.vue feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
ConversationItem.vue style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
CustomAttribute.vue chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
CustomBrandPolicyWrapper.vue style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
CustomSnoozeModal.vue fix: Update the styles for the datepicker in custom snooze modal (#10207) 2024-10-03 22:06:51 -07:00
FormSection.vue feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
index.js feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
IntersectionObserver.vue feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
MaskedText.vue feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
Modal.vue fix: Remove backdrop-blur from Modal (#10709) 2025-01-17 00:50:34 +05:30
ModalHeader.vue chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
NetworkNotification.vue feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
policy.vue feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
SettingsSection.vue feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
SidemenuIcon.vue feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
Snackbar.vue feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
SnackbarContainer.vue feat: update notification settings (#10529) 2024-12-05 19:05:04 +05:30