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

🔧 round 2 collection card number #7723

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

roiLeo
Copy link
Contributor

@roiLeo roiLeo commented Oct 18, 2023

⚠️ this will round number (2 after comma) on all chains

Screenshot 2023-10-18 at 09-25-26 KodaDot - NFT Market Explorer

@roiLeo roiLeo requested a review from a team as a code owner October 18, 2023 07:27
@roiLeo roiLeo requested review from preschian and Jarsen136 and removed request for a team October 18, 2023 07:27
@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for koda-canary ready!

Name Link
🔨 Latest commit b2d00df
🔍 Latest deploy log https://app.netlify.com/sites/koda-canary/deploys/652f88e010a61a0008213e65
😎 Deploy Preview https://deploy-preview-7723--koda-canary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@reviewpad
Copy link
Contributor

reviewpad bot commented Oct 18, 2023

AI-Generated Summary: This pull request updates the CollectionDetail.vue component in the 'collection' directory. The changes include a minor adjustment in two instances of the 'CommonTokenMoney' component, where round attribute is added with a value of 2. This adjustment is aimed at controlling the rounding-off of the 'collectionTradedVolumeNumber' and 'collectionHighestSalePrice' values to two decimal places.

@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Oct 18, 2023
@codeclimate
Copy link

codeclimate bot commented Oct 18, 2023

Code Climate has analyzed commit b2d00df and detected 0 issues on this pull request.

View more on Code Climate.

@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.9% 0.9% Duplication

@@ -27,13 +27,13 @@
<p class="detail-item__title has-text-grey">
{{ $t('collectionCard.volume') }}
</p>
<CommonTokenMoney :value="collectionTradedVolumeNumber" />
<CommonTokenMoney :round="2" :value="collectionTradedVolumeNumber" />
Copy link
Contributor

Choose a reason for hiding this comment

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

What if it's ksm token? It may need round 4.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

⚠️ this will round number (2 after comma) on all chains

I mean it's constraining to have a difference between chains every time

@exezbcz
Copy link
Member

exezbcz commented Oct 18, 2023

letsgo, next will be the usd change -> soon

@prury prury added the S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked label Oct 19, 2023
@yangwao yangwao merged commit 239e887 into kodadot:main Oct 20, 2023
14 checks passed
This was referenced Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-visual-ok-✅ S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked small Pull request is small waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

only 2 decimal places on items
5 participants