chatwoot/app/javascript/dashboard/components-next
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
..
avatar feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
banner feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
breadcrumb feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
button feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
Campaigns fix: Prevent template variables from becoming links (#10725) 2025-01-23 18:18:14 +05:30
captain feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
colorpicker feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
combobox feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
Contacts fix: country selection (#10670) 2025-01-22 21:30:51 +05:30
Conversation/ConversationCard fix: sentry issues (#10695) 2025-01-16 15:49:48 +05:30
copilot feat: add prompt suggestions and June events (#10726) 2025-01-21 22:52:42 +05:30
CustomAttributes feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
dialog feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
dropdown-menu fix: links rendering in sidebar profile (#10574) 2024-12-11 17:42:46 -08:00
Editor chore: Improve new conversation form (#10687) 2025-01-15 13:10:09 +05:30
filter chore: Fix issues with Contact pages (#10544) 2024-12-05 14:24:10 -08:00
flag feat: Flag icon component (#10564) 2024-12-10 11:53:24 +05:30
HelpCenter chore: Design improvements (#10732) 2025-01-21 17:03:15 +05:30
icon feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
Inbox fix: v4 ui issues (#10652) 2025-01-08 18:17:50 +05:30
inline-input feat: Add compose conversation components (#10457) 2024-12-05 16:31:47 -08:00
input feat: Updates on new components (#10444) 2024-11-20 20:21:35 +05:30
Label chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
message fix: CORS issue with file download (#10755) 2025-01-27 14:33:12 +05:30
NewConversation feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
pagination chore: Design improvements (#10732) 2025-01-21 17:03:15 +05:30
phonenumberinput feat: Improve Contact list (#10522) 2024-12-02 18:23:41 -08:00
selectmenu feat: Add the new select menu component (#10445) 2024-11-19 14:25:45 -08:00
sidebar feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
spinner feat: Add Spinner to new components (#10303) 2024-10-16 17:53:46 -07:00
switch feat: Add custom attributes components (#10467) 2024-11-24 16:46:00 -08:00
tabbar feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
taginput feat(v4): Compose a new conversation from a phone number. (#10568) 2024-12-17 18:07:58 +05:30
textarea chore: Improve new conversation form (#10687) 2025-01-15 13:10:09 +05:30
CardLayout.vue feat: Updates on new components (#10444) 2024-11-20 20:21:35 +05:30
EmptyStateLayout.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00