Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

feat: delegation QR code #263

Merged
merged 6 commits into from
May 13, 2020
Merged

feat: delegation QR code #263

merged 6 commits into from
May 13, 2020

Conversation

Dudleyneedham
Copy link
Member

fixes

Adds the QR code for delegation ID

How to test:

It works.

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)

@@ -18,7 +18,8 @@
& .id {
text-overflow: ellipsis;
overflow: hidden;
padding-right: 20px;
padding-right: 40px;
width: 200px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this still necessary?

...(publicIdentityWithDelegation.publicIdentity.serviceAddress
? [publicIdentityWithDelegation.publicIdentity.serviceAddress]
: []),
publicIdentityWithDelegation.delegationId,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it is easier to put the delegationId at the top. Otherwise, you will have to check the array length, before you know at what index it is

Copy link
Contributor

@tjwelde tjwelde left a comment

Choose a reason for hiding this comment

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

LGTM

@tjwelde tjwelde merged commit e475934 into develop May 13, 2020
@tjwelde tjwelde deleted the demo-delegation-id-qr-code branch May 13, 2020 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants