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

Connect Qr-Code Screen to Organizer Flow (EXPOSUREAPP-5971) #2716

Merged
merged 36 commits into from
Apr 1, 2021

Conversation

axelherbstreith
Copy link
Contributor

@axelherbstreith axelherbstreith commented Mar 30, 2021

This PR connects the QrCode Detail Screen with the database and is now called from the "My Qr-Codes" List fragment in the Organizer flow.

To test the changes, go to the Main Menü -> Planen Sie eine Veranstaltung Card -> Press on an entry

If there is no entry yet, go to: Test Menu -> Event Registration -> Events -> Generate Test Trace Locations

Please note: The Qr-Code string is currently still hard coded and will be changed in a follow-up PR.

qr_code_detail_connection.mp4

@axelherbstreith axelherbstreith added the maintainers Tag pull requests created by maintainers label Mar 30, 2021
@axelherbstreith axelherbstreith added this to the 2.0.0 milestone Mar 30, 2021
@axelherbstreith axelherbstreith marked this pull request as ready for review March 31, 2021 14:32
@axelherbstreith axelherbstreith requested review from a team March 31, 2021 14:32
@BMItr BMItr self-assigned this Mar 31, 2021
@jurajkusnier jurajkusnier self-assigned this Apr 1, 2021
@sonarcloud
Copy link

sonarcloud bot commented Apr 1, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@AlexanderAlferov AlexanderAlferov self-assigned this Apr 1, 2021
Copy link
Contributor

@jurajkusnier jurajkusnier 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

@AlexanderAlferov AlexanderAlferov left a comment

Choose a reason for hiding this comment

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

LGTM.
That vm renaming could be done later.

private val vm: QrCodeDetailViewModel by cwaViewModels { viewModelFactory }
private val navArgs by navArgs<QrCodeDetailFragmentArgs>()

private val vm: QrCodeDetailViewModel by cwaViewModelsAssisted(
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we are trying to streamline it not with "vm", but with "viewModel". Would be nice to rename it 🏷️

@axelherbstreith axelherbstreith added the text change PRs with text changes. label Apr 1, 2021
@harambasicluka harambasicluka merged commit c91c973 into release/2.0.x Apr 1, 2021
@harambasicluka harambasicluka deleted the feature/5971-qr-code-repo-connection branch April 1, 2021 11:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintainers Tag pull requests created by maintainers text change PRs with text changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants