-
Notifications
You must be signed in to change notification settings - Fork 23
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
Re: SearchFrontDrop
#77
Merged
Merged
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
boswelja
reviewed
Dec 23, 2022
boswelja
reviewed
Dec 23, 2022
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
boswelja
reviewed
Dec 23, 2022
Iannnr
reviewed
Dec 23, 2022
app/src/main/java/com/imashnake/animite/features/MainActivity.kt
Outdated
Show resolved
Hide resolved
Iannnr
reviewed
Dec 23, 2022
core/src/main/kotlin/com/imashnake/animite/core/ui/TranslucentStatusBarLayout.kt
Show resolved
Hide resolved
Iannnr
reviewed
Dec 23, 2022
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
TODO: The padding condition still causes recomposition.
Been stuck on this for literal weeks before @danielesegato suggested `consumeWindowInsets()`. Co-Authored-By: Daniele Segato <469948+danielesegato@users.noreply.github.com>
screen-20221225-0540432.mp4 |
Closed
imashnake0
requested review from
Iannnr and
boswelja
and removed request for
Iannnr
January 4, 2023 17:11
Iannnr
reviewed
Jan 5, 2023
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Show resolved
Hide resolved
boswelja
requested changes
Jan 6, 2023
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchViewModel.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/com/imashnake/animite/core/ui/TextField.kt
Outdated
Show resolved
Hide resolved
boswelja
requested changes
Jan 8, 2023
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/imashnake/animite/features/searchbar/SearchFrontDrop.kt
Show resolved
Hide resolved
Requests are made even when the query is null or empty, this doesn't need to happen since we would want the list to empty in both cases, try it out [here](https://anilist.co/graphiql?operationName=Search&query=query%20Search(%0A%20%20%20%20%24type%3A%20MediaType%2C%0A%20%20%20%20%24perPage%3A%20Int%20%3D%200%2C%0A%20%20%20%20%24search%3A%20String%20%3D%20%22%22%20%23%20Try%20null%0A)%20%7B%0A%20%20%20%20page%3A%20Page%20(%0A%20%20%20%20%20%20%20%20page%3A%200%2C%0A%20%20%20%20%20%20%20%20perPage%3A%20%24perPage%0A%20%20%20%20)%20%7B%0A%20%20%20%20%20%20%20%20media(%0A%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20%24type%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20sort%3A%20%5BPOPULARITY_DESC%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20search%3A%20%24search%0A%20%20%20%20%20%20%20%20)%20%7B%20%0A%20%20%20%20%20%09%09%09id%0A%20%20%20%20%20%20%09%09title%20%7B%0A%09%09%09%09%09%09romaji%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%09%09%7D%0A%20%20%20%20%7D%0A%7D).
- Imported a new drawable that's 24 x 24 and not 20 x 21 or something. - Removed component. - Removed redundant size modifier.
imashnake0
commented
Jan 8, 2023
- Removed wrapper. - Added a baseline shift since manrope is not vertically center aligned by default.
There was a strange glitch that I observed on Pixel 6a where the keyboard briefly shows up even after being dismissed.
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.
CONTRIBUTING.md
.All new
SearchFrontDrop
. Fixes #63 and #42.Summary of changes:
SearchViewModel
.TextField
,IconButton
, andIcon
components.SearchFrontDrop
.FrontDrop
.Tested changes:
The.