web: empty states and contribution hints sweep #270

closed cmc opened this on 2026-09-28 03:18 UTC · ux web

Discussion

cmc 2026-09-28 03:18 UTC

Web empty states and contribution hints: CLI instructions for web visitors, inconsistent copy.

  • mrs.html:29 tells logged-out visitors "no open merge requests — open one with gitbay mr create krz/gitbay --source ... --target main", and under ?state=merged reads "no merged merge requests — open one with ...".
  • mr.html:136,143,174 shows "none yet" / "nobody yet" on merged and closed MRs.
  • Empty-state wording differs in case and form: "no builds — push a commit with a .gitbay/ci.yml", "Nothing pinned yet. Press Pin on a repository.", "nothing unread — show all", "nothing here yet".
  • A reader without write access sees no path to contribute: "New merge request" shows only to signed-in viewers, the fork hint is one sentence after the form in mrnew.html, and the Fork button needs a session.
  • Global search explains what it covers only before the first query (globalsearch.html:47).
  • Repository tabs read "Issues 9", then "Merge requests" with no count.

Changes:

  • One empty-state register across templates, as one sweep. No "yet" on a finished item. A create link only when the viewer can create; never a CLI command on the web.
  • MR list: "Fork this repository to propose a change" for a viewer who cannot push; a sign-in prompt for a signed-out one.
  • Search: the scope sentence as a permanent caption under the input.
  • Tabs: one rule for zero counts.

referenced in commit 4e0958a163 by cmc: plans: open issues from the architecture and UX reviews

2026-09-28 05:43 UTC

referenced in commit fcf2ea4dd4 by cmc: e2e: the unread list's empty state reads 'no unread notifications'

2026-09-28 23:00 UTC

closed by cmc in commit ff759b5394: web: search scope caption is permanent; document the tab zero-count rule

2026-09-28 23:00 UTC

referenced in commit a8ca19c99f by cmc: web: MR list offers a fork link or a sign-in prompt to visitors who cannot open one directly

2026-09-28 23:00 UTC

referenced in commit 584dc8d6ee by cmc: web: one empty-state register — no CLI commands, no 'yet' on finished items

2026-09-28 23:00 UTC

referenced in commit 7c015c39b3 by cmc: web, store: final-review wording, header and range-diff fixes

2026-09-28 23:23 UTC

referenced in commit 2dd9add6d0 by cmc: web: drop CLI commands from four empty states, per the register

2026-09-28 23:23 UTC

referenced in commit 82b9f3aba2 by cmc: web: fork owners can open an MR from mrs and compare pages

2026-09-28 23:23 UTC