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

Add json-api-client to this repo #186

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Add json-api-client to this repo #186

merged 1 commit into from
Jan 25, 2023

Conversation

eatyourgreens
Copy link
Contributor

Move the json-api-client code into lib/json-api-client and require it from there. Remove json-api-client as a dependency.

@eatyourgreens
Copy link
Contributor Author

If we merge this, we can deprecate https://github.com/zooniverse/json-api-client.

zooniverse/Panoptes-Front-End#6369 is a feature branch that's set up to test this version of the client.

@eatyourgreens eatyourgreens marked this pull request as ready for review January 20, 2023 20:53
@eatyourgreens eatyourgreens requested a review from a team January 20, 2023 20:54
@eatyourgreens eatyourgreens marked this pull request as draft January 21, 2023 09:51
@eatyourgreens
Copy link
Contributor Author

eatyourgreens commented Jan 21, 2023

The JSON-API client code here is from v7.0.2.

package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@mcbouslog mcbouslog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this at https://pr-6369.pfe-preview.zooniverse.org/ throughly. Signed in/out, made classifications, posted/edited to Talk, created a project, edited a project/workflow/task. I think this is working well, but let me know if there are any user actions I've neglected to test.

So I think this is good to go! 👍

Move the `json-api-client` code into `lib/json-api-client` and require it from there. Remove `json-api-client` as a dependency.
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