iachat/app/javascript/dashboard/composables/spec
Sivin Varghese 32c25047c4
feat: Rewrite reportMixin to a composable (#10029)
# Pull Request Template

## Description

The PR will replace the usage of `reportMixin` with the help of
`useReportMetrics()` composable.

Fixes
https://linear.app/chatwoot/issue/CW-3450/rewrite-reportmixin-mixin-to-a-composable

**Files updated**
1. dashboard/routes/dashboard/settings/reports/Index.vue
2. dashboard/routes/dashboard/settings/reports/BotReports.vue
3. dashboard/routes/dashboard/settings/reports/ReportContainer.vue
4.
dashboard/routes/dashboard/settings/reports/components/WootReports.vue
5.
dashboard/routes/dashboard/settings/reports/components/ChartElements/ChartStats.vue

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Test the all the reports view.


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-27 08:00:05 +05:30
..
fixtures feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
emitter.spec.js feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI (#9722) 2024-07-10 08:32:16 -07:00
index.spec.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
useAccount.spec.js feat: Rewrite accountMixin to a composable (#9914) 2024-08-12 18:53:30 +05:30
useAdmin.spec.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
useAgentsList.spec.js feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
useAI.spec.js feat: Rewrite aiMixin to a composable (#9955) 2024-08-22 13:58:51 +05:30
useConfig.spec.js feat: Rewrite configMixin to a composable (#9921) 2024-08-14 12:56:30 +05:30
useConversationLabels.spec.js feat: Rewrite conversation/labelMixin to a composable (#9936) 2024-08-12 17:41:12 +05:30
useDetectKeyboardLayout.spec.js feat: Rewrite keyboardEventListener mixin to a composable (#9831) 2024-08-05 18:59:47 +05:30
useIntegrationHook.spec.js chore: Repalce Hook Mixin with useHook composable [CW-3454] (#9994) 2024-08-22 16:48:02 +05:30
useKeyboardEvents.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useKeyboardNavigableList.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useMacros.spec.js feat: Replace the use of macroMixin with a composable (#9912) 2024-08-09 18:40:06 +05:30
useReportMetrics.spec.js feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
useUISettings.spec.js feat: Rewrite uiSettings mixin to a composable (#9819) 2024-07-23 21:27:22 +05:30