mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
Apply content-visibility: auto to off-screen list and sidebar items to skip browser layout and painting until they scroll into view. Changes: - globals.css: add .list-item-lazy (48px) and .sidebar-item-lazy (40px) utilities - DocumentsTableShell: apply list-item-lazy to desktop <tr> rows and mobile card divs - AllPrivateChatsSidebar: apply sidebar-item-lazy to thread items - AllSharedChatsSidebar: apply sidebar-item-lazy to thread items - InboxSidebar: apply content-visibility inline (80px intrinsic height) to inbox items Implements Vercel React Best Practices Rule: rendering-content-visibility (6.2) |
||
|---|---|---|
| .. | ||
| AllPrivateChatsSidebar.tsx | ||
| AllSharedChatsSidebar.tsx | ||
| AnnouncementsSidebar.tsx | ||
| ChatListItem.tsx | ||
| DocumentsSidebar.tsx | ||
| InboxSidebar.tsx | ||
| index.ts | ||
| MobileSidebar.tsx | ||
| NavSection.tsx | ||
| PageUsageDisplay.tsx | ||
| Sidebar.tsx | ||
| SidebarButton.tsx | ||
| SidebarCollapseButton.tsx | ||
| SidebarHeader.tsx | ||
| SidebarSection.tsx | ||
| SidebarSlideOutPanel.tsx | ||
| SidebarUserProfile.tsx | ||