-
Notifications
You must be signed in to change notification settings - Fork 2.4k
fix: could not cancel the unintialized download #6867
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
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 event emission for download abortion to notify listeners when a model download is stopped. The change emits a DownloadEvent.onFileDownloadStopped event in the abortDownload method's finally block to ensure consistent notification of download state changes.
- Imports
eventsandDownloadEventfrom@janhq/core - Modifies
abortDownloadto emit an event after aborting the download
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0e68dc2 to
eb1722b
Compare
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
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Barecheck - Code coverage reportTotal: 30.01%Your code coverage diff: 0.02% ▴ Uncovered files and lines
|
Describe Your Changes
This PR fixes model download hang issue, as soon as model failed to download due to network issue, it hangs and does not let users to cancel it. This also improves cancel button where it responses immediately.
This PR also fixed the issue where it could not open app folder on mac from settings
Screen.Recording.2025-11-03.at.20.12.51.mov
Fixes Issues
Self Checklist