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

OxO 2 - Simple voting feature #47

Open
matentzn opened this issue May 3, 2023 · 4 comments
Open

OxO 2 - Simple voting feature #47

matentzn opened this issue May 3, 2023 · 4 comments

Comments

@matentzn
Copy link
Contributor

matentzn commented May 3, 2023

@serjoshua dont try to work on this yet, but if you could give me an estimate of how much it would be to do this:

  1. Add a thumbs up thumbs down button on each mapping (both search and mappings pages)
  2. Create a log in with ORCID features (openid)
  3. When clicking thumbs up or thumbs down, the orcid along with the vote is stored in a file somewhere.

Do you have any experience with openid? How hard would it be to build this feature?

@serjoshua
Copy link
Contributor

No experience with OpenID. A bit familiar because of OntoString. An API that the UI can consume will be useful.

@matentzn
Copy link
Contributor Author

matentzn commented May 4, 2023

Basically what you are saying is that we need an API endpoint in the SSSOM API to record votes (I think this makes total sense).

But I still need some way to understand how much work Open ID login would be. Are we talking 10 days, 20 days, 30 days?

@serjoshua
Copy link
Contributor

I think even the OpenID thing could be an API, but not sure if we have to. I have to check OpenID first or our OntoString implementation in Java. On a high level perspective, this could be a half a week effort. If you include the voting, might be a week.

@matentzn
Copy link
Contributor Author

matentzn commented May 4, 2023

Alright, I will leave it to you to figure this out in between other tasks.

Let's assume a POST api endpoint where you send a rating (0 or 1) and an ORCID, but no need to wait for this. As for login I think I would prefer into a system that does not need any registration. You login with openid or github or whatever and that is enough authentication for this. Please discuss with both Anita and James when you see them - I do Not want to build a backend for managing users, just a simple way to provide a rating.

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

No branches or pull requests

2 participants