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

Background color and update fixes #336

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

orhoj
Copy link
Contributor

@orhoj orhoj commented Aug 15, 2023

Purpose

Adjust to changes to metadata format and fix some bugs.

Changes

  • Adjusted background_color to backgroundColor.
  • Fixed an issue where new updates from on chain would delete existing metadata.
  • Added credential status translations.
  • Run workflow on PR towards a feature branch (and pushes to it).

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

Comment on lines +30 to +32
getVerifiableCredentialStatus(client, credential.id)
.then(setStatus)
.catch(() => setStatus(VerifiableCredentialStatus.Pending));
Copy link
Contributor

@shjortConcordium shjortConcordium Aug 16, 2023

Choose a reason for hiding this comment

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

I though this would fix the fact that credentials are not shown until they are on chain, but it doesn't seem to 🤔
(Should it?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should and I thought it did. It's a quick-fix as we should probably differentiate "real" errors and just waiting for it to arrive on chain, but this works for now. Or so I thought.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is because the credentialEntry is not available either.

@orhoj orhoj merged commit 123bc35 into feature/web3-id Aug 17, 2023
4 checks passed
@orhoj orhoj deleted the background-color-and-update-fixes branch August 17, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants