git-ents.gitmain
⌘K
foforge
commit dd7cd04
fix: call the feature Issues everywhere, not Bug reports in some places

The tab said Issues, the New issue button said issue, but the page title, H1, filter placeholder, blankslate copy, and settings feature row all said Bug reports, so the same feature read as two different products depending on which part of the screen you looked at. Every surface now says Issues, matching the tab, the button, and the underlying Tab::Issues/refs/meta/issues naming.

Assisted-by: Claude:claude-sonnet-5

Joseph D. Carpinelli · 1 month ago

Reviews

No reviews of this commit yet — record a verdict below.

Start a review

verdict

crates/git-ents-server/templates/issues.html @@ -1,5 +1,5 @@ <div class="issues-head"> - <h1 class="page-title">Bug reports</h1> + <h1 class="page-title">Issues</h1> <button class="btn-primary" type="button" disabled title="Not available yet">{{ icons.icon_plus()|safe }}New issue</button> </div> {% if let Some(err) = error %} @@ -8,7 +8,7 @@ <div class="filter-row"> <div class="filter-search"> {{ icons.icon_search()|safe }} - <input type="search" placeholder="Filter bug reports" aria-label="Filter" disabled> + <input type="search" placeholder="Filter issues" aria-label="Filter" disabled> </div> <span class="chip active">All</span> {% for label in labels %}<span class="chip">{{ label }}</span>{% endfor %} @@ -20,8 +20,8 @@ </div> {% if open.is_empty() %} <div class="blankslate"> - <h2>No open bug reports</h2> - <p>Open one to start tracking a bug.</p> + <h2>No open issues</h2> + <p>Open one to start tracking an issue.</p> </div> {% else %} {% for card in open %}{{ card|safe }}{% endfor %}
crates/git-ents-server/src/web/pages.rs @@ -1225,7 +1225,7 @@ .map_err(|err| err.to_string()) } -/// The Issues ("Bug reports") tab: the real issue list from +/// The Issues tab: the real issue list from /// `refs/meta/issues/<id>`, split into open and closed, with the filter chips /// derived from the labels that exist. Issue creation is a write path that does /// not exist yet, so the "New issue" button stays disabled. @@ -1270,7 +1270,7 @@ } } }; - repo_shell(meta, Tab::Issues, "Bug reports", auth, render_body(&tpl)) + repo_shell(meta, Tab::Issues, "Issues", auth, render_body(&tpl)) } /// The Issues tab body: the open/closed filter and per-issue cards. @@ -1330,7 +1330,7 @@ div.card { div.card-header { "Features" } - (feature_row("Bug reports", "Track and triage bugs.", meta.issues > 0)) + (feature_row("Issues", "Track and triage bugs.", meta.issues > 0)) (feature_row("Releases", "Publish tagged releases.", meta.releases > 0)) (feature_row("Checks (CI)", "Run signed CI records on push.", matches!(&checks, Ok(c) if !c.is_empty()))) }