Skip to content

feat(disburse-maturity): Disburse maturity modal #6911

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

Merged
merged 19 commits into from
Jun 4, 2025

Conversation

mstrasinskis
Copy link
Contributor

@mstrasinskis mstrasinskis commented Jun 2, 2025

Motivation

To simplify the process of claiming matured rewards and avoid the extra steps of creating and disbursing a new neuron, the disburse maturity feature is introduced for NNS neurons (this approach is already used for SNS neurons).

This PR adds the "Disburse" modal to the neuron page.

Out of scope

  • disbursing to sub-account
  • disbursing to external addresses.

Jira

Changes

  • New NnsDisburseMaturityModal component that heavily reuses DisburseMaturityModal component.
  • Display disburse maturity modal on page.

Tests

  • Added.
  • Verified manually that a user can disburse maturity to the main account.
disburse-maturity.mp4

Todos

  • Add entry to changelog (if necessary).
    Not yet

@mstrasinskis mstrasinskis changed the title Disburse maturity/disburse modal feat(disburse-maturity): Disburse maturity modal Jun 2, 2025
@mstrasinskis mstrasinskis marked this pull request as ready for review June 2, 2025 08:42
@mstrasinskis mstrasinskis requested a review from a team as a code owner June 2, 2025 08:42
commit 4efbb58
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:16:23 2025 +0200

    Apply new consts

commit 39e5e5e
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:14:56 2025 +0200

    New constants MIN_DISBURSEMENT_WITH_VARIANCE
commit eb43670
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:30:36 2025 +0200

    Fix ICP constant

commit 08815a5
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:25:18 2025 +0200

    Revert "Cleanup"

    This reverts commit ea18ead.

commit ea18ead
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:22:43 2025 +0200

    Cleanup

commit 4efbb58
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:16:23 2025 +0200

    Apply new consts

commit 39e5e5e
Author: Max Strasinsky <[email protected]>
Date:   Mon Jun 2 13:14:56 2025 +0200

    New constants MIN_DISBURSEMENT_WITH_VARIANCE
@mstrasinskis mstrasinskis requested a review from yhabib June 2, 2025 11:42
Base automatically changed from disburse-maturity/display-disburse-button to main June 2, 2025 16:56
@mstrasinskis mstrasinskis added this pull request to the merge queue Jun 4, 2025
Merged via the queue into main with commit 14bd0a6 Jun 4, 2025
45 of 47 checks passed
@mstrasinskis mstrasinskis deleted the disburse-maturity/disburse-modal branch June 4, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants