Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Set diff context expansion to 20 lines per click#114

Merged
everpcpc merged 1 commit into
databendlabs:mainfrom
everpcpc:toronto-wbnskxtx
Feb 24, 2026
Merged

Set diff context expansion to 20 lines per click#114
everpcpc merged 1 commit into
databendlabs:mainfrom
everpcpc:toronto-wbnskxtx

Conversation

@everpcpc
Copy link
Copy Markdown
Member

Instead of expanding all context lines at once when clicking expand in the diff viewer, use incremental expansion of 20 lines per click (matching GitHub/GitLab behavior).

This leverages the built-in expansionLineCount option in @pierre/diffs which defaults to 100 — too large for most gaps, causing everything to expand in one click.

@everpcpc everpcpc merged commit 4b4d373 into databendlabs:main Feb 24, 2026
3 checks passed
@everpcpc everpcpc deleted the toronto-wbnskxtx branch February 24, 2026 02:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant