This was added in #237, but it turns out there was already import/export code available in the client. You have to create or edit a deck before the UI appears. It also uses a different format (base64-encoded CSV instead of JSON), and only operates on one deck at a time. However, since that is the existing mechanism, many third-party sites provide this format of deck codes. Let's remove the extraneous version added recently, and standardize on the existing version.
App changes (app/, etc.):
Removes extraneous import/export UI and handlers
Server changes (config/, server/, worker/, etc.):
Removes extraneous import/export routes and helpers
Testing
Have you have tested your changes in the following scenarios?
Feel free to check off scenarios which don't apply.
[x] Starting backend services locally with docker compose up succeeds.
[x] I am able to create a new user and log in locally.
[x] I am able to complete a practice game locally.
[x] I am able to complete a purchase of Orbs, etc.
Summary
This was added in #237, but it turns out there was already import/export code available in the client. You have to create or edit a deck before the UI appears. It also uses a different format (base64-encoded CSV instead of JSON), and only operates on one deck at a time. However, since that is the existing mechanism, many third-party sites provide this format of deck codes. Let's remove the extraneous version added recently, and standardize on the existing version.
App changes (
app/
, etc.):Server changes (
config/
,server/
,worker/
, etc.):Testing
Have you have tested your changes in the following scenarios? Feel free to check off scenarios which don't apply.
docker compose up
succeeds.