memos/web/src
Steven 74b63b278c perf: disable tooltips in year calendar to fix lag
Fixed issue #5579 where the calendar selection dialog was very laggy.

The root cause was rendering ~365 individual Tooltip components when
opening the year calendar view (one per day with activity). This created
a huge number of DOM nodes and event listeners that caused significant
performance issues.

Changes:
- Added disableTooltips prop to MonthCalendar and CalendarCell components
- Disabled tooltips in YearCalendar's small month views
- Removed unnecessary TooltipProvider wrapper in YearCalendar
- Tooltips remain enabled in the default month calendar view

Performance improvements:
- Eliminates ~365 tooltip instances when dialog opens
- Reduces initial render time significantly
- Makes dialog interactions smooth and responsive

Users can still click on dates to drill down for details if needed.
2026-02-04 20:14:55 +08:00
..
components perf: disable tooltips in year calendar to fix lag 2026-02-04 20:14:55 +08:00
contexts perf(react-query): fix context re-renders and improve type safety 2025-12-25 08:29:34 +08:00
helpers feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
hooks feat: add enabled option to useInfiniteMemos and PagedMemoList for conditional fetching 2026-01-22 20:21:16 +08:00
layouts chore: simplify page loading logic 2026-01-27 23:37:32 +08:00
lib chore: add ActivityCalendar components 2025-12-28 19:59:36 +08:00
locales chore: update access token deletion message description for zh-Hans (#5573) 2026-02-04 19:54:51 +08:00
pages fix(auth): make PKCE optional for OAuth sign-in (#5570) 2026-02-02 23:28:21 +08:00
router chore: simplify page loading logic 2026-01-27 23:37:32 +08:00
themes chore: polish dark styles 2026-01-26 21:59:36 +08:00
types feat: update instance profile to use admin user instead of initialized flag 2026-01-28 23:27:53 +08:00
utils fix(auth): make PKCE optional for OAuth sign-in (#5570) 2026-02-02 23:28:21 +08:00
App.tsx feat: update instance profile to use admin user instead of initialized flag 2026-01-28 23:27:53 +08:00
auth-state.ts fix(auth): resolve token refresh and persistence issues 2025-12-18 20:56:54 +08:00
connect.ts chore: enable binary format for transport 2026-01-26 21:16:06 +08:00
i18n.ts refactor: remove MemoContentContext and integrate MemoViewContext 2025-12-28 12:46:12 +08:00
index.css feat: implement markdown components for enhanced rendering 2026-01-23 09:04:42 +08:00
instance-config.ts feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
main.tsx chore: simplify page loading logic 2026-01-27 23:37:32 +08:00