bb-plane-fork/packages/constants/src
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
..
analytics-v2 [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
issue [WEB-4028] feat: sub work item filters and grouping (#6997) 2025-05-09 14:24:06 +05:30
ai.ts chore: common services package (#6255) 2024-12-23 01:51:30 +05:30
analytics.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
auth.ts chore(utils): copy helper functions from web/helpers (#6264) 2024-12-26 15:27:40 +05:30
chart.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
cycle.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
dashboard.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
emoji.ts [WEB-3788] improvement: enhance project properties related components modularity (#6882) 2025-04-09 14:50:43 +05:30
endpoints.ts chore: moving web constants to packages 2025-01-14 16:30:43 +05:30
event-tracker.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
file.ts fix: moving space constants to package 2024-12-21 17:17:43 +05:30
filter.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
graph.ts chore: moving web constants to packages 2025-01-14 16:30:43 +05:30
icon.ts [WEB-3751] chore: work item state icon improvement (#6960) 2025-04-29 14:33:53 +05:30
inbox.ts [WEB-3792, 3823] fix: intake form version history (#6898) 2025-04-09 19:56:59 +05:30
index.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
instance.ts chore: admin imports refactor (#6251) 2024-12-20 20:44:46 +05:30
label.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
metadata.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
module.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
notification.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
page.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
payment.ts [WEB-3854] feat: billing and plans new design (#6920) 2025-04-11 20:37:25 +05:30
profile.ts [WEB-3523] feat: start of week preference (#7033) 2025-05-12 19:13:39 +05:30
project.ts [WEB-3788] improvement: enhance project properties related components modularity (#6882) 2025-04-09 14:50:43 +05:30
spreadsheet.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
state.ts [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
stickies.ts [WEB-3096] feat: stickies page (#6380) 2025-01-16 19:57:51 +05:30
subscription.ts [WEB-3854] feat: billing and plans new design (#6920) 2025-04-11 20:37:25 +05:30
swr.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
tab-indices.ts fix: Remove AI Assistant Button from Tab Order to Prevent Focus (#6569) 2025-02-10 12:55:21 +05:30
themes.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
user.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
views.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
workspace-drafts.ts feat: language support (#6472) 2025-02-06 20:41:31 +05:30
workspace.ts [WEB-3551] fix: role improvements (#6763) 2025-03-24 12:52:57 +05:30