feat(card-browser): new UI to select sort order#20240
Draft
david-allison wants to merge 4 commits intoankidroid:mainfrom
Draft
feat(card-browser): new UI to select sort order#20240david-allison wants to merge 4 commits intoankidroid:mainfrom
david-allison wants to merge 4 commits intoankidroid:mainfrom
Conversation
Contributor
|
Important Maintainers: This PR contains Strings changes
|
3b2c03d to
a8d817c
Compare
a8d817c to
225ff72
Compare
225ff72 to
2003547
Compare
2003547 to
0c89f27
Compare
david-allison
commented
Jan 31, 2026
| * | ||
| * 'Question' is unavailable in Cards mode | ||
| */ | ||
| val available: Boolean |
Member
Author
There was a problem hiding this comment.
Rename to canBeSorted
Member
Author
|
Use the colors/style in bc78d4a for the buttons. Much better than my attempt |
4 tasks
Prep for issue 17732
Prep for issue 17732
And remove old implementation Fixes 17732
0c89f27 to
29bf8a5
Compare
Member
Author
|
De-conflicted, but I'd like to re-design, at least to use our new button design |
This file contains hidden or 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
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.
Purpose / Description
We define and use
SortOrderBottomSheetFragment, a bottom sheet fragment which supports:The order of columns is:
This replaces the previous implementation
Fixes
Approach
Define a standard bottom sheet fragment:
SortOrderBottomSheetFragmentwithnewInstance()to initialize args from the collectionDefine an adapter, which does most of the heavy lifting
itemViewTypefor the logic - didn't feel worthwhileHow Has This Been Tested?
Extensive unit tests
Checklist