-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[New arch] Fix bottom navigation shortcuts #3719
Merged
abelgardep
merged 16 commits into
new_arch/synchronization
from
new_arch/bottom_nav_improvements
Aug 18, 2022
Merged
[New arch] Fix bottom navigation shortcuts #3719
abelgardep
merged 16 commits into
new_arch/synchronization
from
new_arch/bottom_nav_improvements
Aug 18, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 tasks
abelgardep
force-pushed
the
new_arch/bottom_nav_improvements
branch
from
August 11, 2022 08:35
67c77fa
to
a6fc63b
Compare
JuancaG05
requested changes
Aug 12, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huge improvements in one PR! Just some comments, nice work! 🥇
owncloudApp/src/main/java/com/owncloud/android/presentation/ui/files/SortOptionsView.kt
Outdated
Show resolved
Hide resolved
...p/src/main/java/com/owncloud/android/presentation/ui/files/filelist/MainFileListViewModel.kt
Outdated
Show resolved
Hide resolved
...a/com/owncloud/android/domain/files/usecases/GetSharedByLinkForAccountAsStreamUseCaseTest.kt
Outdated
Show resolved
Hide resolved
JuancaG05
approved these changes
Aug 16, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!! 💯 Approved on my side 👍
…account, folder, filelistoption and searchfilter
…it is not available in the server
abelgardep
force-pushed
the
new_arch/bottom_nav_improvements
branch
from
August 17, 2022 07:50
018ba1f
to
36f8855
Compare
abelgardep
force-pushed
the
new_arch/bottom_nav_improvements
branch
from
August 18, 2022 06:14
071ada7
to
3dd8979
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace LiveData with Flow/StateFlow and retrieve directly the filtered data from the database.
The final state for the screen is generated by combining 4 other states: FileListOption, AccountName, FolderDisplayed, SortTypeAndOrder, and SearchFilter. This way, the bottom navigation shortcuts should be fixed and more could be added in the future.
Adding StateFlow also removes some nullability checks we had when retrieving the value from the LiveData.
It should fix also this issue #3666 [FIXED]
Includes support for hidden files (It was pending): #2818 (comment) [DONE]
Potential fix to thumbnails generation [FIXED]
Known issues
Grid/List configuration from the previous version will be reset
Glitch: Search, navigate to a folder and browse back shows all the content again but in the search view, it will still appear the previous query.
QA