Skip to content
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

[TASK] Create stashes/nomination list in tangle-app staking page #1680

Closed
1 task
Tracked by #1671
drewstone opened this issue Sep 25, 2023 · 3 comments
Closed
1 task
Tracked by #1671

[TASK] Create stashes/nomination list in tangle-app staking page #1680

drewstone opened this issue Sep 25, 2023 · 3 comments
Assignees

Comments

@drewstone
Copy link
Contributor

drewstone commented Sep 25, 2023

Overview

This should be done before #1679.

The page for listing your nomination should be separate from the validator list page. It is shown below. It can be titled "Accounts" as it is done in the Apps UI

Image

Tasks

  • Create the page as a separate item in the sidebar nav.
@drewstone drewstone converted this from a draft issue Sep 25, 2023
@monaiuu monaiuu self-assigned this Oct 11, 2023
@monaiuu
Copy link
Contributor

monaiuu commented Oct 11, 2023

Handoff

Implement 'Delegation Table' to provide users with an overview of their staking activities and to manage their delegations. This table will display key information about the user's delegated funds, their rewards, and the validators they've chosen, with various action options that should be addressed in this issue.

Requirements

Empty States:

  • Empty State: 'Wallet Not Connected': prompt user to connect wallet via CTA.
  • Empty State: 'No delegation': when the user hasn't delegated any tokens; prompt user to start delegating via CTA.

Delegations Table

  • Validator: Display the address or identity info of the validator the user has delegated to.
  • Status: Show the current status of the delegation:
    • Active: The delegated amount is currently staked and potentially earning rewards.
    • Waiting: The delegated amount is in the waiting queue and is not yet staked.
  • Amount Delegated/Staked: Display the exact amount of tokens the user has currently delegated to the validator.
  • Pending Rewards: Indicate any unclaimed rewards that the user can claim from their staking. This should update in real-time.
  • Auto-Compound Percentage: Show the percentage at which rewards are being automatically compounded. The user should be able to adjust this value if needed.
  • Actions: (specific flows addressed here)
    • Add Stake: Allow users to add more tokens to their existing stake. This should open a modal where they specify the amount and confirm the action.
    • Unbond Funds: Provide an option for users to start the unbonding process for a portion or all of their staked tokens.; with waiting period associated.
    • Remove Stake: Allow users to remove their stake from a validator.
    • Change Reward Destination: Let users specify a different address where their staking rewards should be sent.
    • Update Validator: If users wish to change their validator preference, provide an option to do so. Involves choosing a new validator and moving their stake.

Figma Link

Screenshot

Screenshot 2023-10-11 at 3 17 35 PM Screenshot 2023-10-11 at 3 02 05 PM

Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale ⏳ Marks inactive issues/PRs due to prolonged inactivity, signaling attention or cleanup. label Dec 12, 2023
@AtelyPham AtelyPham removed the stale ⏳ Marks inactive issues/PRs due to prolonged inactivity, signaling attention or cleanup. label Dec 13, 2023
@devpavan04
Copy link
Member

Implemented nomination list table in #1863.

@github-project-automation github-project-automation bot moved this from Planning 🗺️ to Completed ✅ in Webb Universe Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants