Skip to content

Load viewer history only when requested - #131

Merged
carsonfarmer merged 1 commit into
mainfrom
cf/viewer-lazy-history
Sep 28, 2026
Merged

carsonfarmer merged 1 commit into
mainfrom
cf/viewer-lazy-history

Conversation

@carsonfarmer

Copy link
Copy Markdown
Owner

Opening a directory or file rebuilt eight commit summaries on every request. Code now reads only the selected commit and path; Commits loads 20 first-parent summaries with an Earlier commits link. Authorization uses Git protocol-v2 discovery to avoid reading tag objects.

Both hash formats verify exact Code reads and history pagination. Tested the composed Spin viewer on MinIO with this repository, checked file bytes against Git, and exercised commit selection and browser Back. Independent correctness review and make check completed.

Closes #130.

Read only the selected commit and path in Code. Load first-parent history separately with an explicit continuation, and use protocol-v2 Git discovery for authorization.

Co-authored-by: Codex <noreply@openai.com>
@carsonfarmer
carsonfarmer merged commit a2f20b7 into main Sep 28, 2026
4 checks passed
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.

Load viewer history only when requested

1 participant