-
-
Notifications
You must be signed in to change notification settings - Fork 4
Add progress indicator while loading patches and directories #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
There was a problem hiding this 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 |
No description provided.