View Issue Details

IDProjectCategoryView StatusLast Update
0007306Talerwallet (TS core)public2022-09-05 16:27
Reportergrote Assigned Togrote  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status feedbackResolutionopen 
Summary0007306: Add number of decimal places to transaction list response
DescriptionCould be added here to `TransactionsResponse`: https://docs.taler.net/taler-wallet.html#transactions

Maybe there's other places to add this to as well?
TagsNo tags attached.

Activities

Florian Dold

2022-09-05 13:59

manager   ~0019087

I'm not sure if the transaction list is the right place to put this information. The information is per-currency, so it might make sense to have some general "getCurrencyInfo" request to wallet-core that the UI requests at startup. Would that help?

But additionally, do we ever *not* want to show all digits of an amount? It is already limited by the maximum number of decimal places of the amount data type in Taler.

grote

2022-09-05 14:24

developer   ~0019089

Do you suggest to just always show the maximum number of decimal places? Would work for me.

Is this already part of the amount data type in the wallet API?

Florian Dold

2022-09-05 16:23

manager   ~0019091

Amounts in Taler are limited to 8 decimal places [1].

Do you think we need some info for the *minimum* number of decimal places to display? Something like "10.00 EUR"?

[1] https://docs.taler.net/core/api-common.html#amounts

grote

2022-09-05 16:27

developer   ~0019093

If we always want to show a minimum number of decimal places, then yeah I'd like to get that info from wallet core wherever I need it.

Issue History

Date Modified Username Field Change
2022-08-23 19:19 grote New Issue
2022-08-23 19:19 grote Status new => assigned
2022-08-23 19:19 grote Assigned To => Florian Dold
2022-08-25 21:37 Christian Grothoff Severity minor => feature
2022-09-05 13:59 Florian Dold Assigned To Florian Dold => grote
2022-09-05 13:59 Florian Dold Status assigned => feedback
2022-09-05 13:59 Florian Dold Note Added: 0019087
2022-09-05 14:24 grote Note Added: 0019089
2022-09-05 16:23 Florian Dold Note Added: 0019091
2022-09-05 16:27 grote Note Added: 0019093