bb-plane-fork/web/core/services
JayashTripathy 75d81f9e95
[WEB-3781] Analytics page enhancements (#7005)
* chore: analytics endpoint

* added anlytics v2

* updated status icons

* added area chart in workitems and en translations

* active projects

* chore: created analytics chart

* chore: validation errors

* improved radar-chart , added empty states , added projects summary

* chore: added a new graph in advance analytics

* integrated priority chart

* chore: added csv exporter

* added priority dropdown

* integrated created vs resolved chart

* custom x and y axis label in bar and area chart

* added wrapper styles to legends

* added filter components

* fixed temp data imports

* integrated filters in priority charts

* added label to priority chart and updated duration filter

* refactor

* reverted to void onchange

* fixed some contant exports

* fixed type issues

* fixed some type and build issues

* chore: updated the filtering logic for analytics

* updated default value to last_30_days

* percentage value whole number and added some rules for axis options

* fixed some translations

* added - custom tick for radar, calc of insight cards, filter labels

* chore: opitmised the analytics endpoint

* replace old analytics path with new , updated labels of insight card, done some store fixes

* chore: updated the export request

* Enhanced ProjectSelect to support multi-select, improved state management, and optimized data fetching and component structure.

* fix: round completion percentage calculation in ActiveProjectItem

* added empty states in project insights

* Added loader and empty state in created/resolved chart

* added loaders

* added icons in filters

* added custom colors in customised charts

* cleaned up some code

* added some responsiveness

* updated translations

* updated serrchbar for the table

* added work item modal in project analytics

* fixed some of the layput issues in the peek view

* chore: updated the base function for viewsets

* synced tab to url

* code cleanup

* chore: updated the export logic

* fixed project_ids filter

* added icon in projectdropdown

* updated export button position

* export csv and emptystates icons

* refactor

* code refactor

* updated loaders, moved color pallete to contants, added nullish collasece operator in neccessary places

* removed uneccessary cn

* fixed formatting issues

* fixed empty project_ids in payload

* improved null checks

* optimized charts

* modified relevant variables to observable.ref

* fixed the duration type

* optimized some code

* updated query key in project-insight

* updated query key in project-insight

* updated formatting

* chore: replaced analytics route with new one and done some optimizations

* removed the old analytics

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-05-12 20:50:33 +05:30
..
favorite [WEB-1907] feat: Favorites Enhancements (#5262) 2024-08-02 12:25:26 +05:30
inbox [WEB-3792, 3823] fix: intake form version history (#6898) 2025-04-09 19:56:59 +05:30
integrations fix: eslint config and errors 2024-06-13 21:17:06 +05:30
issue [WEB-3838]feat:sub work items sorting (#6967) 2025-04-29 15:23:10 +05:30
page refactor: page actions (#6327) 2025-01-06 20:31:07 +05:30
project [WEB-3251] improvement: optimize projects API (#6542) 2025-02-04 16:02:07 +05:30
ai.service.ts [WEB-2047] dev: pages side menu refactor (#5371) 2024-08-16 16:17:33 +05:30
analytics-v2.service.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
analytics.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
api.service.ts [WEB-2717] chore: implemented issue attachment upload progress (#5901) 2024-10-29 19:22:29 +05:30
api_token.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
app_config.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
app_installation.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
auth.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
cycle.service.ts Chore: progress chart changes (#5707) 2024-10-01 18:59:49 +05:30
cycle_archive.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
dashboard.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
file-upload.service.ts [WEB-2717] chore: implemented issue attachment upload progress (#5901) 2024-10-29 19:22:29 +05:30
file.service.ts [WEB-3698] fix: comments refactor (#6759) 2025-03-27 17:28:52 +05:30
instance.service.ts fix: removed changelog endpoint (#6146) 2024-12-04 13:42:15 +05:30
issue_filter.service.ts code refactor and improvement (#6203) 2024-12-16 17:24:50 +05:30
module.service.ts cancel issues API call when new call are being made (#4785) 2024-06-12 18:27:33 +05:30
module_archive.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
sticky.service.ts fix: new sticky color + recent sticky api call + sticky max height (#6438) 2025-01-21 20:34:00 +05:30
timezone.service.ts [WEB-2884] chore: Update timezone list, add new endpoint, and update timezone dropdowns (#6231) 2024-12-19 20:15:55 +05:30
user.service.ts [WEB-3673] fix: password change form (#6839) 2025-03-28 13:35:42 +05:30
view.service.ts [WEB-1255] feat: filters for project views and changes required for advanced views (#4949) 2024-06-27 14:40:14 +05:30
webhook.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
workspace-notification.service.ts [WEB-1764] chore: revamp workspace notifications (#4947) 2024-06-28 19:00:48 +05:30
workspace.service.ts [WEB-3291] dev: app sidebar revamp (#6578) 2025-02-17 23:46:55 +05:30