feat(export): Share a transaction export from the history screen - #215
Merged
Conversation
The PDF and Excel options in the transaction history opened the menu and did nothing. They now fetch the file from the server and hand it to the share sheet, carrying the wallet, category and date filters that are active on screen. Exporting is refused while signed out, or while transactions are still waiting to sync, because the server cannot see those records and the file would quietly leave them out.
austin047
approved these changes
Aug 6, 2026
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
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.
The PDF and Excel items in the transaction history were wired to empty handlers; tapping them closed the menu and did nothing. There is no file-generating package in the app, so this fetches the rendered file from the new export endpoints in trakli/webservice#310 and hands it to the share sheet.
Filters follow what is on screen. Export is refused while signed out or while transactions are still waiting to sync, matching how the reports screen already withholds server stats: the server cannot see unsynced records, so the file would quietly leave them out.
Depends on trakli/webservice#310 being deployed.