hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 44 forks source link

Implement Pricing logic in Token Cards and Filters in the Explore Page #9694

Open mzparacha opened 3 days ago

mzparacha commented 3 days ago

Description

Context: As part of https://github.com/hicommonwealth/commonwealth/issues/8803, we added a tokens list to the explore page and as part of https://github.com/hicommonwealth/commonwealth/issues/8801, we added new filters in the explore page to filter assets

The token list renders placeholder data for these pricing values for each token

And the new filters for these pricing options ATM do nothing.

This ticket's purpose is to implement logic to render correct pricing data for each token in the list and update the filters for pricing to work correctly with the new logic

Behavioral Consideration:

Project Owner

No response

Bucket ID

No response

User Stories / Acceptance Criteria

Design Devlink

https://www.figma.com/design/1b9wbqv9YV2FlU2svFyf0I/IdeaCoin?node-id=815-39215&t=Bs73ODTMr1Of6lIs-0

Design Screenshot

Screenshot 2024-08-08 at 1 14 12 PM

Additional Context

N/A

mzparacha commented 21 hours ago

Updated: Added some more pricing TODOs from https://github.com/hicommonwealth/commonwealth/issues/8801. To implement these pricing data, we need to store it on the API side.