-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adding notification option to not show notifications for new media folders #3448
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3448 +/- ##
===========================================
- Coverage 6.2% 6.19% -0.01%
Complexity 1 1
===========================================
Files 314 314
Lines 30190 30235 +45
Branches 4328 4331 +3
===========================================
Hits 1874 1874
- Misses 28034 28078 +44
- Partials 282 283 +1
|
Codecov Report
@@ Coverage Diff @@
## master #3448 +/- ##
===========================================
- Coverage 6.19% 6.18% -0.02%
Complexity 1 1
===========================================
Files 314 314
Lines 30262 30301 +39
Branches 4340 4343 +3
===========================================
- Hits 1876 1875 -1
- Misses 28104 28142 +38
- Partials 282 284 +2
|
457d599
to
2dbe5bd
Compare
a400c21
to
4f55036
Compare
src/main/java/com/owncloud/android/jobs/MediaFoldersDetectionJob.java
Outdated
Show resolved
Hide resolved
Code review: ❤️ Do you have an easy way for testing? |
Yes incredibly easy ;) Use a file manager, go to downloads and have an image in the download folder, then:
|
4f55036
to
ef70211
Compare
@tobiasKaminsky how about not hidding it right away while still not showing it in case notifications haven't been enabled. We just want a way for the users to re-enable it again but it shouldn't be that prominent as to keep it in the settings all the time. So we should in my opinion just remove the hiding when toggled, so you can toggle it while it is there, re-opnening the settings afterwards and it will be hidden. |
Reason there is a very, very small group of people who want to disable it and they can, so always showing it in the settings is way to prominent ;) |
@tobiasKaminsky changed the behavior as described in my latest comments and also fixed the code review issue you found, so afaik should be fine now and also has the behavior I would prefer |
…r new media folders Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
176451b
to
95aca3e
Compare
Signed-off-by: Andy Scherzinger <[email protected]>
Two new FindBug warnings, one in "BadPractise" and one in "Security". |
I'll have a look 👍 |
…ine to be predictable Signed-off-by: Andy Scherzinger <[email protected]>
44fddf0
to
bbeacbf
Compare
I created an issue for it: #3465 |
Signed-off-by: Andy Scherzinger <[email protected]>
Lint
FindBugs (new)
FindBugs (master)
|
Hey, how about turning off adding new folders automatically, not only the notification? Where's the logic behind that? I could understand, if new found subfolders in a synced folder would be added automatically, but syncing EVERY new found media folder, just because I once decided that I want to sync ONE media folder? WTF? BTW: on my android (8.0) I can disable this notification already for Nextcloud version 3.4.2 separately under Settings->Notifications->Nexcloud, so where's the point in this issue? |
Sorry, but this one annoys me already for quite a while, and now I found this discussion about turning off the notifications only, which apparently already is realizable in android 8.0. |
has this been disabled again? I can't find it in version 3.26.0. Maybe the German translation is bad but none of the options are toggled 'on' and the notifications still pop up (multiple times, actually, but that is a different problem) |
The action should still be there, didn't get removed. However the action as any notification action only shows up when the notification has been expanded by the user |
Resolve #3080
Signed-off-by: Andy Scherzinger [email protected]
The setting will only be visible in case the user chose to bloc media scan notifications earlier via the notification action. As soon as the user chooses to show the notifications again, the setting will vanish again.
@tobiasKaminsky for review and test ❤️