bb-plane-fork/apps/web/ce/components
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
..
active-cycles fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
analytics [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
app-rail fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
automations fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
breadcrumbs fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
command-palette fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
comments [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
common [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
cycles [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
de-dupe fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
editor/embeds/mentions [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
epics/epic-modal fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
estimates fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
gantt-chart [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
global [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
home fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
inbox [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
instance [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
issues fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
license fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
pages fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
preferences fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
projects fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
relations [WEB-5188 | WEB-5190] chore: layout and properties icon revamp (#7980) 2025-10-24 19:53:36 +05:30
rich-filters/filter-value-input [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
sidebar fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
views fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
workflow [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
workspace fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
workspace-notifications fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30