mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
* feat(chat-history): add infinite scroll pagination to ChatHistoryPopover Progressively loads chat history in batches of 50 via IntersectionObserver on a sentinel div, preventing UI lag for users with 1000+ conversations. - Observer is created once on mount with empty deps; reads live pagination state via paginationStateRef — no disconnect/reconnect as pages load or search filters change - Reset only fires when popover opens or search changes while open (not close) - Status indicator is plain text (data is local/synchronous, not async) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(chat-history): use useLayoutEffect to prevent pagination reset render spike Replace useEffect with useLayoutEffect for the displayCount reset so it runs synchronously before the browser paints, eliminating the one-frame render spike that occurred when reopening the popover with a large displayCount from a previous scroll session. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: add UI rendering performance audit report Comprehensive audit of React rendering inefficiencies across the chat UI, state management, and streaming paths. 14 findings ranked by severity (Critical/High/Medium/Low) with recommended fix priorities. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ACP_DESIGN.md | ||
| AGENT_PLANNING_REFLECTION_V0.md | ||
| AGENT_REASONING_BLOCK.md | ||
| BEDROCK_TOOL_CALLING.md | ||
| CITATION_IMPLEMENTATION.md | ||
| CONTEXT_ENGINEERING.md | ||
| MESSAGE_ARCHITECTURE.md | ||
| TECHDEBT.md | ||
| TODO-composer-tool-redesign.md | ||
| TOKEN_BUDGET_ENFORCEMENT.md | ||
| TOOLS.md | ||
| UI_RENDERING_PERFORMANCE.md | ||