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

fix: #657: stop truncating metadata symbols #1444

Merged
merged 8 commits into from
Jul 9, 2024

Conversation

VanishMax
Copy link
Contributor

Closes #657

Removed metadata symbol trimming from wasm and added max-width to the ValueComponent with the native tooltip, so users can always access the asset symbol.

image

@VanishMax VanishMax requested a review from a team July 8, 2024 14:14
@VanishMax VanishMax self-assigned this Jul 8, 2024
@Valentine1898
Copy link
Contributor

This affects some other ui components
image

It is also necessary to bump indexed-db version, otherwise metadata that is already stored in the DB will not be updated

@VanishMax
Copy link
Contributor Author

@Valentine1898 thanks for noting the issues. Fixed multiple places with incorrect truncation + improved the Dialog component for mobile screens

Copy link
Contributor

@Valentine1898 Valentine1898 left a comment

Choose a reason for hiding this comment

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

LGTM

export const IDB_VERSION = 44;
export const IDB_VERSION = 45;
Copy link
Contributor

Choose a reason for hiding this comment

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

To clarify, this will cause mainnet users must sync again after updating the extension in chrome store. Should we already consider indexed-db migrations without data loss?

Copy link
Contributor

Choose a reason for hiding this comment

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

Think we are ok for now, syncing is very fast with the low block height at the moment

@VanishMax VanishMax merged commit cbc2419 into main Jul 9, 2024
6 checks passed
@VanishMax VanishMax deleted the fix/#657-dont-truncate-in-wasm branch July 9, 2024 11:29
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.

Use style for truncation insted of string manipulation
3 participants