Repository navigation
feat(open-file): remove syncing dialog - #17725
alperozturk96 wants to merge 13 commits into
Conversation
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
d25e2b2 to
a4cfa38
Compare
|
If I try to open the Because internally it still calls
Apparently |
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…lse skip. Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…e visible to other threads) Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
9bf50de to
43db26c
Compare
…mageWithSearchContext
Downloaded text file via -> fileOnItemClick -> previewFile -> startTextPreview
Downloaded audio file via > fileOnItemClick -> previewFile -> startAudioPreview
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
| private void syncAndOpenFile(OCFile file, Intent openFileWithIntent) { | ||
| User user = currentAccount.getUser(); | ||
| final var storageManager = new FileDataStorageManager(user, fileActivity.getContentResolver()); | ||
| if (isDownloadedAndUpToDate(storageManager.getFileById(file.getFileId()))) { |
There was a problem hiding this comment.
Only locally checks not goes to server to check eTag. @tobiasKaminsky
Implements: #17574
Test scenarios: opening a file from the file list
"Changed" means the file was edited on the web and the app noticed it during the folder refresh. To get there: edit the file on the web, stay in the folder and wait ~15s before tapping.