-
Notifications
You must be signed in to change notification settings - Fork 2
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
Using real data on swiss card! #462
base: development
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
|
||
return SwissTeamResultDisplayModel( | ||
team = this.team.toOverviewDisplayModel(), | ||
overline = "TODO", |
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.
Remove overline? Or maybe call it something else, could put it elsewhere on the card.
filters: {} | ||
) { | ||
nodes { | ||
displayScore |
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.
Let's create a set fragment.
), | ||
) | ||
.build() | ||
|
||
CircuitCompositionLocals(circuitConfig) { | ||
val backstack = rememberSaveableBackStack( | ||
initialScreens = listOf(FeedScreen), | ||
initialScreens = listOf(SwissOverviewScreen("2337947")), |
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.
Replace this before we merge.
} | ||
|
||
val resultList: List<SwissTeamResult> = data.phaseGroup?.standings?.nodes?.map { node -> | ||
val team = node?.entrant?.team?.teamFragment?.toTeam() ?: Team() |
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.
If we create a set fragment we can clean up this mapper a lot.
// Box( | ||
// modifier = Modifier | ||
// .background(color = colorToUse) | ||
// .width(4.dp) | ||
// .fillMaxHeight(), | ||
// ) |
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.
Remove this, maybe replace it with another text view on the card item itself
Summary
How It Was Tested
Screenshot/Gif
Screenshot Name