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: name activation price label in dashboard #356

Merged
merged 3 commits into from
Jun 29, 2023

Conversation

lukeromanowicz
Copy link
Contributor

Description

Resolves #328

Demo

image

Checklist:

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

? formatAettosToAe(chainName.last_bid.tx.name_fee)
: formatAettosToAe(chainName.info.claims[chainName.info.claims.length - 1].tx.name_fee),
isAuction: isAuction(chainName.name),
price: formatAettosToAe(chainName.info.claims[chainName.info.claims.length - 1].tx.name_fee),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apparently there was some change in the mdw since we implemented this code and this code can be used to get the price for both auctioned name and a direct buy

Copy link
Collaborator

Choose a reason for hiding this comment

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

@github-actions
Copy link

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

@marc0olo
Copy link
Contributor

@lukeromanowicz I think "Auction" is sufficient as label

@lukeromanowicz
Copy link
Contributor Author

@marc0olo roger that, adjusted 👍

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.

Nice change, I like 👍
Please check my suggestion

? formatAettosToAe(chainName.last_bid.tx.name_fee)
: formatAettosToAe(chainName.info.claims[chainName.info.claims.length - 1].tx.name_fee),
isAuction: isAuction(chainName.name),
price: formatAettosToAe(chainName.info.claims[chainName.info.claims.length - 1].tx.name_fee),
Copy link
Collaborator

Choose a reason for hiding this comment

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

@lukeromanowicz
Copy link
Contributor Author

@janmichek love it, thank you! I haven't seen that before

@janmichek
Copy link
Collaborator

@janmichek love it, thank you! I haven't seen that before

Cool, yea its a new thing

@michele-franchi
Copy link
Collaborator

Are PR preview links broken?

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 🚀

@lukeromanowicz lukeromanowicz merged commit 82b35e1 into develop Jun 29, 2023
1 of 2 checks passed
@lukeromanowicz lukeromanowicz deleted the fix/name-activation-price-label branch June 29, 2023 09:44
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.

Dashboard: wrong label in activated AENS names
4 participants