Skip to content

Fruittie screen and ios designs #78

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 16 commits into
base: mlykotom/ios-viewmodel-scoping
Choose a base branch
from

Conversation

mlykotom
Copy link
Collaborator

  • created fruittie screen (ios+android)
  • added bunch of actions (increase/decrease to cart), how many fruits in cart
  • improved ios designs to use default components
  • improved android designs
image image
image image
image image

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @mlykotom, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the application's user experience by introducing a new detail view for individual fruit items and improving the cart management capabilities. The changes also include a substantial UI overhaul on both Android and iOS to leverage modern platform components and design patterns.

Highlights

  • New Fruittie Detail Screen: Introduced a dedicated detail screen for individual 'fruitties' on both Android (Compose) and iOS (SwiftUI), allowing users to view more information about a specific item and add it to their cart.
  • Enhanced Cart Management: Implemented functionality to increase and decrease the quantity of items directly within the cart view on both platforms, providing a more interactive shopping experience.
  • UI/UX Improvements: Refactored the user interface for both Android and iOS to align with platform-specific design best practices, utilizing native components like LargeTopAppBar and List in SwiftUI, and FilledIconButton in Compose, resulting in a more polished and consistent look and feel.
  • Navigation Updates: Updated the navigation flow to support the new fruittie detail screen, allowing users to tap on a fruittie from the main list to view its details.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request introduces the Fruittie detail screen and improves the UI on Android and iOS. The Swift code has critical issues with calling async functions synchronously. UI consistency can be improved by using theme colors. State handling and navigation should be more robust.

mlykotom and others added 2 commits June 26, 2025 12:31
…igns"

This reverts commit a2761d6, reversing
changes made to ea1bde8.
…id/ui/CartScreen.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@mlykotom mlykotom requested review from marcellogalhardo and removed request for marcellogalhardo July 1, 2025 08:20
Copy link
Contributor

@cartland cartland left a comment

Choose a reason for hiding this comment

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

LGTM, remember to run ./gradlew spotlessApply (requested in #75)

@@ -69,6 +82,22 @@ fun CartScreen(onNavBarBack: () -> Unit) {

val cartState by viewModel.cartUiState.collectAsState()

CartScreen(
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for extracting the state like this. I wanted to do this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants