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: account tokens #450

Merged
merged 6 commits into from
Aug 17, 2023
Merged

feat: account tokens #450

merged 6 commits into from
Aug 17, 2023

Conversation

lukeromanowicz
Copy link
Contributor

@lukeromanowicz lukeromanowicz commented Aug 16, 2023

Description

Resolves #62

Demo

2023-08-16.09-53-11.mp4

Checklist:

  • I have read and followed the Contributing Guide
  • My change does not require a change to the documentation.

@github-actions
Copy link

Deployed to https://pr-450-aescan.stg.aepps.com

@@ -40,7 +40,7 @@ export function formatAePrice(price, maxDigits = 8) {
decimals = decimals?.replace(/0+$/, '')

if (!decimals) {
return integers === '0' ? `~${integers} AE` : `${formatNumber(integers)} AE`
return integers === '0' && decimals !== '' ? `~${integers} AE` : `${formatNumber(integers)} AE`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Otherwise, 0 is rendered as ~0

Copy link
Collaborator

@michele-franchi michele-franchi left a comment

Choose a reason for hiding this comment

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

Good job, I left some suggestions.

src/components/AccountTokensTable.vue Outdated Show resolved Hide resolved
src/stores/accountDetails.js Show resolved Hide resolved
Copy link
Collaborator

@janmichek janmichek left a comment

Choose a reason for hiding this comment

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

Looks solid to me 🦾 Good job. Left just one label change for consistency

src/components/AccountTokensTable.vue Outdated Show resolved Hide resolved
Copy link
Collaborator

@michele-franchi michele-franchi left a comment

Choose a reason for hiding this comment

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

I found another issue, Smart Contract hash should be in the shorter version:
image

Could you adjust it? I'm approving in advance. Optimisation can be handled in a separate task.

@lukeromanowicz
Copy link
Contributor Author

@Liubov-crypto please take a look at this one at your convenience

Copy link
Collaborator

@Liubov-crypto Liubov-crypto left a comment

Choose a reason for hiding this comment

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

LGTM

@lukeromanowicz lukeromanowicz merged commit f5941dd into develop Aug 17, 2023
2 checks passed
@lukeromanowicz lukeromanowicz deleted the feat/account-tokens branch August 17, 2023 14:44
lukeromanowicz added a commit that referenced this pull request Aug 22, 2023
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.

Display tokens owned in the account detail
4 participants