Skip to content
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

[Android] Search filters #642

Merged
merged 10 commits into from
Sep 22, 2022
Merged

[Android] Search filters #642

merged 10 commits into from
Sep 22, 2022

Conversation

surajsau
Copy link
Contributor

Issue

Overview

  • Added MaterialDesign package to :feature:sessions for BottomSheetScaffold
  • Added selectAllCategories query in TimetableItemSession.sq to fetch all unique categories to be shown in Categories filter.
  • Made the filter section horizontally scrollable since while selecting multiple categories will lead to a longer category filter button.

Screenshot

device-2022-09-21-174730.mp4

get() = selectedCategories.isNotEmpty()
}

sealed interface SearchFilterSheetState {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆒

Copy link
Member

@takahirom takahirom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

get() = selectedDay != null

val selectedCategoriesValue: String
get() = selectedCategories.joinToString { it.title.currentLangTitle }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

modifier: Modifier = Modifier,
onClicked: () -> Unit
) {
val transition = updateTransition(targetState = isSelected)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆒

@github-actions github-actions bot temporarily deployed to deploygate-distribution September 21, 2022 14:36 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution September 22, 2022 01:47 Inactive
@takahirom takahirom merged commit 4de7f44 into DroidKaigi:main Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants