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

Streams balance in Userhub #3016

Open
arrenv opened this issue Aug 27, 2024 · 1 comment · May be fixed by #3018
Open

Streams balance in Userhub #3016

arrenv opened this issue Aug 27, 2024 · 1 comment · May be fixed by #3018
Assignees
Labels
enhancement New feature or request Pagepro Issues handled by the Pagepro team

Comments

@arrenv
Copy link
Member

arrenv commented Aug 27, 2024

Teamwork task: Streams balance in Userhub

Specification

Story

  • As a USER, I want to be able to easily see my currently owed streaming funds in the Userhub.
  • As a USER, I want to be able to claim all owed streaming funds in the current colony from the Userhub.

Description

The purpose of the the Streams tab is to provide users with a quick and easy way to see and claim streaming funds they are owed in the current colony. This includes an update the Userhub, moving reputation from the bottom of the Balances tab to it's own dedicated tab and replacing it with a user's streaming balances and claim button.

Design

Figma link - Streaming balances

image

Acceptance Criteria

  • General

    • Should be in alignment with desktop/tablet/mobile design from Designs.
    • Should use existing components and styles where possible for consistency.
    • Should use skeleton loaders.
  • User’s Streams overview

    • Shows a user an overview of their streams, including total claimed all time and total available to claim.
    • “View streams” button
      • Should navigate to the Streaming page.
      • Should not be visible if there is no Streaming page, based on the logic of the streaming page.
    • Total claimed
      • Should be in the user’s nominated currency.
      • If there is no value, then there should be a fallback to the colony’s native token.
    • Available to claim
      • Should be in the user’s nominated currency.
      • Should show up to 5 decimal places.
      • Should animate with the value increasing every second based on the combined rate of all streams.
      • If there is no value, then there should be a fallback to the colony’s native token.
    • “Claim all streams” button (NOTE: This was originally discussed to be added at a later day, but it would be good if this could be reviewed again for feasibility as a grouped transaction in the meantime)
      • Active when there is at least one stream with claimable funds. Otherwise, it is in a disabled state, with a tooltip.
        • Tooltip copy: “No available funds to claim”.
      • Will trigger the collective claim of all streams that have funds available to claim in one transaction.
      • If a team funds are being claimed from does not have enough funds to cover the claim, then there should be a validation message that appears.
      • On claiming, the total claimed and available to claim values should be updated to reflect the new claim. i.e. the Total should increase, and the available to claim should reset, accounting for any unclaimable team funds, which could mean not fully resetting.
  • Loading

    • Use skeleton loader for fields.
  • Empty state

    • Empty state should be as of design.
      • With 0 values and CLNY as the token.
      • With the empty state for the list.
  • Additional:

@arrenv arrenv added enhancement New feature or request Pagepro Issues handled by the Pagepro team labels Aug 27, 2024
@JoinColony JoinColony deleted a comment Aug 27, 2024
@AdrianDudko AdrianDudko linked a pull request Aug 28, 2024 that will close this issue
@joanna-pagepro joanna-pagepro linked a pull request Sep 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pagepro Issues handled by the Pagepro team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@arrenv @joanna-pagepro and others