Offline mode #190
No reviewers
Labels
No Label
Priority-high
Accepting-merge-requests
API
API-dependency
Backport
Blocked
Brainstorming
Breaking
Bug
Changelog
CI
Cleanup
Confirmed
Discussion
Documentation
Duplicate
Enhancement
External-dependecy
F-droid
Feature
Google-play
Improvement
Invalid
Investigate
LGTM-done
LGTM-need
Long-term
Major-release
Minor-release
Needs-cleanup
Needs-feedback
Needs-help
Priority-critical
Priority-low
Priority-medium
Question
Ready
Refactor
Regression
Release
Repository
Security
Suggestion
Support
Testing
Translation
UI/UX
Upstream
Website
WIP
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#190
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "186-offline-mode-using-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #186
So RetroFit has already a cache function ...
Yes, it has using okhttp as interceptor.
@mmarif it doesnt cache repo lists (stared repos, my repos, ...) and user avatars
but files if opend before work offline now (if you stay in a repo) 👍
What process you carried out to test.
You should have network when open the app and browse around the pages so the app can cache the contents. After that turn off network and you will be able to see the cached contents.
@mmarif yes this works but offline mode in my definition is, once you cached the files, you should be able to close the app, switch off internet and then browse cached repos
Not sure why its not working for you. I have made a video a while ago. Check if its what you want.
https://peertube.social/videos/watch/000a8348-b180-47d4-8775-4b924f80d7c1
@mmarif - the cache is only used if contend has fully loaded (was my first problem)
Second:
Test Device: pisikal, android 9.0.9
Org avatars too
I'll test again ...
@6543 how was your test?
One thing still not work ...
ONLINE mode:
Tested with: emulated Android & physical device
So the name does not show in the Online mode in this PR, am I right?
Do you have full name in your profile saved bdw?
No
...
I haven't checked that part of the code yet, but can you add full name and see if it is working.
I will check after that to make sure it pick username/login if full name is empty.
@mmarif checked
you are right - this text field has no fallback to login name!
@mmarif done ->
fc27f7c73d
🎉