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

Fix QR code error notification #7726

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

AshrafMd-1
Copy link
Contributor

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

@AshrafMd-1 AshrafMd-1 requested a review from a team as a code owner April 27, 2024 17:44
Copy link

vercel bot commented Apr 27, 2024

@AshrafMd-1 is attempting to deploy a commit to the Open Healthcare Network Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 93f581f
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/664e46f8be9d4900084a9787
😎 Deploy Preview https://deploy-preview-7726--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AshrafMd-1
Copy link
Contributor Author

AshrafMd-1 commented May 1, 2024

@khavinshankar is this okay?

i have combined the asset not found to invalid qr

@nihal467
Copy link
Member

nihal467 commented May 7, 2024

@AshrafMd-1
image

  • something went wrong error is still shown along with the invalid QR code
  • When a staff user scans a valid QR code, but they do not having access to it, due to no access to the asset. So, throwing an "Invalid QR code" error won't make sense, it would be better in these scenerio's to throw a "You don't have permission to access this asset" notification, which will be more proper.

@AshrafMd-1
Copy link
Contributor Author

@nihal467 can you check once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify QR code error notification
4 participants