-
Notifications
You must be signed in to change notification settings - Fork 42
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
Nav refactor #497
Nav refactor #497
Conversation
8626d16
to
5292795
Compare
demo-app/src/main/java/io/opentelemetry/android/demo/ui/shop/Navigation.kt
Outdated
Show resolved
Hide resolved
demo-app/src/main/java/io/opentelemetry/android/demo/ui/shop/AstronomyShopActivity.kt
Show resolved
Hide resolved
modifier = Modifier.fillMaxWidth(), | ||
textAlign = TextAlign.Center | ||
) | ||
Spacer(modifier = Modifier.height(32.dp)) |
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.
TODO: in a subsequent PR, the user should be able to specify a quantity to add, typically with some kind of integer spin box.
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.
Looking good to me. One small cleanup comment, but great progress. Thanks!
@open-telemetry/android-approvers would be nice to have some Splunk-external eyes on this as well. ❤️ |
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.
Thank you!
) { | ||
// this.items(products) { product -> CartItem(product) } | ||
} | ||
// CheckoutButton(totalPrice = products.sumOf { it.price }) |
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.
Is there a reason for us to keep the above lines of code commented?
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.
they had errors and because cart screen is a placeholder now and i'll probably rewrite a lot of it anyway i forgot about fixing them, but i did now
Fragments replaced with composables (with some changes to direcotry tree), navigation to product details added.