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

onboarding and registry #66

Merged
merged 9 commits into from
Jul 1, 2024
Merged

Conversation

Valentine1898
Copy link
Contributor

@Valentine1898 Valentine1898 commented Jun 26, 2024

Closes #35

  1. Price denominations settings will be inactive if the registry is not available
image
  1. Onboarding flow without registry (if registry is unavailable, the onboarding step with numeraires selection will be skipped)
Screen.Recording.2024-06-28.at.18.41.48.mov

closes #72

  1. fixEmptyGrpcEndpointAfterOnboarding() has been removed

  2. User can re-trigger onboarding at the stage they left off

Screen.Recording.2024-06-28.at.18.47.57.mov

@Valentine1898 Valentine1898 linked an issue Jun 26, 2024 that may be closed by this pull request
Copy link

changeset-bot bot commented Jun 26, 2024

⚠️ No Changeset found

Latest commit: 3e13d7a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Valentine1898 Valentine1898 force-pushed the 35-onboarding-and-registry-dependency branch from b17ab08 to e3df006 Compare June 28, 2024 14:47
@Valentine1898 Valentine1898 changed the title WIP: onboarding and registry onboarding and registry Jun 28, 2024
@Valentine1898 Valentine1898 marked this pull request as ready for review June 28, 2024 15:54
@Valentine1898 Valentine1898 requested review from grod220 and a team June 28, 2024 15:54
@@ -39,6 +41,7 @@ const links = [
title: 'Price denomination',
icon: <BarChartIcon className='size-5 text-muted-foreground' />,
href: PopupPath.SETTINGS_NUMERAIRES,
disabled: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can probably just exclude this property

url: frontend,
}));
let registeredFrontends: DisplayedFrontend[] = [];
try {
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't ever throw right? If that's the case, think we can exclude the try/catch.

const registryClient = new ChainRegistryClient();
const { rpcs } = registryClient.globals();
return rpcs.toSorted(randomSort);
try {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment as before. Globals will always be available. So don't think we need to wrap it in try/catch.

@grod220
Copy link
Contributor

grod220 commented Jul 1, 2024

Also, could you pull the latest registry version from NPM?

@Valentine1898
Copy link
Contributor Author

Also, could you pull the latest registry version from NPM?

Sure, but to do that you need to update the registry in the packages first
penumbra-zone/web#1380

@Valentine1898 Valentine1898 merged commit 141639e into main Jul 1, 2024
3 checks passed
@Valentine1898 Valentine1898 deleted the 35-onboarding-and-registry-dependency branch July 1, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants