threefoldtecharchive / tfgrid_dashboard

unified portal + explorer
1 stars 3 forks source link

Dashboard shows the total balance but labeled it as free which is misleading #526

Closed sameh-farouk closed 1 year ago

sameh-farouk commented 1 year ago

Description

My workload contract went on a grace period while my account shows that I have free 100+ TFT. we discover that all of them were locked.

The dashboard show the total balance but labeled it as free which is misleading. free (transferable) should be the total - locked.

So to enhance this experience for the end user I suggest displaying the transferable amount instead of the total, so the user can fund his account when this value got lower.

Steps to reproduce

NA

Logs/Alerts

Our dashboard Screenshot from 2023-02-22 13-50-43

Polkadot dashboard Screenshot from 2023-02-22 14-02-50

A-Harby commented 1 year ago

Rounding up decimals to nearest value isn't a good thing when dealing with TFT since most of transaction (contracts, rents) are done in decimals. image

Mahmoud-Emad commented 1 year ago

@A-Harby Indeed, I'll return it back.

Mahmoud-Emad commented 1 year ago

@A-Harby Should be removed in https://github.com/threefoldtech/tfgrid_dashboard/pull/615

mohamedamer453 commented 1 year ago

Verified on devnet.

A more detailed view was added in the Balance Summary when you click on your balance. now it shows three different fields the Total which is also displayed in the balance field before expanding the balance summary. Transferable The amount of tft that are not locked right now and can be used/transferred. Reserved(Locked) the amount of tfts locked/used by your contracts/deployments.

image

@A-Harby Should be removed in #615

and the balance was un-rounded.