bb-plane-fork/apiserver/plane
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 chore: formatting all python files using black formatter (#3366) 2024-01-22 13:19:43 +05:30
api [WEB-3751] chore: work item state icon improvement (#6960) 2025-04-29 14:33:53 +05:30
app [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
authentication [WEB-4008] fix: handle when settings are None #7016 2025-05-12 13:16:30 +05:30
bgtasks [WEB-3782] chore: analytics endpoints (#6973) 2025-05-12 13:15:17 +05:30
db chore: add disable_auto_set_user flag on base model save method (#7041) 2025-05-09 21:05:05 +05:30
license fix: uuid validation, status and webhook errors (#6896) 2025-04-11 01:47:00 +05:30
middleware [WEB-3927] chore: add logging to support json logging (#6955) 2025-04-22 17:41:58 +05:30
seeds/data [WEB-3945] chore: update workspace onboarding to add default project (#6964) 2025-04-29 14:01:22 +05:30
settings [WEB-4013]chore: publish login and standardize urls in common settings (#7013) 2025-05-05 18:58:24 +05:30
space [WEB-3930] chore: change source in-app to IN_APP #7008 2025-05-07 18:46:10 +05:30
static build: merge frontend and backend into a single repo 2022-11-30 02:47:42 +05:30
tests fix: uuid validation, status and webhook errors (#6896) 2025-04-11 01:47:00 +05:30
utils [WEB-4008] fix: handle when settings are None #7016 2025-05-12 13:16:30 +05:30
web chore: adding robots txt file for not indexing the server 2025-05-09 21:07:24 +05:30
__init__.py chore: formatting all python files using black formatter (#3366) 2024-01-22 13:19:43 +05:30
asgi.py chore: formatting changes 2024-11-21 17:42:44 +05:30
celery.py [WEB-3927] chore: add logging to support json logging (#6955) 2025-04-22 17:41:58 +05:30
urls.py chore: adding robots txt file for not indexing the server 2025-05-09 21:07:24 +05:30
wsgi.py chore: formatting all python files using black formatter (#3366) 2024-01-22 13:19:43 +05:30