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

RMET-2770 ::: Barcode scanner screen for phones #9

Merged
merged 18 commits into from
Dec 5, 2023

Conversation

nflsilva
Copy link
Contributor

@nflsilva nflsilva commented Nov 30, 2023

Description

This PR performs the following changes:

  • Adds Portrait and Landscape screen for smart phones;
  • Updates dependencies versions;

Context

https://outsystemsrd.atlassian.net/browse/RMET-2770

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

Since this is UI implementation. No automated tests were created.
Solution was tested on a real device on Android 11.

Screenshots (if appropriate)

Portrait
Screenshot 2023-11-30 at 12 13 52

Landscape
Screenshot 2023-11-30 at 10 42 35

Checklist

  • Pull request title follows the format RNMT-XXXX <title>
  • Code follows code style of this project
  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

alexgerardojacinto and others added 12 commits November 20, 2023 14:12
Context: We should use a @composable function for each element on the screen.

References: https://outsystemsrd.atlassian.net/browse/RMET-2770
Context: These two buttons should be aligned, with the scan button at the center, and the flashlight button at the right-most corner. This commit also includes some refactoring on the Close button.

References: https://outsystemsrd.atlassian.net/browse/RMET-2770
Context: The scanning view should be full screen, as in the Figma design.

References: https://outsystemsrd.atlassian.net/browse/RMET-2770
Context: We check if the device's orientation is portrait or landscape, all call the respective UI composable method - ScanScreenUIPortrait or ScanScreenUILandscape.

References: https://outsystemsrd.atlassian.net/browse/RMET-2770
Copy link
Contributor

@OS-ricardomoreirasilva OS-ricardomoreirasilva left a comment

Choose a reason for hiding this comment

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

You're missing the CHANGELOG entry.

Copy link

sonarqubecloud bot commented Dec 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@alexgerardojacinto alexgerardojacinto merged commit a475f00 into development Dec 5, 2023
7 checks passed
@alexgerardojacinto alexgerardojacinto deleted the feat/RMET-2770/screen-phone branch January 10, 2024 12:18
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.

4 participants