Skip to content

fix(viewer): replace auto-refresh with an "updates available" indicator#24

Merged
mblode merged 1 commit into
mainfrom
remove-auto-refresh
Jun 3, 2026
Merged

fix(viewer): replace auto-refresh with an "updates available" indicator#24
mblode merged 1 commit into
mainfrom
remove-auto-refresh

Conversation

@mblode

@mblode mblode commented Jun 3, 2026

Copy link
Copy Markdown
Owner

The diff viewer no longer auto-refreshes. A background change-detector now flags an "Updates available" indicator on the status-bar refresh button instead of reloading the diff on its own — the view only updates on manual refresh (button or R).

Also fixes the sidebar file tree flashing during diff updates: the tree is only rebuilt (resetPaths) when the set of files changes, so line-count updates no longer flicker.

🤖 Generated with Claude Code

The diff no longer reloads on its own. A background detector flags when the
diff changed on disk via a refresh-button indicator; the view only updates on
manual refresh. Also fixes the sidebar file tree flashing by rebuilding it
only when the set of files changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
diffhub-web Ready Ready Preview, Comment Jun 3, 2026 9:54am

Request Review

@mblode mblode merged commit d41c336 into main Jun 3, 2026
4 checks passed
@mblode mblode deleted the remove-auto-refresh branch June 3, 2026 09:57
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