hicommonwealth / commonwealth

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

Stake modal: change price per unit to subtotal #6983

Open HIM92 opened 8 months ago

HIM92 commented 8 months ago

Description

Context: On the stake purchase modal, beneath the input box there is a price per unit section. This is inaccurate right now because it provides the subtotal of all the stake being purchased rather than the average cost of all the units.

Goal: fix this so the price per unit is accurately displayed. The formula should be (total cost - fees)/ number of stake being purchased

User story: As a user buying stake, I want to see the total cost, fees, and price per unit of stake that I am buying in my given transaction.

Screenshot 2024-03-05 at 11 07 33 AM

Project Owner

Engineering Requirements

Acceptance Criteria

Additional context

ForestMars commented 7 months ago

Design, how important is this fix? It's currently targeted for much later in the quarter, but if it's something crucial we can likely jump it in the queue @jabell88, Jessica