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

User registration step in annotation tools #2659

Merged
merged 11 commits into from
Oct 21, 2024
Merged

Conversation

portuu3
Copy link
Collaborator

@portuu3 portuu3 commented Oct 21, 2024

Description

If the annotation tool requires a user registration before annotate data, users should see an extra step in HUMAN App that drives them towards registration process.

Summary of changes

  • Add registration step to HUMAN App frontend.
  • Add registartionNeeded and registrationInstructions to leader entity in subgraph.
  • Update SDK based on subgraph changes.
  • Post a request from HUMAN App to reputation oracle to save the registration completion.

How test the changes

  1. Set registration needed for some exchange oracle
  2. Go to see the jobs of oracle. You should be required to go through the registration step.

portuu3 and others added 8 commits October 17, 2024 15:09
* Add logic to register users in oracles

* Fix failing tests
---------

Co-authored-by: portuu3
* Add registration data to leaders entity

* Add registration info to getReputationNetworkOperators

---------

Co-authored-by: Francisco López <[email protected]>
* Add registration data to leaders entity

* Add registration info to getReputationNetworkOperators

* Add wether registration is required to oracles discovery response
@portuu3 portuu3 self-assigned this Oct 21, 2024
Copy link

vercel bot commented Oct 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 11:40am
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 11:40am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 11:40am
faucet-server ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 11:40am

@portuu3 portuu3 merged commit 61e6631 into develop Oct 21, 2024
25 checks passed
@portuu3 portuu3 deleted the feature/registration branch October 21, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants