Skip to content
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

Dismiss notification of successful downloads #13013

Merged
merged 1 commit into from
May 23, 2024

Conversation

ZetaTom
Copy link
Collaborator

@ZetaTom ZetaTom commented May 16, 2024

Sometimes download notifications could be stuck at 100% and not be dismissed automatically. In a previous pull request these notifications were made dismissible by the end user as a workaround. This pull request aims to minimise the edge cases where notifications become stuck.

Test Procedure

  1. Set breakpoint on FileActivity.java:524 and FileActivity.java:542
  2. Start app in debug mode
  3. Open overflow menu of any file
  4. Select Download
  5. Wait until the breakpoint is hit
  6. Close the app and continue running
  7. Wait for some amount of time
  8. re-open the app

Without this patch the Downloading... notification is displayed but not automatically dismissed. IT should now be dismissed automatically.


  • Tests written, or not not needed

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
@alperozturk96 alperozturk96 force-pushed the fix/dismiss_download_notifications branch from bb52abb to 56beafb Compare May 21, 2024 12:34
Copy link

Codacy

Lint

TypemasterPR
Warnings7272
Errors33

SpotBugs

CategoryBaseNew
Bad practice6464
Correctness6969
Dodgy code347347
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness66
Performance5757
Security1919
Total572572

Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/13013.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@alperozturk96
Copy link
Collaborator

@AndyScherzinger "task-list-completed" phase still In progress. How can we re-trigger it? “/rebase” ?

@AndyScherzinger AndyScherzinger merged commit 66cecd1 into master May 23, 2024
20 of 21 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/dismiss_download_notifications branch May 23, 2024 12:30
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.30.0 milestone May 23, 2024
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants