-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show stake in USD on NNS neuron details (#6039)
# Motivation Want to show the stake in USD on the neuron details page similar to how we show the account balance on the wallet page. This PR does it for NNS neurons. Another PR will do SNS neurons. And a third PR will make sure token prices are loaded when the neuron page is deep linked. # Changes 1. Use `HeadingSubtitleWithUsdValue` which was extracted in #6037 in `NnsNeuronPageHeading`. Some of the slot content is temporarily duplicate between with and without feature flag. # Tests 1. Unit tests added. 2. Manually at https://qsgjb-riaaa-aaaaa-aaaga-cai.dskloet-ingress.devenv.dfinity.network/neuron/?u=qsgjb-riaaa-aaaaa-aaaga-cai&neuron=7894867686608507388 # Todos - [ ] Add entry to changelog (if necessary). not yet
- Loading branch information
Showing
3 changed files
with
86 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters