Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Manual checkout, Check-In navigation (EXPOSUREAPP-5410) #2680

Merged
merged 10 commits into from
Mar 24, 2021

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Mar 23, 2021

  • Add navigation for editing events (cc/ @kolyaopahle )
  • Add navigation for onboarding (cc/ @chris-cwa )
  • Manual checkout, journal creation will be added after @BMItter's PR
  • Adjusted list sorting to techspec

For testing tap on-going and finished check-ins, you should navigate to the event confirmation/edit screen.
On-going check-ins pressing the manual check-out button should work.
You can long press the SCAN button to create test check-ins.
Deletion should also work.

@d4rken d4rken added enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers labels Mar 23, 2021
@d4rken d4rken added this to the 2.0.0 milestone Mar 23, 2021
@d4rken d4rken requested a review from a team March 23, 2021 15:20
Copy link
Contributor

@kolyaopahle kolyaopahle left a comment

Choose a reason for hiding this comment

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

lgtm 👍

Copy link
Contributor

@mtwalli mtwalli left a comment

Choose a reason for hiding this comment

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

LGTM, just one question

@@ -24,7 +25,8 @@ class ConfirmCheckInFragment : Fragment(R.layout.fragment_confirm_check_in), Aut
factoryProducer = { viewModelFactory },
constructorCall = { factory, savedState ->
factory as ConfirmCheckInViewModel.Factory
factory.create(navArgs.verifiedTraceLocation)
val editId = if (navArgs.editCheckInId == 0L) null else navArgs.editCheckInId
Copy link
Contributor

Choose a reason for hiding this comment

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

should editCheckInId be nullable ? if 0 represents a nullable value

Copy link
Member Author

Choose a reason for hiding this comment

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

NavArguments didn't allow primitives like long to be null, the option was greyed out.

@sonarcloud
Copy link

sonarcloud bot commented Mar 24, 2021

Kudos, SonarCloud Quality Gate passed!

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

19.1% 19.1% Coverage
0.0% 0.0% Duplication

@harambasicluka harambasicluka merged commit c619ba0 into release/2.0.x Mar 24, 2021
@harambasicluka harambasicluka deleted the feature/5410-checkins-checkouts branch March 24, 2021 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants