Sojan Jose
881d4bf644
feat: Add backend APIs for the bot metrics ( #9031 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-01 08:20:20 -08:00
Nithin David Thomas
721a2f5052
feat: API changes to support multi step user signup ( #8933 )
...
-API Changes to support the new onboarding flow
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-20 16:48:51 +05:30
Pranav Raj S
1ce5cbe275
feat: Add endpoints to retrieve summary of team/agents over a period of time ( #8916 )
...
- Internal APIs to prototype reporting improvements.
2024-02-13 15:44:40 +05:30
Shivam Mishra
657843960c
feat: account onboarding with clearbit ( #8857 )
...
* feat: add clearbit lookup
* chore: fix typo in .env.example
* refactor: split lookup to reduce cognitive complexity
* feat: add more fields to lookup
* feat: extend accounts controller
* feat: save extra data to custom_attributes
* feat: allow v2 update with custom_attributes
* feat: add update route
* refactor: reduce complexity
* feat: move update to v1 controller
* test: add locale test
* feat: remove update from routes
* test: update API for custom attributes
* test: all custom attributes
* fix: v2 tests
* test: enterprise accounts controller
* fix: clearbit payload
* fix: with modified env
* feat: allow custom attributes updates to profile
* refactor: reduce complexity
* feat: allow clearbit api key in installation config
* refactor: move clearbit to internal
* feat: allow clearbit
* chore: add display_title for June
* feat: allow more internal options
* refactor: use globalconfig to fetch clearbit token
* test: move response body to a factory
* refactor: update ops
* chore: remove clearbit from .env.example
* chore: apply suggestions from code review
Co-authored-by: sojan-official <sojan@chatwoot.com >
---------
Co-authored-by: sojan-official <sojan@chatwoot.com >
2024-02-12 23:21:42 +05:30
Shivam Mishra
07ea9694a3
feat: new accounts controller for signup+onboarding ( #8804 )
...
* feat: add v2 accounts controller
* feat: allow empty account and user name
* feat: ensure and is present for v1 signup
* test: remove validation checks
* chore: apply suggestions
* chore: revert en.yml formatting
* chore: line at EOF
* fix: routes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-02 16:10:45 +05:30
Sojan Jose
6ab964b161
chore: fix flaky spec ( #7686 )
...
- fix flaky reporting specs
- fix flaky export spec
2023-08-25 00:11:41 -07:00
Sojan Jose
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +05:30
Shivam Mishra
6b2736aa63
fix: inconsistency in report and summary for metric counts ( #6817 )
...
* feat: include timezone offset in summary calculation
* fix: exlcude end in date range
* test: explicit end of day
* fix: test for report builder
* fix: reports.spec.js
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-04-20 12:55:04 +05:30
Shivam Mishra
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Pranav Raj S
7044eda281
chore: Add controllers for conversation participants ( #6462 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-02-15 16:33:31 -08:00
Aswin Dev P.S
41b8901432
Fix: Agent Reports counts when they have access to multiple accounts ( #4663 )
...
This change restricts the agent report API to fetch agent metrics from the current account.
Fixes : #4660
2022-05-11 14:31:57 +05:30
Aswin Dev P.S
95c7a24dd1
fix: Unattendeed conversation count in agent metrics ( #4568 )
2022-04-27 06:26:35 -07:00
Aswin Dev P.S
1bf2da180b
fix: Update agent metrics query to show data from current account ( #4557 )
...
* Update agent metrics query to fetch data from current account
2022-04-26 05:52:13 -07:00
Aswin Dev P.S
676796ddc7
feat: Add reports about live agent load ( #4537 )
...
* feat: Add reports about live agent load
2022-04-25 07:34:41 -07:00
Aswin Dev P.S
5e8fd689c9
feat: Add live agent load report api ( #4297 )
...
This change allows the admin user to fetch conversation metrics for an account, agents, and filter conversation metrics for a specific agent.
Fixes #4305
2022-03-29 10:31:52 +05:30
Aswin Dev P.S
ba0188aefc
fix: Report spec failure ( #4304 )
2022-03-28 12:31:09 +05:30
Jordan Brough
a8cfcbc168
chore: Timezone fixes for ReportBuilder and for ReportController spec ( #4246 )
...
- ReportBuilder wasn't using the specified time zone for the timestamp in the
"build" method
- The ReportController spec was calling `Time.zone.today.to_time`, but
`Date#to_time` disregards the zone from `Time.zone` and reverts to the system
time zone.
2022-03-25 14:00:27 +05:30
Aswin Dev P.S
15aaa8883c
feat: API to Filter reports by teams ( #3066 )
...
Add API to Filter reports by teams
Fixes : #2916
2021-09-27 21:12:08 +05:30
Tejaswini Chile
65f3e83afd
feat: APIs to filter reports ( #2889 )
...
Fixes #2823
2021-08-27 22:46:32 +05:30
Sojan Jose
534acfbf96
chore: Ensure privilege validations for API endpoints ( #2224 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-11 11:44:31 +05:30
Sojan Jose
eb2ded6f65
feat: Agent & Inbox Report APIs ( #1391 )
2020-11-16 19:41:52 +05:30
Subin T P
8f6f07177d
Enhancement: Move reporting metrics to postgres ( #606 )
2020-03-18 16:53:35 +05:30