bb-plane-fork/packages/propel
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
..
.storybook [WEB-5083] chore: add stories to propel #7888 2025-10-06 20:48:52 +05:30
public [WEB-4835] feat: storybook enhancements (#7702) 2025-09-05 14:55:33 +05:30
src [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
.eslintignore fix: eslint errors and warnings (#8149) 2025-11-20 19:31:22 +05:30
.eslintrc.cjs fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
.prettierignore [WEB-3329] dev: new chart components (#6565) 2025-02-10 16:01:06 +05:30
.prettierrc chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
package.json fix: source map warning during build (#8148) 2025-11-21 13:43:52 +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.ts fix: update tailwind config package 2025-01-14 17:09:40 +05:30
tsconfig.json fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
tsdown.config.ts fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30