iachat/app/javascript/dashboard/components-next/sidebar
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
..
ChannelLeaf.vue feat: add channel icon component (#10471) 2024-11-20 20:23:12 -08:00
provider.js feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
Sidebar.vue feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
SidebarAccountSwitcher.vue chore: Disable account switcher for single-account users (#10768) 2025-01-27 13:19:48 +05:30
SidebarGroup.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
SidebarGroupEmptyLeaf.vue feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
SidebarGroupHeader.vue feat: new colors (#10352) 2024-10-28 14:27:08 +05:30
SidebarGroupLeaf.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
SidebarGroupSeparator.vue feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
SidebarNotificationBell.vue feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00
SidebarProfileMenu.vue feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
SidebarProfileMenuStatus.vue fix: Update UI issues with sidebar (#10535) 2024-12-04 13:48:12 -08:00
SidebarSubGroup.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
useSidebarKeyboardShortcuts.js feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00