Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

#69

Move Clone and Site into the repository header

merged · by keenan 11d ago · merged into main at 816cc543 by keenan 11d ago

keenan opened this 11d ago

Why

The Clone control lived in two different tab page headers, and Site lived in two more. Both describe the repository as a whole, not the tab that happens to be open, so they moved around and read as tab actions.

What changed

  • One Clone control in the repository header, right-aligned with the repository name on every repository tab.
  • The HTTPS URL and the SSH command each have their own copy button; previously only HTTPS had one.
  • Site joins the header only when a site would answer: pages_domain is set, the repository is publicly readable, and its pages_ref branch (default pages) exists. A configured domain alone no longer links to a 404.
  • Removed the per-tab Clone popovers and the Overview/Code Site buttons.
  • Copy feedback restores innerHTML, so the icon survives “Copied” and a repeated click cannot capture “Copied” as the original label.
  • Documented the header placement in docs/ui-plan.md and the deploy-only Site link in docs/sites.md.

Testing

  • ./vole workflow check
  • ./vole workflow run verify — format, vet, build, govulncheck, packaging, markdown links, and the full test suite
  • New TestHeaderOffersSiteOnlyAfterADeploy covers the absence of a Site link before the pages branch exists and the correct link after the push.

Discussion (0)

No discussion yet.