Skip to content

Screens

Martin Hradil edited this page Jun 4, 2023 · 10 revisions

(OBSOLETE: last edit Oct 2021)

(see also https://github.com/himdel/ansible-hub-ui/issues/1 )

  • /ui/repo/:selectedRepo/ - Collections

    • menu item
    • links to /ui/repo/:selectedRepo/:namespace/:collection
    • Paths.searchByRepo
  • /ui/repo/:selectedRepo/:namespace/:collection - Collection detail, tab Details

    • linked from /ui/repo/:selectedRepo/, /ui/repo/:selectedRepo/:namespace
    • has tabs, as routes
    • Paths.collectionByRepo
  • /ui/repo/:selectedRepo/:namespace/:collection/docs - Collection detail, tab Documentation

    • has tabs, as routes
    • Paths.collectionDocsIndexByRepo
  • /ui/repo/:selectedRepo/:namespace/:collection/content - Collection detail, tab Contents

    • links to /ui/repo/:selectedRepo/:namespace/:collection/docs
    • has tabs, as routes
    • Paths.collectionContentListByRepo
  • /ui/repo/:selectedRepo/:namespace/:collection/import-log - Collection detail, tab Import log

    • has tabs, as routes
    • Paths.collectionImportLogByRepo
  • /ui/namespaces - Namespaces

    • menu item
    • links to /ui/repo/:selectedRepo/:namespace
    • Paths.namespaces
  • /ui/repo/:selectedRepo/:namespace - Collections under a namespace

    • linked from /ui/namespaces, breadcrumbs under namespace
    • links to /ui/repo/:selectedRepo/:namespace/:collection
    • Paths.namespaceByRepo
  • /ui/my-namespaces - My Namespaces

    • menu item
    • links to /ui/repo/:selectedRepo/my-namespaces/:namespace
    • has a "Create" modal
    • Paths.myNamespaces
  • /ui/repo/:selectedRepo/my-namespaces/:namespace - My Collections under a namespace

    • linked from /ui/my-namespaces
    • conflict between :namespace=my-namespaces/:collection=whatever vs my-namespaces/:namespace=whatever
    • has an "Upload Collection" modal, links to /ui/my-imports?namespace=:namespace
    • has an "Edit Namespace" action, links to /ui/my-namespaces/edit/:namespace (no repo)
    • has an "Imports" action, links to /ui/my-imports?namespace=:namespace
    • has tabs, as params
      • Collections
        • has an "Upload new version" modal, links to /ui/my-imports?namespace=:namespace
        • links to /ui/repo/:selectedRepo/:namespace/:collection (no my-namespaces)
      • CLI Configuration
    • also available on /ui/my-namespaces/:namespace (bug?)
    • Paths.myCollectionsByRepo
  • /ui/my-namespaces/edit/:namespace - Edit a namespace

    • linked from /ui/repo/:selectedRepo/my-namespaces/:namespace, /ui/my-namespaces/:namespace
    • has tabs, as params
      • Edit details
      • Edit resources
    • Save/Cancel links to /ui/my-namespaces/:namespace
    • Paths.editNamespace
  • /ui/my-namespaces/:namespace - My Collections under a namespace (alias)

    • identical to /ui/repo/:selectedRepo/my-namespaces/:namespace
    • linked from /ui/my-namespaces/edit/:namespace
    • Paths.myCollections
  • /ui/my-imports?namespace=:namespace - Imports filtered by namespace

    • linked from /ui/repo/:selectedRepo/my-namespaces/:namespace, /ui/my-namespaces/:namespace,
    • links to /ui/repo/:selectedRepo/:namespace/:collection
    • Paths.myImports
  • /ui/repositories - Repository Management

    • menu item
    • has tabs, as params
      • Local
        • links to /ui/token
      • Remote
        • has an "Edit"/"Configure" modal
    • Paths.repositories
  • /ui/token - Token Management

    • menu item "API Token"
    • linked from Local /ui/repositories
    • Paths.token
  • /ui/approval-dashboard - Approval dashboard

    • menu item "Approval"
    • links to /ui/repo/:selectedRepo/:namespace/:collection
    • has an "View Import Log" action, links to /ui/my-imports?namespace&collection&version
    • Paths.approvalDashboard
  • /ui/containers - Container Registry

    • menu item
    • links to /ui/containers/:container (can be foo/bar or foo)
    • Paths.executionEnvironments
  • /ui/containers/:container - Container detail, tab Detail

    • linked from /ui/containers
    • has an "Add" readme mode (no params or routes)
    • has an "Edit" repository modal
    • has tabs, as routes (tabs are not links, TODO CollectionHeader renderTabs has a better version)
    • Paths.executionEnvironmentDetail
  • /ui/containers/:container/_content/activity - Container detail, tab Activity

    • links /ui/containers/:container/_content/images/:image (shas or tags)
    • has an "Edit" repository modal
    • has tabs, as routes
    • Paths.executionEnvironmentDetailActivities
  • /ui/containers/:container/_content/images - Container detail, tab Images

    • links /ui/containers/:container/_content/images/:image (shas or tags)
    • has an "Edit tags" modal
    • has an "Edit" repository modal
    • has tabs, as routes
    • Paths.executionEnvironmentDetailImages
  • /ui/containers/:container/_content/images/:image - Image layers

    • linked from /ui/containers/:container/_content/activity, /ui/containers/:container/_content/images
    • Paths.executionEnvironmentManifest
  • /ui/users - Users

    • menu item
    • has a "Delete" modal
    • has an "Edit" action, links to /ui/users/:userId/edit
    • has a "Create" action, links to /ui/users/create
    • links to /ui/users/:userId
    • Paths.userList
  • /ui/users/:userId - User detail

    • linked from /ui/group/:groupId Users tab
    • has a "Delete" modal
    • has an "Edit" action, links to /ui/users/:userId/edit
    • Paths.userDetail
  • /ui/users/:userId/edit - User edit

    • linked from /ui/users/:userId
    • Save/Cancel links to /ui/users
    • Paths.editUser
  • /ui/users/create - User create

    • linked from /ui/users
    • same as /ui/users/:userId/edit, except create
    • Save/Cancel links to /ui/users
    • Paths.createUser
  • /ui/group-list - Groups

    • menu item
    • has a "Create" modal
    • has a "Delete" modal
    • links to /ui/group/:groupId
    • Paths.groupList
  • /ui/group/:groupId - Group detail

    • linked from /ui/group-list
    • has a "Delete" modal
    • has tabs, as params
      • Permissions
        • has a view/"Edit" mode (no params or routes)
      • Users
        • has an "Add" modal
        • has a "Remove" modal
        • links to /ui/users/:userId
    • Paths.groupDetail
  • /ui/settings/user-profile - User menu > My Profile

    • dropdown item
    • has a view/"Edit" mode (no params or routes)
    • Paths.userProfileSettings

Unreachable? routes?

  collection = '/:namespace/:collection',
  collectionContentDocs = '/:namespace/:collection/content/:type/:name',
  collectionContentDocsByRepo = '/repo/:repo/:namespace/:collection/content/:type/:name',
  collectionContentList = '/:namespace/:collection/content',
  collectionDocsIndex = '/:namespace/:collection/docs',
  collectionDocsPage = '/:namespace/:collection/docs/:page',
  collectionDocsPageByRepo = '/repo/:repo/:namespace/:collection/docs/:page',
  collectionImportLog = '/:namespace/:collection/import-log',
  namespace = '/:namespace',
  partners = '/partners',
  search = '/',

Special routes?

  login = '/login',
  logout = '/logout',
  notFound = '/not-found',
Clone this wiki locally