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

Using real data on swiss card! #462

Open
wants to merge 8 commits into
base: development
Choose a base branch
from
Open

Conversation

AdamMc331
Copy link
Owner

Summary

How It Was Tested

Screenshot/Gif

Screenshot Name

Copy link

1 Warning
⚠️ Please consider breaking up this pull request.

Generated by 🚫 Danger


return SwissTeamResultDisplayModel(
team = this.team.toOverviewDisplayModel(),
overline = "TODO",
Copy link
Owner Author

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
Copy link
Owner Author

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")),
Copy link
Owner Author

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()
Copy link
Owner Author

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.

Comment on lines 38 to 43
// Box(
// modifier = Modifier
// .background(color = colorToUse)
// .width(4.dp)
// .fillMaxHeight(),
// )
Copy link
Owner Author

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

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.

None yet

1 participant