Skip to content

A page for every distribution, linked from the lists and the repository - #155

Merged
aevnsvi merged 6 commits into
mainfrom
distribution-detail
Nov 22, 2026
Merged

aevnsvi merged 6 commits into
mainfrom
distribution-detail

Conversation

@aevnsvi

@aevnsvi aevnsvi commented Nov 22, 2026

Copy link
Copy Markdown

Every distribution now has its own page at /ui/<plugin>/distributions/<name>/.

  • The page shows the client address with what the distribution serves (served, serves nothing, serves an older version than the latest, cannot be checked for a user who may not read publications, bound to a deprecated publication), a note that a guarded address needs credentials or the Public mark, the base path, what it serves, the content guard by name and type, labels and the creation time.
  • What a distribution serves is decided from single reads of its repository and that repository's publications; the plugin-wide indexes are not read.
  • Labels are edited with set_label and unset_label, and Delete is offered, to a user who holds the change or delete permission globally or through a role on that distribution.
  • A name that does not exist is Not Found, a refused read is the insufficient permissions page, any other failure is an error with Retry.
  • The distribution list, the repository Distributions tab and the base URL column of the repository list link to the page. The tab and the base URL column show the Public mark next to a public distribution. The repository list sends no extra request per row.

- the page reads a distribution by name and shows its URL, what it serves, its guard, labels and creation time
- served state, the Public mark, label writes, permissions by object role, delete and the error states
- the detail address is routed for every plugin that has distributions
- reads a distribution by name and holds it by its address
- shows the client URL with what it serves, the content guard or the Public mark, labels with the editor and the creation time
- tells what a distribution serves from single reads of its repository and that repository's publications
- labels and delete are offered by global permission or by a role on the single distribution
- routes the detail address for every plugin that has distributions
- the list, the repository Distributions tab and the repository list base URL link to the distribution page
- the tab and the base URL column mark a public distribution
- the base URL map names the distribution behind each address
- the name cells of the distribution list and of the repository Distributions tab lead to the distribution page
- the base URL of a repository leads to the page of the distribution behind it, with the Public mark when that distribution has no content guard, and the count of further addresses leads to the repository's distributions
- the note on a guarded address links to the page
- the base URL map names the distribution behind each address
@aevnsvi
aevnsvi merged commit 918739d into main Nov 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant