Skip to content

Performance/history view optimization#1373

Open
victor141516 wants to merge 3 commits into
p0deje:masterfrom
victor141516:performance/history-view-optimization
Open

Performance/history view optimization#1373
victor141516 wants to merge 3 commits into
p0deje:masterfrom
victor141516:performance/history-view-optimization

Conversation

@victor141516
Copy link
Copy Markdown

Implements #1372

Víctor Fernández Gabriel added 2 commits April 6, 2026 17:55
Loading the full history eagerly was making the popup slow to open and expensive to resize once large clipboards accumulated. This switches history/search to incremental loading so the UI becomes responsive immediately, while preserving navigation and pin ordering by reinserting updated items into the in-memory list and fetching more rows only as the user scrolls.
Use  as a sentinel for an unlimited history size so the setting can be represented without forcing the trim logic into invalid array ranges. The UI keeps that internal value hidden behind an explicit toggle and disables numeric controls while unlimited is selected, which avoids exposing a magic number to users while still preserving a simple stored preference.
@victor141516 victor141516 marked this pull request as draft April 6, 2026 18:54
@victor141516 victor141516 marked this pull request as ready for review April 6, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant