bb-plane-fork/apps/web
Jayash Tripathy 2804987fe8
[WEB-5358] fix: analytics enhancements (#8150)
* refactor: enhance analytics page tab functionality and UI

- Introduced state management for selected tabs using useState and useEffect hooks.
- Updated tab handling to improve user experience with onValueChange for Tabs component.
- Refactored AnalyticsFilterActions to remove unused duration selection.
- Added Tooltip to project name in ActiveProjectItem for better visibility.
- Minor styling adjustments in Tabs component for improved layout consistency.

* refactor: improve tab layout in analytics page by adding w-fit

* fix: update styling for ActiveProjectItem component

* refactor: simplify analytics page and introduce useAnalyticsTabs hook

- Removed unused imports and optimized the analytics page component.
- Replaced getAnalyticsTabs with a new custom hook useAnalyticsTabs for better modularity.
- Added useAnalyticsTabs hook to manage analytics tab logic.
- Created new files for useAnalyticsTabs and analytics tabs in the 'ce' and 'ee' directories.

* fix: ensure consistent export in use-analytics-tabs file

* style: format code for better readability in AnalyticsPage component

* fix: add missing newline at end of file in use-analytics-tabs

* chore: remove unused analytics tab components

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-11-24 21:29:34 +05:30
..
app [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
ce [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
core [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
ee [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
helpers [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
nginx [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
public [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
styles [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
.dockerignore [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
.env.example [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
.eslintignore [WEB-5128] refactor: remove local database dependencies and unused code (#8109) 2025-11-13 18:32:15 +05:30
.eslintrc.cjs [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
.gitignore chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
.prettierignore [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
.prettierrc chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
Dockerfile.dev feat: migrate to pnpm from yarn (#7593) 2025-08-19 20:06:42 +05:30
Dockerfile.web [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
google.d.ts chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
manifest.json chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
package.json fix: eslint errors and warnings (#8149) 2025-11-20 19:31:22 +05:30
postcss.config.cjs [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
react-router.config.ts [WEB-5386] refactor: update all apps to use react-router for development and enable SSR for space app. (#8095) 2025-11-11 14:08:42 +05:30
tailwind.config.cjs [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
tsconfig.json [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
use-font-face-observer.d.ts chore: move all services inside the apps folder (#7321) 2025-07-03 00:44:13 +05:30
vite.config.ts [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30