-
Notifications
You must be signed in to change notification settings - Fork 16
[Hackdays] Share via QR Code #1177
Conversation
ayoy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks and works really great! I’ve tested long URLs and punycoded ones and proper QR codes are generated every time. Please update Dax logo and consider parametrizing scale, as per my comments. Thanks @mallexxx!
| } | ||
|
|
||
| var ciImage: CIImage { | ||
| var rect = NSRect(x: 0, y: 0, width: self.size.width * 2, height: self.size.height * 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the * 2 here to handle Retina? Can we try using NSScreen.main?.backingScaleFactor and fall back to 2?
Same applies to CIImage.bitmapRepresentation(using format: NSBitmapImageRep.FileType).
|
|
||
| static let duckDuckGo: QRCodeParameters = { | ||
| let icon: CIImage = { | ||
| let logo = NSImage(named: "Logo")! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is using the old Dax icon. Please replace with the new one.
* upstream_develop: sync device connected names (#1205) Autofill/subdomain matching (#1122) add-windows-browser-download-link-privacy-config (#1198) Update metadata Fix creating DMG from release workflow (#1200) Unit tests to cover sensitive areas of Burner Window (#1169) [Hackdays] Share via QR Code (#1177) Fix sync connect flow (#1195) Update to BSK adding new remote message image (#1194) Set version to 1.39.0 Update embedded files Update old Dax asset (#1193) WebKit find in page (#1188) modify manage bookmarks button (#1175) sync update device model / poll for devices (#1191)
Task/Issue URL: https://app.asana.com/0/42792087274227/1204180319229124/f
Description:
Adds "QR Code" item to Share menu
Steps to test this PR:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM