bring back json export buttons #1167
Labels
👤 closed for help 👥
Closed to external help, team only
📝 feature 🧠
New feature or request
🫣 331 🤫
Is only in scope within the current 331 branch
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.
The text was updated successfully, but these errors were encountered: