bb-plane-fork/apps/web/ce
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
..
components [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +05:30
constants [WIKI-773] refactor: editor mention components and hooks (#8111) 2025-11-17 14:07:37 +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
hooks [WIKI-786] refactor: bubble menu #8138 2025-11-21 12:49:30 +05:30
layouts [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
services [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
store [WEB-5423] fix: typescript errors and add types check step to pull request workflow (#8110) 2025-11-14 16:18:36 +05:30
types [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30