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

bring back json export buttons #1167

Open
ollibowers opened this issue Jul 30, 2024 · 0 comments
Open

bring back json export buttons #1167

ollibowers opened this issue Jul 30, 2024 · 0 comments
Assignees
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

Comments

@ollibowers
Copy link
Collaborator

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.

@ollibowers ollibowers added 🫣 331 🤫 Is only in scope within the current 331 branch 📝 feature 🧠 New feature or request 👤 closed for help 👥 Closed to external help, team only labels Jul 30, 2024
@ollibowers ollibowers assigned lhvy and unassigned Salina-H Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants