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

Loading message after recognizing the barcode #148

Open
wants to merge 3 commits into
base: release/v1
Choose a base branch
from

Conversation

peter-stuhlmann
Copy link
Collaborator

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Show a loading message if the barcode is recognized but the product has not yet been found in the database.

Related Issues

Fixes #80

When a barcode has been recognized, the loading message appears - setLoading(true).
The possibly displayed help message will then no longer be shown - showHelp(false).
The loading message is hidden again when the fetch (search for the product in the database) is complete - setLoading(false)
Make HelpText component reusable and use it for the scanner help text and for the loading message.
Use Vibration: Let the smartphone vibrate when the barcode has been scanned.
@peter-stuhlmann peter-stuhlmann changed the title Loading message after regognizing the barcode Loading message after recognizing the barcode Jul 2, 2020
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.

1 participant