Skip to content

feat(frontend): Improve barcode scanning text input on Platform UI. #9655

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

willbicks
Copy link

This PR adds two improvements to barcode scanning via text input to Platform UI:

  • Adds control character handling to barcode text input (used to work in Classic UI).

  • Submit barcode scan on EOT character.

    • Automatically submits 2D barcode scans (e.g. DigiKey, Mouser) when end of transmission character is input.
      This means that popular industrial barcode scanners (e.g. Zebra, Symbol, Motorola) can auto submit 2D barcodes even though they don't terminate scans with 'Enter' out of the box.

willbicks added 2 commits May 12, 2025 19:53
Automatically submits 2D barcode scans when end of transmission character is input.
Copy link

netlify bot commented May 12, 2025

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit f0542ac
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/6822541dd1d2d1000864efaa
😎 Deploy Preview https://deploy-preview-9655--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (no change from production)
Accessibility: 89 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature barcode Barcode scanning and integration User Interface Related to the frontend / User Interface labels May 13, 2025
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone May 13, 2025
@SchrodingersGat
Copy link
Member

@willbicks thanks for the submission 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
barcode Barcode scanning and integration enhancement This is an suggested enhancement or new feature User Interface Related to the frontend / User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Scan barcode" modal does not accept any special characters
2 participants