Skip to content

bring back json export buttons #1167

Open
@ollibowers

Description

@ollibowers

On dev, there currently exists import and export as JSON buttons (also currently have export as PNG).
In 331, we got rid of them, but kept the code (for example, ImprotPlannerMenu.tsx still exists).

Bring back the json import and export functionality for 331. This can be just one button if you want, or two buttons like before. Feel free to use the existing code, HOWEVER, you will need to refactor it to utilise the user API routes (there is /user/data and /user/saveLocalStorage I believe). You may create new routes to achieve this too.

You do not need to use react query to do this, you can just use the API helpers directly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions