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

feat(frontend): add sol token menu #4153

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

loki344
Copy link
Collaborator

@loki344 loki344 commented Jan 9, 2025

Note

first: #4149

Motivation

Implement Sol Token menu with link to explorer.

Tests

Unit tests provided. Additionally:

image

testCases.forEach(({ token, explorerUrl, network, store, description }) => {
it(`external link forwards to correct ${description} explorer`, async () => {
tokenStore.set(token);
erc20UserTokensStore.reset(token.id);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is it correct, that the TokenMenu is disabled for ALL implementations if this store is not initialized?

disabled={$erc20UserTokensNotInitialized}

@loki344 loki344 marked this pull request as ready for review January 9, 2025 10:14
@loki344 loki344 requested a review from a team as a code owner January 9, 2025 10:14
…l-token-menu

# Conflicts:
#	src/frontend/src/lib/constants/test-ids.constants.ts
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.

1 participant