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

WIP: Add identicon into profile qr code #10703

Closed
wants to merge 1 commit into from
Closed

Conversation

Ferossgp
Copy link
Contributor

Added only to profile for now

@Ferossgp Ferossgp requested a review from a team as a code owner May 22, 2020 14:01
@Ferossgp Ferossgp self-assigned this May 22, 2020
@status-im-auto
Copy link
Member

status-im-auto commented May 22, 2020

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5b5e016 #1 2020-05-22 14:11:25 ~10 min android-e2e 📦apk 📲
✔️ 5b5e016 #1 2020-05-22 14:14:03 ~12 min android 📦apk 📲
✔️ 5b5e016 #1 2020-05-22 14:15:03 ~13 min ios 📦ipa 📲

@Samyoul
Copy link
Member

Samyoul commented May 22, 2020

Would you mind sharing a sample of the QRs that are produced with this change? Thank you 😄

Copy link
Contributor

@hesterbruikman hesterbruikman left a comment

Choose a reason for hiding this comment

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

Looks great on my end! Tried on Android. @errorists can you also take a look please?

@Ferossgp
Copy link
Contributor Author

image

:height logo-size
:stroke "blue"
"stroke-width" 2
:rx (/ logo-size 2)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we move (/ logo-size 2) to let? It is repeated four times

(let [path (reagent/atom nil)]
(.toString qr-code-js
value
(bean/->js {:margin 0 :width size :errorCorrectionLevel "H"})
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we either have only one key/value pair per line or separate pairs with comma? It is a bit hard to read for me personally

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I totally agree with you, and I would prefer to have that as a lint rule. We have many places where it's multiple pairs per line, and IMHO it's even harder to read when it's multiple pairs per line and multiple lines for the same map.

@oskarth
Copy link
Contributor

oskarth commented Jul 1, 2020

Small request - could you please rebase to latest master so this commit b5fda12 gets included? This means we aren't running E2E tests on eth.prod cluster anymore, and since this happens on every push, the impact is quite big. This ensures we have more accurate metrics going forward from Jul 1 onward, which would be awesome. See https://discuss.status.im/t/user-growth-and-retention/1782 for more

@hesterbruikman
Copy link
Contributor

hesterbruikman commented Jul 9, 2020

For reference: This PR is part of epic #10502 and fixes #10627

PR is currently WIP, using compressed key not implemented yet, method available in status-go see https://specs.status.im/spec/2#public-key-serialization and status-im/status-go#1990. Issue to implement use of compressed key in status-react here: #10325

@Ferossgp
Copy link
Contributor Author

Should be done in Go as it should be shared between all platforms

@Ferossgp Ferossgp closed this Dec 28, 2020
@jakubgs jakubgs deleted the extend-qr-ui branch September 21, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants