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

feat(spoolman): QR code scanning support #1149

Merged
merged 9 commits into from
Aug 16, 2023

Conversation

matmen
Copy link
Member

@matmen matmen commented Aug 13, 2023

As described in #1119

Adds support for spoolman QR codes (Donkie/Spoolman#10).
Adds an option to automatically commit a spool selection when a valid QR code is scanned (no need to manually confirm the selection)
Adds support for using the device's camera as a scan source (#1119 (comment))
Closes #1151

@matmen matmen added the FR - Enhancement New feature or request label Aug 13, 2023
@matmen matmen added this to the 1.25.2 milestone Aug 13, 2023
@matmen matmen mentioned this pull request Aug 13, 2023
29 tasks
Copy link
Member

@pedrolamas pedrolamas left a comment

Choose a reason for hiding this comment

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

One typo, once that is fixed this is good to go!

pedrolamas
pedrolamas previously approved these changes Aug 14, 2023
@matmen
Copy link
Member Author

matmen commented Aug 14, 2023

@NonaSuomy Feel free to test these changes, I just added support for using the device's camera as a scan source

@matmen matmen marked this pull request as ready for review August 14, 2023 20:08
@matmen matmen requested a review from pedrolamas August 14, 2023 20:08
@pedrolamas
Copy link
Member

@matmen To fix #1150, I made crossorigin an optional property, so you will need to add crossorigin="anonymous" to this element

Having said that we now know that this will still fail if the streaming server is not setting the Access-Control-Allow-Origin "*" response header... in that case the DOMException that you are already catching will have ex.name === "SecurityError"

@pedrolamas
Copy link
Member

And while we're at it, we might want to add #1151 here?

@matmen matmen merged commit 5b6a44e into fluidd-core:develop Aug 16, 2023
@matmen matmen deleted the spoolman/qr-support branch August 16, 2023 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FR - Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ID field to Spoolman section
2 participants