-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Show indicator when loading download dialog #10407
Show indicator when loading download dialog #10407
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.
Thank you for the work.
app/src/main/java/org/schabi/newpipe/download/LoadingDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/download/LoadingDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/download/LoadingDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/download/LoadingDialog.java
Outdated
Show resolved
Hide resolved
I applied some of my review comments and made the dialog's title customizable to allow using it in other part's of the app, too. |
a66ce46
to
4e49992
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.
@TobiGr i am getting this error from CI Unknown failure: cmd: Failure calling service package: Broken pipe (32)
this looks like a pipline issue as :app:connectedDebugAndroidTest
working fine on my local. can you please rerun the pipeline
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.
LGTM
(please squash when merging)
Kudos, SonarCloud Quality Gate passed! |
* added LoadingDialog for improving download experience * [LoadingDialog] Apply some review comments and make title customizable. * removed permission handling from loading Dialog * fix checks * remove <p> Tag from first sentence --------- Co-authored-by: rishabaggarwal <[email protected]> Co-authored-by: TobiGr <[email protected]>
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Before:
Screen_recording_20230910_235412.webm
After:
Screen_recording_20230910_234930.webm
Fixes the following issue(s)
Preventing user from dropping out of the download flow while waiting for DownloadDialog to appear.
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence