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

Connect action buttons in new holdingpen author page #493

Closed
karolina-siemieniuk-morawska opened this issue Jul 11, 2024 · 1 comment
Closed
Assignees

Comments

@karolina-siemieniuk-morawska
Copy link
Collaborator

karolina-siemieniuk-morawska commented Jul 11, 2024

Connect below action and decision buttons to corresponding endpoints:

  • /api/workflows/authors/resolve receives:
{
  "value": "accept",  #or "reject"
  "create_ticket": true # or false
}
  • /api/workflows/authors/restart receives:
{
  "restart_current_task" : true # if not specified defaults to false
  "params" : {dictionary with new params} # this was requested in user action buts its not yet specified waht this params are, if not specified, a full restart is done
}
Screenshot 2024-07-11 at 09 20 04 Screenshot 2024-07-11 at 09 20 00
@karolina-siemieniuk-morawska
Copy link
Collaborator Author

karolina-siemieniuk-morawska commented Jul 11, 2024

@michamos for resolving workflow (accept/reject action), when should the ticket be created? Always, or in some cases? How should we handle that?

karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 8, 2024
karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 8, 2024
karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 9, 2024
karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 9, 2024
karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 13, 2024
karolina-siemieniuk-morawska added a commit to karolina-siemieniuk-morawska/inspirehep that referenced this issue Aug 13, 2024
karolina-siemieniuk-morawska added a commit to inspirehep/inspirehep that referenced this issue Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant