Skip to content

Do not fetch shares during folder refresh #14989

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Jun 11, 2025

  • Tests written, or not not needed

Library PR: nextcloud/android-library#1741

Issue: nextcloud/files-clients#97

Screenshot 2025-06-12 at 10 09 15
Screenshot_20250612_100933

@alperozturk96 alperozturk96 removed the request for review from mpivchev June 12, 2025 13:37
@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch from 04cca36 to df32926 Compare June 12, 2025 13:38
@alperozturk96 alperozturk96 requested a review from ZetaTom June 12, 2025 13:39
ZetaTom

This comment was marked as resolved.

@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch from a7d1bee to 29cc7d0 Compare June 13, 2025 07:00
@alperozturk96 alperozturk96 requested a review from ZetaTom June 13, 2025 07:52
@alperozturk96
Copy link
Collaborator Author

@tobiasKaminsky Do we still need this?

RefreshFolderOperation#L281

if (!mSyncFullAccount) {
    sendLocalBroadcast(EVENT_SINGLE_FOLDER_SHARES_SYNCED, mLocalFolder.getRemotePath(), result);
}

@nextcloud nextcloud deleted a comment from github-actions bot Jun 13, 2025
@alperozturk96 alperozturk96 added the ux-enhancement Improvements that refine user interactions, accessibility, or overall usability label Jun 13, 2025
@nextcloud nextcloud deleted a comment from github-actions bot Jun 13, 2025
@alperozturk96 alperozturk96 added the performance 🚀 Performance improvement opportunities (non-crash related) label Jun 13, 2025
@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch from e75cc04 to 39cac1a Compare June 18, 2025 06:56
@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch 2 times, most recently from 7d332d6 to 8cc61ea Compare July 3, 2025 07:29
@tobiasKaminsky
Copy link
Member

/backport to stable-3.32

@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch from 8cc61ea to 9d8eb95 Compare July 18, 2025 07:06
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
@alperozturk96 alperozturk96 force-pushed the do-not-fetch-shares-during-folder-refresh branch from a5e78c9 to 39609ff Compare July 23, 2025 14:32
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14989.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.

Copy link

Copy link

Codacy

Lint

TypemasterPR
Warnings4848
Errors1111

SpotBugs

CategoryBaseNew
Bad practice6262
Correctness6161
Dodgy code299297
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4850
Security1818
Total533533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review backport-request performance 🚀 Performance improvement opportunities (non-crash related) ux-enhancement Improvements that refine user interactions, accessibility, or overall usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants