bb-plane-fork/apps/web/ce/components
Prateek Shourya 3436c4f1f5
[WEB-5501] refactor: optimize component structures and improve hooks (#8174)
* [WEB-5501] refactor: optimize component structures and improve hooks

- Updated type definitions in AppProvider to use React.ReactNode for children.
- Enhanced HomePeekOverviewsRoot by using MobX observer and integrating issue detail hook.
- Optimized ContentOverflowWrapper to prevent unnecessary re-renders by adjusting useEffect dependencies.
- Updated DashboardQuickLinks to include necessary dependencies in useCallback.
- Refactored GlobalShortcutsProvider to utilize refs for context and handler management, improving performance.
- Changed useCurrentTime to update every minute instead of every second.
- Refactored outside click hooks to use useCallback for better performance.
- Improved IntercomProvider and PostHogProvider to prevent multiple initializations using refs.

* refactor: simplify conditional rendering in HomePeekOverviewsRoot component

* refactor: improve outside click detection in sidebar and peek overview hooks

* refactor: enhance IntercomProvider and PostHogProvider with hydration state management
2025-11-25 18:52:20 +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 [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +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