Repository navigation
Conversation
|
@x1xhlol is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Thanks @x1xhlol! This is stacked on #3238, so it can only merge after that one does. Like #3238, it needs a 5/5 from Greptile on its latest commit and green CI before we can merge. It's at 4/5 because of one P1: the copied barcode text gets changed. Barcode and QR payloads should go to the clipboard exactly as decoded, with no trimming or other normalisation, since they're often URLs, Wi-Fi configs or IDs where every byte matters. Please also mention the new dependency and its licence in the description. Once #3238 is in, rebase onto main and request a re-review. |
2c49a14 to
60940cb
Compare
|
@greptileai review |
e85f444 to
3ac70e4
Compare
3ac70e4 to
2fca79f
Compare
|
Thanks! Can you get Greptile to 5/5 on the latest commit and resolve the conflicts with main? Then we'll take a look. |
Summary
GPUI port of #2096, stacked on the GPUI OCR capture PR (it includes that commit and only adds one more on top).
ocr::capture_textnow runsbarcode::decode_barcodefirst (rxing, luma8,TryHarder). If a QR code or barcode is found, its payload is copied. Otherwise it falls back to platform OCR. Barcode payloads are copied byte-exact; only OCR text is trimmed. Tests encode a QR code (with meaningful whitespace) and a Code128 barcode with rxing and assert the exact decoded text. Both steps run in onespawn_blocking.rxingis added withdefault-features = false, so the lockfile only gains rxing and 4 small crates and no existing versions change.

Confidence Score: 5/5
The PR appears safe to merge; no new actionable issue was established.Summary
Adds barcode-first text capture to the GPUI desktop app. When no barcode is found, capture falls back to platform OCR.
Reviews (2) · Last reviewed commit: "Decode QR codes and barcodes in GPUI tex..." · Reviewed by Greptile