Skip to content
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

Offer progress indicator during tax report generation #222

Closed
LefterisJP opened this issue Dec 2, 2018 · 0 comments
Closed

Offer progress indicator during tax report generation #222

LefterisJP opened this issue Dec 2, 2018 · 0 comments

Comments

@LefterisJP
Copy link
Member

Problem Definition

During the tax report generation, depending on the timerange, the number of taxable events in that period and the presence of price caches, it may take a long time for the tax report to be complete.

At the moment the only way to kind of watch the progress is to tail the log: tail -f rotkehlchen.log.

This can be improved on and we can provide a progress report to the user.

Task

Provide periodic update to the user via the UI on the progress. This can be achieved through the periodic_query_data() function which is already querying the backend every N seconds.

A specific key can be added to the returned dictionary for when a tax report is underway. As the tax report is generated we can be updating a specific attribute of the Accountant class with the current timestamp and at every periodic query return the last processed timestamp.

LefterisJP added a commit to LefterisJP/rotkehlchen that referenced this issue Jan 12, 2019
@LefterisJP LefterisJP changed the title Offer progress bar during tax report generation Offer progress indicator during tax report generation Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant