Skip to content

connecting scanner into navgraph flow

Matt Brevetti requested to merge issue_305_navgraph_scanner into main

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

issue_305_navgraph_scanner

Related Issues

Closes #305 (closed)

Description

This merge requests expands on branch issue_305 to move the working scanner into the proper place in the navgraph. It also changes the home fragment to the beginning of the form, sends the proper information to the database, and provides a confirmation dialog to the user upon completion.

Steps to Test

  1. Open AVD (b/c of scanner orientation, its best to test this on a physical device, if possible)
  2. Go to guest registration and confirm it lands directly on the first page of the form
  3. Fill out the entire form, but Remember what NCCID and/or phone number is
  4. When you get to the scanner, scan any item and remember the barcode number it saves
  5. Finish the rest of the form. Confirm that a popup dialog appears letting you know you are done.
  6. Confirm you are taken back to Guest forms
  7. Open "Guest Visit"
  8. Enter a barcode manually using the barcode that you used to register (hope you remembered lol)
  9. Confirm that it finds the entry you just made and allows you to continue. From here you can finish up the Guest Visit form. It sends a submission check to the Logcat (search by **)
  10. You can also go back to guest registration and try to use the same NCCID and/or phone number and confirm that it doesn't let you. In the future, this should be a dialog that allows you to go to "check-in/login" or "try again"

Relevant Screenshots

(Post any relevant screenshots here.)

Relevant Logs

(Paste any relevant logs here.)

Developer Notes

  • GREAT JOB all the other teams. Was so happy to see it work all the way through.
Edited by Matt Brevetti

Merge request reports