Skip to content

Conversation

@jpenilla
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 29, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
diffs ✅ Ready (View Log) Visit Preview ad7c91e

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds progress indicator functionality while loading patches and directories, providing visual feedback to users during potentially time-consuming operations. The changes refactor the patch loading system to support asynchronous generators and introduce a progress bar component.

  • Refactored patch loading to use async generators with progress tracking
  • Added a progress bar component with spinning and percentage-based states
  • Updated directory selection to show loading indicators

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
OpenDiffDialog.svelte Refactored patch loading functions to use async generators and progress indicators
+page.svelte Added progress bar overlay display
util.ts Added animation frame promise utility
github.svelte.ts Updated GitHub API functions to return response text instead of parsed files
diff-viewer-multi-file.svelte.ts Major refactoring of loadPatches method to support async generators and progress tracking
components/progress-bar/index.svelte.ts New progress bar state management class
components/progress-bar/ProgressBar.svelte New progress bar component with spinner animation
components/files/index.svelte.ts Added directory input state management with loading support
components/files/DirectorySelect.svelte Added spinner display during directory loading
components/files/DirectoryInput.svelte Refactored to use new state management pattern

@jpenilla jpenilla merged commit dd6e1be into master Jul 29, 2025
3 checks passed
@jpenilla jpenilla deleted the load-indicator-1 branch July 29, 2025 16:51
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.

2 participants