-
Notifications
You must be signed in to change notification settings - Fork 42
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
Disburse maturity destination input #3284
Conversation
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.
Shouldn't we default to the Main account?
And allow selection of user accounts with a dropdown?
The same way we have for all destinations.
We have a component for it: SelectDestinationAddress.svelte
@@ -0,0 +1,92 @@ | |||
<script lang="ts"> |
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.
A component just to isolate the inputs logic
} | ||
|
||
.destination-key { | ||
white-space: nowrap; |
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.
A request to not break "To address:" line.
} | ||
|
||
.destination-value { | ||
text-align: right; |
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.
The value according to design needs to be right aligned. It feels that KeyValue component needs a review w/ designer.
b0b85bf
to
900a72e
Compare
# Motivation Improving the disburse maturity flow. This PR is one of the few I'll do to split #3284 into smaller PRs. In this PR, we add the amount of maturity in the component where a percentage of maturity is selected. # Changes * New sns neuron util `maturityPercentageToE8s`. * Use new sns neuron util in NeuronSelectPercantage to show the amount of maturity related to the percentage. # Tests * Test new util. * Test that the amount of maturity is visible in the DisburseMaturityModal. # Todos - [x] Add entry to changelog (if necessary).
Obsolete. |
Motivation
Add destination address support (any icrc address) to disburse maturity modal and minor design/copy changes.
Changes
toAccount
field to disburseMaturity serviceNeuronSelectMaturityDisbursement
component to combine maturity disbursement configurationTests
Todos
Not necessary.
Screenshots