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

On barcode scan U-<name> try to search for username #111

Open
schinken opened this issue Jan 6, 2019 · 2 comments
Open

On barcode scan U-<name> try to search for username #111

schinken opened this issue Jan 6, 2019 · 2 comments

Comments

@schinken
Copy link
Contributor

schinken commented Jan 6, 2019

Regex for that: /^u-(.*)$/i

It's easy to implement. I don't have practical use for it now, but it might be neat to list it as a feature.

@sanderdrummer
Copy link
Contributor

  1. Step one implement the business logic
  2. Step two implement a user scanner component
  3. ????
  4. PROFIT!!!

@toothstone
Copy link

I'm currently looking for exactly this feature, and would love to see it for strichliste.
For larger events it is not practical to have people select their user from a long list or search for it. If everyone has a badge with an individual user barcode things go much smoother. Ideally you won't even need any input device except the barcode scanner.

mbrgm added a commit to mbrgm/strichliste-web-frontend that referenced this issue Jan 24, 2023
This allows typing a user id and then pressing enter to jump directly to
a user from the user selection screen (active or inactive).

The use case serving as motivation for this enhancement is scanning a
Code 39 barcode, which is only required to contain the user id and
start-/stop characters. This very short barcode can be 3d-printed on
mate tags and enables users to buy something using only the barcode
scanner. This way, they don't have to touch the screen, which in
combination with a stationary scanner allows for a completely touchless
interface.

Closely related to strichliste#111, but with smaller space required for the
barcode.
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

No branches or pull requests

3 participants