Skip to content

Should we let the workflow route reroute to different steps in the workflow? #38

@jabrah

Description

@jabrah

Currently, all of the steps of the deposit workflow are child routes of the submission.workflow route (submission/new in the URL). Imagine if we have a part of the Ember app intentionally transition to the submission.workflow parent route, instead of a specific workflow step. Would we want to give this parent route some logic to check a submission's state to infer which workflow step the user should be routed to?

Routing could be (but not limited to) data such as

  • Presence of signed agreements
  • Furthest step reached
  • SubmissionActions for metadata and/or files

Currently, the submission's state data is completely undefined, so we have some freedom about what goes in there. Some information needed for this inspection could potentially exist in the state data, although I can see some potential information that would need to be taken into account that could not be in the submission state, such as curator reviews that require user input in the workflow metadata step

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions