GoodDollar / GoodCollective

Monorepo for GoodCollective (Segmented UBI and Direct Payments Pool)
MIT License
3 stars 1 forks source link

Update the UI to include a list of Stewards for each collective #46

Closed benefacto closed 7 months ago

benefacto commented 9 months ago

Business Description

The focus of this enhancement is to provide users with detailed, up-to-date information about Stewards associated with specific collectives. This feature aims to foster a deeper understanding and engagement among users regarding the stewardship and contributions within each collective.

image

Key Features and Benefits

  1. Comprehensive Steward Information: Users will be able to view a list of Stewards for each collective, including essential details like their names and NFT icons. This provides a more complete picture of the individuals contributing to each collective.

  2. Interactive and Expandable List: The feature will display a list of Stewards that is expandable, allowing users to see the full list if there are more than five Stewards. This expandability ensures that users can access comprehensive information without overwhelming the initial view.

  3. Direct Access to Steward Profiles: Each Steward's name will be clickable, leading users directly to their individual profiles. This direct link enhances user interaction and allows for deeper exploration of each Steward’s contributions and involvement.

  4. Dynamic and Real-Time Data: The information displayed will be dynamic, reflecting the latest updates from the subgraph. This ensures that users are viewing the most current information about Stewards and their association with the collectives.

  5. Visual Representation with NFT Icons: Utilizing NFT icons to represent Stewards adds a visual and personalized element to the information, making it more engaging and relatable for users.

  6. Seamless Integration and Design Consideration: The design of this feature will align with the overall aesthetic of the platform, ensuring a cohesive and enhanced user experience.

Technical Implementation

Estimate

  1. Requirements Clarification and Initial Setup (4-6 hours): Resolve ambiguities with where a single profile picture and name can be obtained from, given that stewards can have zero to many NFTs.

  2. Implementation (16-24 hours):

    • Extracting and displaying the list of Stewards: Requires querying the data (using the provided example queries), handling the data appropriately, and implementing the logic for expandability.
    • Making each steward's name clickable and linking to their profiles.
    • Ensuring dynamic data update from the subgraph.
    • Incorporating NFT icons, including the logic to handle default placeholders if the NFT image is unavailable.
  3. Integration and Testing (8-12 hours): Integrating the new feature into the existing system, ensuring seamless operation, and conducting basic functional testing. This step includes handling any edge cases, such as handling more than five Stewards, and ensuring responsiveness on different devices.

  4. Review and Refinement (4-6 hours): Addressing any feedback and making necessary refinements.

Given these steps, the total estimated time could range from approximately 34-48 hours. This estimate assumes developer working efficiently and does not encounter significant obstacles. It's essential to note that actual time may vary based on the developer's expertise, the complexity of the task, and any unforeseen challenges that arise during development. Additionally, collaboration with other team members, might affect the timeline.

sirpy commented 9 months ago

The nft usage here seems incorrect. a steward can be part of multiple NFTs in a collective. nfts are minted when stewards do actions.

decentralauren commented 9 months ago

Hi @benefacto!

krisbitney commented 8 months ago

This is mostly implemented except for a bug on the desktop version

decentralauren commented 8 months ago

Thanks @krisbitney - @vldkhh moving into QA so you can test :)

krisbitney commented 8 months ago

Thanks @krisbitney - @vldkhh moving into QA so you can test :)

Sorry, to clarify, the update has not yet been merged

vldkhh commented 7 months ago

verified