• Steven's avatar
    perf: disable tooltips in year calendar to fix lag · 74b63b27
    Steven authored
    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.
    74b63b27
Name
Last commit
Last update
..
components Loading commit data...
contexts Loading commit data...
helpers Loading commit data...
hooks Loading commit data...
layouts Loading commit data...
lib Loading commit data...
locales Loading commit data...
pages Loading commit data...
router Loading commit data...
themes Loading commit data...
types Loading commit data...
utils Loading commit data...
App.tsx Loading commit data...
auth-state.ts Loading commit data...
connect.ts Loading commit data...
i18n.ts Loading commit data...
index.css Loading commit data...
instance-config.ts Loading commit data...
main.tsx Loading commit data...