bb-plane-fork/apps/web/app
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
..
(all) [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
(home) fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
assets [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
compat/next fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
error fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
routes [WEB-5367] fix: removed integrations and imports from the routes #8073 2025-11-07 16:12:12 +05:30
types [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
entry.client.tsx [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
layout.tsx chore: update tubro envs and removed plausible script 2025-11-13 15:24:17 +05:30
not-found.tsx fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
provider.tsx fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
root.tsx chore: update tubro envs and removed plausible script 2025-11-13 15:24:17 +05:30
routes.ts [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30