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

Feat/alert/UI: AlertScreen UI #24

Merged
merged 77 commits into from
Oct 14, 2024
Merged

Feat/alert/UI: AlertScreen UI #24

merged 77 commits into from
Oct 14, 2024

Conversation

agonzalez-r
Copy link
Member

Overview

The AlertScreen is where users can customise their alert and submit it so that the other users will receive it. They will then be displayed in the AlertListScreen #23.

Screenshot 2024-10-10 at 19 10 21

Key Features

  • Dropdown menu with the period product option the user prefers
  • Dropdown menu with the urgency levels
  • Followed the Figma, but I think there is room for improvement for the design

Future improvements

  • An Alert will be created and store in the repository once the model and viewModel are finished
  • I created the data class for the Alerts in the branch Feat/alert/model Model and ViewModel for Alerts: list of tasks  #17, all necessary information will be provided in this screen in order to effectively create an instance
  • For the moment the Location is just a string, next sprint we will implement a Location data class with coordinates so that they can be displayed in a map
  • UI-wise, I think this screen can be improved, maybe do a round button and better arrange the entry components

Tests

  • Verified that all components are correctly displayed and the interaction is correct

francelu and others added 24 commits October 8, 2024 17:34
Added UI components for product selection, urgency level, location, and message input
Includes a submit button for saving alerts
Needs linking to ViewModel for functionality
fix: change labels for the dropdown menus in AlertScreen
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
74.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

lazarinibruno
lazarinibruno previously approved these changes Oct 11, 2024
Copy link
Contributor

@lazarinibruno lazarinibruno left a comment

Choose a reason for hiding this comment

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

Thanks for your work!

Comments

  • The inclusion of tests verifying that everything is correctly displayed is top!
  • The UI covers the basic features that the screen will have.
  • I like how you modularized the code by creating your own custom ExposedDropDownMenuSample composable.

Improvements

As you mentioned, the UI could be improved to make it feel more modern-looking. Some improvements could be:

  • The explanation at the top of the screen could be shortened or even omitted.
  • Having a button that upon clicking on it, cycles through the menstrual products.
  • The same for the urgency level

Steps before merge

LGTM

Harrish92 and others added 19 commits October 13, 2024 18:43
Added UI components for product selection, urgency level, location, and message input
Includes a submit button for saving alerts
Needs linking to ViewModel for functionality
fix: change labels for the dropdown menus in AlertScreen
Changed AGP version from 8.7.0 to 8.6.1 to fix error "The project is using an incompatible version (AGP 8.7.0) of the Android Gradle plugin. Latest supported version is AGP 8.6.0" when building.
Added UI components for product selection, urgency level, location, and message input
Includes a submit button for saving alerts
Needs linking to ViewModel for functionality
fix: change labels for the dropdown menus in AlertScreen
Copy link
Contributor

@lazarinibruno lazarinibruno left a comment

Choose a reason for hiding this comment

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

LGMT

francelu and others added 6 commits October 14, 2024 13:50
Feat/navigation: navigations actions, title bar and bottom bar
Added UI components for product selection, urgency level, location, and message input
Includes a submit button for saving alerts
Needs linking to ViewModel for functionality
fix: change labels for the dropdown menus in AlertScreen
Copy link
Contributor

@charliemangano charliemangano left a comment

Choose a reason for hiding this comment

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

lgtm!
thanks for the changes

@agonzalez-r agonzalez-r merged commit 2bad641 into main Oct 14, 2024
2 checks passed
@agonzalez-r agonzalez-r deleted the feat/alert/ui branch October 14, 2024 14:33
@charliemangano charliemangano linked an issue Oct 14, 2024 that may be closed by this pull request
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.

Create Alert Screen
6 participants