• 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
..
docs Loading commit data...
public Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
biome.json Loading commit data...
components.json Loading commit data...
index.html Loading commit data...
package.json Loading commit data...
pnpm-lock.yaml Loading commit data...
tsconfig.json Loading commit data...
vite.config.mts Loading commit data...