Skip to content

Work out URL structure for SSBC

Created by: eseliger

We need to figure out how we want to structure URLs for the new SSBC components.

We have:

  • Create page
  • Updating an existing batch change
  • Viewing a batch spec execution
  • Previewing a batch spec application
  • Empty batch changes
  • Lists of batch changes
  • Lists of batch specs on batch changes

Suggestion:

  • /batch-changes: Global list of batch changes. This includes draft ones, but only the ones visible to the viewer.
  • /batch-changes/create: Global create page. This is a page that is easy to link to, and the namespace is selectable in the create form.
  • /{users|orgs}/:ownerName/batch-changes: List of batch changes owned by the entity with ownerName. This includes draft ones, but only the ones visible to the viewer.
  • /{users|orgs}/:ownerName/batch-changes/:name: The detail page of the batch change with name name in namespace ownerName
  • /{users|orgs}/:ownerName/batch-changes/create: Create page of the namespace. Only accessible by people that can create a batch change in that namespace. The namespace can not be changed in that version of the create form.
  • /{users|orgs}/:ownerName/batch-changes/:name/edit: TODO: Should this page exist? How else would a user get a new batch spec then.
    • /{users|orgs}/:ownerName/batch-changes/:name/close: As before.
  • /{users|orgs}/:ownerName/batch-changes/:name?tab=specs: The details page with the batch specs tab open.
  • /{users|orgs}/:ownerName/batch-changes/:name/specs/:specID/edit: Tab #1 in the designs. Allows to edit a specific batch spec.
  • /{users|orgs}/:ownerName/batch-changes/:name/specs/:specID/execution: The execution details page for a given spec. Tab #2 in the designs.
  • /{users|orgs}/:ownerName/batch-changes/:name/specs/:specID/apply: The preview for the given batch spec. Tab #3 in the designs.