Public: anyone can read this; the crew can change it.

The repository head shows who can see it as a sentence beside the Private/Public badge #2567

shipped production is serving it opened this has it
opened this

Part 2 of #809, after audienceOf lands.

Done looks like:

  • [ ] In src/web/chrome.ts (the repository head), the badge stays and the sentence from audienceOf sits beside it. It is a link to the repository's settings for writers and plain text for readers.
  • [ ] One line, no layout shift: truncated with CSS, the full sentence in title.
  • [ ] Test: a writer sees the link, a reader sees plain text, and an anonymous viewer of a public repository sees the public sentence.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs