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

Refactor save-to-file to be more generic #658

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

zakpatterson
Copy link
Collaborator

Change save to file to be more generic. Dispatch actions to load and save entire redux state. Uses a separate middleware reducer to handle special actions for saving and resetting state. This is part of the effort to replace #566.

This probably exists as a package already, but in its present state this could be easily exported as separate npm package.

I tried for a while to make reasonable tests for the save and upload buttons, but didn't make much progress. I'm suggesting we press forward merging this and then make an issue for testing it.

What kind of change does this PR introduce? (delete not applicable)

  • Refactor

@zakpatterson zakpatterson changed the title Refactor persist to be more generic Refactor save-to-file to be more generic Oct 19, 2021
Copy link
Collaborator

@thegrims thegrims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thegrims thegrims merged commit 2b00e54 into ustaxes:master Oct 20, 2021
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

Successfully merging this pull request may close these issues.

2 participants