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

View QR Code Row #827

Open
wants to merge 1 commit into
base: single_tenant_app_snapshot_unmaintained
Choose a base branch
from

Conversation

aGuttman
Copy link

Added a row to the profile screen to view qr code. Pressing the icon creates a popup where qr code will go.

Added a row to the profile screen to view qr code. Pressing the icon creates a popup where qr code will go.
Copy link
Contributor

@shankari shankari left a comment

Choose a reason for hiding this comment

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

Please indicate if this actually works.

}

$scope.viewQRCode = function($event) {
i18nUtils.geti18nFileName("templates/", "control/qrc", ".html").then((qrcFileName) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

you don't need the QR code template to be internationalized.

Comment on lines +1 to +3
<script src="/node_modules/qrcode-generator/js/qrcode.js"></script>
<script src="/node_modules/qrcode-generator/js/qrcode_UTF8.js"></script>
<script src="/node_modules/angular-qrcode/angular-qrcode.js"></script>
Copy link
Contributor

@shankari shankari May 17, 2022

Choose a reason for hiding this comment

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

You need to have this module in package.json. Otherwise, anybody else who installs the app using setup_serve.sh will not have this module.

Also, the code in /node_modules is typically not available to the app. Are you sure this works? You need to install it using bower, or temporarily copy the files into www/manual_lib and check it in. Temporarily until we move to a build system.

@shankari shankari changed the base branch from old_master to master June 15, 2022 06:46
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.

2 participants