bb-plane-fork/web
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
..
app [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
ce [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
core [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
ee [WEB-3948] chore: recent work item improvement (#6976) 2025-04-25 15:08:10 +05:30
helpers [WEB-3523] feat: start of week preference (#7033) 2025-05-12 19:13:39 +05:30
public [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
styles [WEB-3978] chore: cmd k search result redirection improvements (#7012) 2025-05-12 19:15:39 +05:30
.env.example [WEB-3991] chore: local dev improvements (#6991) 2025-04-30 21:46:59 +05:30
.eslintignore fix: eslint config and errors 2024-06-13 21:17:06 +05:30
.eslintrc.js fix: update tailwind config package 2025-01-14 17:09:40 +05:30
.gitignore [WEB-1669] chore: enable sign out and sentry on exception error page. (#4884) 2024-06-20 16:50:05 +05:30
.prettierignore chore: lint related changes and packaging fixes (#6163) 2024-12-06 14:56:49 +05:30
.prettierrc fix: Implementing mobx, refactoring service layer and rewriting components (#2441) 2023-10-15 23:50:12 +05:30
Dockerfile.dev fix: node version update from 18 to 20 2025-01-09 16:05:39 +05:30
Dockerfile.web fix: node version update from 18 to 20 2025-01-09 16:05:39 +05:30
google.d.ts New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
manifest.json New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
next-env.d.ts fix: typescript upgrade build errors 2024-09-10 21:31:32 +05:30
next.config.js [WEB-3942] chore: intake url pattern (#7006) 2025-05-07 21:19:24 +05:30
package.json [WEB-3781] Analytics page enhancements (#7005) 2025-05-12 20:50:33 +05:30
postcss.config.js [WEB-3985] feat: common postcss config and local fonts across all plane applications (#6998) 2025-05-09 14:26:29 +05:30
tailwind.config.js fix: update tailwind config package 2025-01-14 17:09:40 +05:30
tsconfig.json fix: linting issues and rule changes (#5681) 2024-09-23 17:10:38 +05:30
use-font-face-observer.d.ts fix: linting issues and rule changes (#5681) 2024-09-23 17:10:38 +05:30