-
Notifications
You must be signed in to change notification settings - Fork 295
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
[DDW-304]: Implement logarithmic stake slider #2162
[DDW-304]: Implement logarithmic stake slider #2162
Conversation
The numbers on the slider are 7, 20, 55, 148 , 403, 1097, 2981..ect. Is there a reason it starts at 7 and not 10 ? If started at 10 the increments can be even numbers which would look a lot tidier. Also it would make more sense as minimum amount to delegate is 10ADA |
@yakovkaravelov I intend to delegate 40,000 ADA but I could only choose either 22,026 or 59,874. My concern is the message "Use the slider to rank the stake pools based on the amount you intend to delegate" is not 100% correct because I am not able to choose 40,000 using the slider. From user point of view, either the slider needs to be fixed so user is able to choose the specific amount that he wants or the message needs to be altered to explain to the user that he could select an approximation which not necessarily be close to his intended amount. |
This needs some quotes from @nikolaglumac and @darko-mijic |
@gnpf @mioriohk @ManusMcCole NOTE: You can't select other values than slider configured values. |
@ManusMcCole @gnpf please test this one again 🙏 @darko-mijic I would like to hear your opinion too! |
@ManusMcCole Those values were what I got from @nikolaglumac and @darko-mijic |
@yakovkaravelov Is there a way to round up some of the small numbers of the sequence? 55, 148, 403 look out of place to me. |
@gnpf |
Hi @nikolaglumac. How do you feel about the numbers 55, 148, 403 that @gnpf Gabriela mentioned above ? |
I see Coingecko says circulating supply is 31billion.If this is the correct figure should somebody email coinmarketcap and tell them to change it ? |
@ManusMcCole that one should be signed off by @darko-mijic |
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.
@yakovkaravelov can we please make the slider more fluid?
We should also show the values from the "Select a wallet" dropdown "as-is" and not rounded...
@nikolaglumac Fixed things. Please review again. Thanks. |
Hi @yakovkaravelov. Sorry ignore my previous comment I was on the wrong build |
@ManusMcCole slider works great now! |
Yeah looks really good now @nikolaglumac . Good work @yakovkaravelov 👍 |
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.
Good job 🎉
@yakovkaravelov all issues fixed in 6f72ee4 |
@gnpf @ManusMcCole @yakovkaravelov shouldn't the default slider value be set to "all wallets"? |
@nikolaglumac Default value was set by Darko. |
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.
Excellent work @yakovkaravelov 🎉
This PR implemented logarithmic stake slider.
Jira Ticket
Todos
Testing Checklist
App
Staking
=>Stake Pools
and make sure stake pools ranking slider is logarithmicReview Checklist
Basics
feature
/bug
/chore
,release-x.x.x
)yarn test
)yarn dev
)yarn package
/ CI builds)yarn flow:test
)yarn lint
)yarn prettier:check
)yarn manage:translations
produces no changes)yarn storybook
)yarn.lock
file is updatedCode Quality
Testing
After Review
done
column on the YouTrack board