bb-plane-fork/web/core/hooks/store
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
..
estimates [WEB-522] chore: Move the estimates store and service out of core (#4896) 2024-06-20 19:29:09 +05:30
notifications [WEB-1764] chore: revamp workspace notifications (#4947) 2024-06-28 19:00:48 +05:30
user [WEB-2357] fix: update and redefine user roles across the platform (#5466) 2024-09-11 17:10:15 +05:30
workspace-draft [WEB-2388] dev: workspace draft issues (#5772) 2024-10-10 19:12:34 +05:30
index.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
use-analytics-v2.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
use-app-theme.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-calendar-view.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-command-palette.ts refactor: enhance command palette modularity (#6139) 2024-12-11 18:02:58 +05:30
use-cycle-filter.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-cycle.ts chore: cycle store restructuring (#6405) 2025-01-15 21:05:05 +05:30
use-dashboard.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-editor-asset.ts [PE-242, 243] refactor: editor file handling, image upload status (#6442) 2025-02-19 15:18:01 +05:30
use-event-tracker.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-favorite.ts [WEB-1907] feat: Favorites Enhancements (#5262) 2024-08-02 12:25:26 +05:30
use-global-view.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-home.ts [WEB-2846] feat: home integrations (#6321) 2025-01-06 20:36:13 +05:30
use-inbox-issues.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-instance.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-issue-detail.ts [WEB-2907] chore: issue store updated and code refactor (#6279) 2024-12-26 20:01:32 +05:30
use-issues.ts refactor: move all issue related enums to constants package (#6229) 2024-12-19 13:58:54 +05:30
use-kanban-view.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-label.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-member.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-module-filter.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-module.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-multiple-select-store.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-project-filter.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-project-inbox.ts fix: intake refactor (#6698) 2025-03-20 14:06:36 +05:30
use-project-publish.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-project-state.ts refactor project states to ake way for new features (#6156) 2024-12-05 12:46:51 +05:30
use-project-view.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-project.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-router-params.ts [WEB-1634] dev: update application router to support n-progress. (#4846) 2024-06-18 11:35:20 +05:30
use-transient.ts [WEB-2103] chore: intercom trigger updates from sidebar and command palette helper actions (#5314) 2024-08-06 16:02:01 +05:30
use-webhook.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
use-workspace.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30