Skip to content

Feature: Manage community pool UI #280

@L03TJ3

Description

@L03TJ3

We have a flow for users to create their own UBIPools.
what is missing is a manage/admin area for pool-manangers to update pool settings.

Any design shared below are to be used as reference only (low-fidelity/wireframe or just plain examples)
Please read carefully the description per sections. the description is leading, not the design-reference.

when implementing the screens and related components, stay in line with the existing design system/colors.
Re-use components when appropriate.
you can also reference the figma of 'create-a-ubi-pool' flow

User Flow

Pre-requisite: A wallet with the Manager Role of a pool connects to goodcollective

  1. On the homepage, add a new section 'My GoodCollective Pools'.
    Below the impact stats/buttons, but above the 'explore goodcollective pools', any pools a connected wallet is a manager or member of should be highlighted.

See how gardens highlights community pools as reference:
Image

  1. On a collective page, add a new 'Manage' button below 'Donate' and 'See all donors'.
    The button should only show for a connected wallet who is a manager of the pool.
Image

3. Add the 'Manage pool' flow. Following design of the create-a-pool flow.

The page should have:

  • Two tabs 'Pool Settings/Member management'
Image

Admin Settings:

  • Pool Info/Metadata (PoolAttributes) Reference: <goodcollective.ts script>

  • Grouped together all pool data that is uploaded to ipfs, like description/pool-name/social links

  • Pool Settings (UBIPoolSettings)

  • Should be able to update membersValidator/Manager

  • Should not (yet) be able to update uniquenessValidor or reward Token (hardcode these settings, see CreatePoolContext.tsx

Image
  • Distribution Settings (UBISettings / ExtendedSettings)
  • Duplicate the available payout/claim-frequency settings from the create flow
  • You can reference CreatePoolContext.tsx for the seperation between ubi-settings and extended-settings. (both are updated through setUBISettings)
  • Re-use calculator from the create flow to show manager estimated funding
Image

Member Management:

  • Add New member section (support both single and comma-delimited list of addresses)
    -- Should validate if addresses are unique and are evm-addresses
  • Members list with button to delete (revokeRole) the members.
Image

Metadata

Metadata

Assignees

Projects

Status

Deploy and Verify

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions