bb-plane-fork/apps/web/core/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
..
account 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
api-token fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
archives [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
auth-screens fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
automation fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
base-layouts fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
chart [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
comments [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
common [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
core [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +05:30
cycles [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
dropdowns fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
editor fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
empty-state 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
exporter fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
gantt-chart fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
global fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
home [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +05:30
icons [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
inbox fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
instance fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
integration fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
issues [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
labels [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
license fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
modules fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
onboarding [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
pages [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
power-k [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +05:30
preferences [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
profile [WEB-5497] fix: update change email button label for localization consistency #8173 2025-11-25 15:47:14 +05:30
project fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
project-states [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
readonly fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
rich-filters [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
settings fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
sidebar [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
stickies fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
ui [WEB-5478] chore: fix types (#8155) 2025-11-21 20:22:37 +05:30
user fix: eslint errors and warnings (#8149) 2025-11-20 19:31:22 +05:30
views fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
web-hooks fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
work-item-filters [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