browser: document lazy loading implementation plan
- Add detailed §15 lazy loading plan with 7 implementation steps - Update Phase 2 checklist with specific tasks - Add E2E test harness for browser files - Refactor browser layout and handler structure - Add .gitignore for common patterns WIP: Actual lazy loading not yet implemented.
This commit is contained in:
@@ -112,6 +112,12 @@ func SetBrowserState(s *BrowserState) {
|
||||
currentBrowserState = s
|
||||
}
|
||||
|
||||
// ComputeVisibleEntriesForTest is exported for testing purposes.
|
||||
// It builds the list of ui.ListItem entries that should be rendered.
|
||||
func ComputeVisibleEntriesForTest(state *BrowserState) []ui.ListItem {
|
||||
return computeVisibleEntries(state)
|
||||
}
|
||||
|
||||
// computeVisibleEntries builds the list of ui.ListItem entries that should be
|
||||
// rendered based on the current scroll position and visible count.
|
||||
func computeVisibleEntries(state *BrowserState) []ui.ListItem {
|
||||
|
||||
Reference in New Issue
Block a user