-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introduce new QrReader component with quircs * Try zxing-wasm library * Allow selecting different cameras and modes * Add options to scan from image or clipboard * Remove handleError from camera to avoid reloading * Use pointer cursor on qr code dialog tabs * Use zbar-wasm * Add CHANGELOG.md entry * Make icon a little larger, improve styling * Remove selecting facing mode, bring cameras into root of context menu * Read image from clipboard * Move handling scan results into own method * Use translation strings * Hide camera selection when only one camera is given * Update CHANGELOG.md * Bring back former styling * Adjust button position a little * Do not show hint on error * Remove unused npm dependency * Improve error message * Handle empty base64 string when reading clipboard image from electron * Remove duplicate button * Docstring for readClipboardImage method * Use checkmark icon which works in darkmode as well * Flip video horizontally * Improve styling for longer error message * Add a whole bunch of comments * Automatically select first available video device * Reset input element to still receive onChange when selecting same image * Always flip processing flag, in error or success cases * Fix removed subtitle prop in other components * Fix confirm dialog not returning callback on ESC-key events * Use isEmpty method on NativeImage * Show error when no data was found in selected image file * Leave a note to change translation string * Correct JSX comment syntax * Use jsqr for now as zbar-wasm seems to be too unstable * Already use untranslated string * Increase scan interval to 250ms * Close dialog after cancelling * Better name for method * Make stopping stream logic more robust for different cases * Use worker * Keep showing QR reader when cancelling dialogs * Do not display progress bar when processing code * Update src/renderer/components/QrReader/index.tsx Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com> --------- Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
- Loading branch information
1 parent
2cf68bb
commit e2b23d3
Showing
17 changed files
with
823 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.