bb-plane-fork/apps/web/app
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
..
(all) [WEB-5358] fix: analytics enhancements (#8150) 2025-11-24 21:29:34 +05:30
(home) fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
assets [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30
compat/next fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
error fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
routes [WEB-5367] fix: removed integrations and imports from the routes #8073 2025-11-07 16:12:12 +05:30
types [WEB-5404] chore: update next images with html default images (#8101) 2025-11-13 18:33:18 +05:30
entry.client.tsx [WEB-5413] feat: adding sentry error handling in web, space and admin (#8099) 2025-11-12 19:03:47 +05:30
layout.tsx chore: update tubro envs and removed plausible script 2025-11-13 15:24:17 +05:30
not-found.tsx fix: source map warning during build (#8148) 2025-11-21 13:43:52 +05:30
provider.tsx [WEB-5501] refactor: optimize component structures and improve hooks (#8174) 2025-11-25 18:52:20 +05:30
root.tsx chore: update tubro envs and removed plausible script 2025-11-13 15:24:17 +05:30
routes.ts [WEB-5043] feat: web vite migration (#7973) 2025-11-06 14:08:48 +05:30