-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Activity-chart-outliers #6138
Activity-chart-outliers #6138
Conversation
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
AI-Generated Summary: This pull request consists of two patches:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on https://deploy-preview-6138--koda-canary.netlify.app/stmn/collection/2022/activity
Doesn't load for me compared to beta
hi @roiLeo
this collection is very big and the issue goes back to these: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @roiLeo I've created this PR:
* [Test/activity-chart-outliers #6146](https://github.com/kodadot/nft-gallery/pull/6146) to illustrate a point, in that PR there are no code diff compare to main yet that collection doesn't load https://deploy-preview-6146--koda-canary.netlify.app/stmn/collection/2022/activity
Alright noted! personally I would have hidden this feature (Activity Tab) for the time being until fixed #5540 (comment)
About the outliers, they are still present when i open this deployed version: |
the issue was about collection activity chart the chart you've mentioned is a single NFT chart and was not touched in this PR as to the specific example you've presented, not sure why you are saying there are outliers, the graph looks well behaved and easy to read to me |
@daiagi I apologize, the whole time i was reading outlines instead of outliners and i did not knew this collection activity page existed, will verify this PR properly today, only did a quick check yesterday and assumed it wasn't working. |
so, most charts are looking better than before indeed, not sure if its the best final solution tho, what do you think @yangwao ? |
let's let it roll it looks better now and the data is easier to read then it was before, so let's continue |
@Jarsen136 review please? |
Code Climate has analyzed commit 6ac499b and detected 0 issues on this pull request. View more on Code Climate. |
pay 35 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
Did your issue had any of the "$" label on it?
$
Copilot Summary
🤖 Generated by Copilot at 87c592d
Improved the collection activity price chart by filtering out outlier data points using a new
removeOutliers
function. Addedmedian
andmedianAbsoluteDeviation
functions to@/utils/math
for general math utilities.🤖 Generated by Copilot at 87c592d
Screenshots
Before
After