Skip to content

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

Merged
thegrims merged 1 commit intoustaxes:masterfrom
zakpatterson:refactor-fs-simplify
Oct 20, 2021
Merged

Refactor save-to-file to be more generic#658
thegrims merged 1 commit intoustaxes:masterfrom
zakpatterson:refactor-fs-simplify

Conversation

@zakpatterson
Copy link
Copy Markdown
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
Copy Markdown
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