-
Notifications
You must be signed in to change notification settings - Fork 972
Small adjustments to Payment History modal and CSV files #4332
Comments
Will you have to modify WebContents#downloadURL in brave/electron's |
@willy-b that's one way to do it; the other is to send the transaction info to the front-end so you can just use an |
Nice. The transaction info is even already present in front-end, so only the transaction->CSV logic needs to be made accessible to We could either expose the CSV methods as "static" functions in ledger-client so that Independently of this issue, it would be nice for WebContents#downloadURL to have the option to specify a filename. |
@willy-b feel free to start on this issue; i think moving the CSV logic to preferences.js or to a |
@diracdeltas, I opened a WIP PR (#4346) switching to an I did move the CSV export stuff out, but to (If that seems awkward to you, etc, we can just move |
will not be in 0.12.3rc3 |
what about the edge case of multiple transactions on the same day (as seen in the screenshot)? should there be a differentiator for the file name? otherwise the user is likely to overwrite their own file on export. |
that is possible for developers and others who want to mess with |
@alexwykoff, @mrose17 that makes sense. |
Items to improve:
1 - in "Your Payment History", each link points to "download.csv regardless of the link name in the list ...The save-as file name should match the link name in the list.
2 - CSV file should be sorted by the "Publisher" value
3 - a final record should be present called "TOTAL" which sums the values in each column
Assigned to @diracdeltas - as the implementor of #3477
cc: @bradleyrichter
The text was updated successfully, but these errors were encountered: