bb-plane-fork/apiserver/plane/app/views
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
..
analytic [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
asset [WEB-3944] fix: Error Toast message content update while uploading images (#6969) 2025-04-25 14:30:12 +05:30
cycle [WEB-3877] chore: changed the logic to end cycle (#6971) 2025-04-29 14:00:54 +05:30
estimate chore: formatting changes 2024-11-21 17:42:44 +05:30
exporter chore: formatting changes 2024-11-21 17:42:44 +05:30
external chore: error handling (#6657) 2025-02-24 13:36:21 +05:30
intake [WEB-3930] chore: set IN_APP as default source value for intake issue (#6963) 2025-04-24 16:25:15 +05:30
issue [WEB-3838]feat:sub work items sorting (#6967) 2025-04-29 15:23:10 +05:30
module [WEB-3967] feat: Optimized module patch endpoint to reduce duplicate db calls (#6983) 2025-04-29 13:51:46 +05:30
notification fix: notification count (#6109) 2024-11-28 12:58:09 +05:30
page [WEB-4014] fix: check access when duplicating pages #7015 2025-05-06 01:20:33 +05:30
project [WEB-3751] chore: work item state icon improvement (#6960) 2025-04-29 14:33:53 +05:30
search [WEB-4054] chore: search-issues endpoint code refactoring (#7029) 2025-05-12 19:14:10 +05:30
state [WEB-3751] chore: work item state icon improvement (#6960) 2025-04-29 14:33:53 +05:30
timezone fix: Removed hardcoded timezone offsets and reduced the cache to 2 hours (#6837) 2025-03-27 16:53:20 +05:30
user chore: formatting changes 2024-11-21 17:42:44 +05:30
view [WEB-3748, 3749] feat: work item description version history (#6863) 2025-04-04 20:09:02 +05:30
webhook fix: uuid validation, status and webhook errors (#6896) 2025-04-11 01:47:00 +05:30
workspace [WEB-3751] chore: work item state icon improvement (#6960) 2025-04-29 14:33:53 +05:30
__init__.py [WEB-3782] chore: analytics endpoints (#6973) 2025-05-12 13:15:17 +05:30
api.py [WEB-3958] chore: allow members and admins to create api tokens (#6979) 2025-04-30 19:51:04 +05:30
base.py chore: formatting changes 2024-11-21 17:42:44 +05:30
error_404.py chore: formatting changes 2024-11-21 17:42:44 +05:30