Skip to content

Conversation

@trek-e
Copy link

@trek-e trek-e commented Jan 24, 2026

Summary

Adds a preload buffer zone around the visible screen area to start loading preview images before they scroll into view.

Changes

  • Added IsInPreloadRange() extension method with 500px buffer
  • Modified ItemViewBase.Update() to start loading when in preload range
  • Loads continue even when item scrolls slightly out of view

Behavior

  • Items within 500px of the screen edge start loading
  • Visible items display and load as before
  • Items far out of view cancel their pending loads

This results in smoother scrolling since previews are ready before they appear.

🤖 Generated with Claude Code

trek-e and others added 2 commits January 23, 2026 18:39
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
- Add IsInPreloadRange() method with 500px buffer zone
- Start loading previews when items are within preload range
- Only cancel loads when items are completely out of range
- Results in smoother scrolling as images load before visible

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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