-
Notifications
You must be signed in to change notification settings - Fork 296
Cw 888 MVP - do not merge - draft PR #2793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
karlbuys
wants to merge
17
commits into
main
Choose a base branch
from
cw-888-first-draft-transactions-only
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+1,678
−11
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creates a slightly different widget called export_options_widget.dart, designed to allow for cross-platform invocation of relevant export functions depending on platform
This is a first draft generic transaction data formatter. This isn't complete, it's still lacking swap data. It should hopefully work across different currencies though. Not meant for testing
This commit makes massive changes and refactoring to bring the visual presentation and options in line with what has been discussed. This should strictly be considered a first draft. There is so much I still want to clean up, and as yet, I've only tested this commit on Android, as I don't have the other environments set up at present. To confirm Android, I used adb shell to browse to the Downloads folder and confirmed that the files were indeed there. I've also verified that everything is formatted correctly, that timestamp formats match as well. Unfortunately, there are some changes I'll need to go make to address problems with data populating as "N/A" for other coins, but I don't foresee that taking long. Lastly, now that it works, as much logic as possible should be pulled out of dashboard_view_model.dart. I need to review what gets injected into the header_row widget properly and address this as necessary. Then clean it all up.
This commit concludes the refactoring I wished to do. I have tested the code on Android. Please focus on testing this functionality on a wide range of different wallet types. I have confirmed that the functionality for Android works as expected for Monero. To perform an export, you will see a new button on the history page next to the "Filter by" button. This button has a floppy disk icon. Please note that the expected output you should see is a unified file. First, you'll see an export of all your transactions in CSV format. After that, underneath the transactions, you'll see a new heading listing swap details, followed by all swaps performed in that wallet. The export is specific to the active wallet you have open, and only exports that wallet's information.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Number: MVP for #CW-888 (This should only be considered a draft, NOT a candidate for inclusion in main)
Description
The final commit makes massive changes and refactoring to bring the visual presentation and options in line with what has been discussed.
This should strictly be considered a first draft. There is so much I still want to clean up, and as yet, I've only tested this commit on Android, as I don't have the other environments set up at present.
To confirm Android, I used adb shell to browse to the Downloads folder and confirmed that the files were indeed there.
I've also verified that everything is formatted correctly, that timestamp formats match as well.
Unfortunately, there are some changes I'll need to go make to address problems with data populating as "N/A" for other coins, but I don't foresee that taking long.
Lastly, now that it works, as much logic as possible should be pulled out of dashboard_view_model.dart. I need to review what gets injected into the header_row widget properly and address this as necessary. Then clean it all up.
Pull Request - Checklist