Fix inconsistencies found by consistency audit of 69848a2
This commit is contained in:
@@ -53,7 +53,7 @@ func (m *Manager) mergeNote(ctx context.Context, task api.Task, login string) (s
|
|||||||
if len(reviews) > 0 {
|
if len(reviews) > 0 {
|
||||||
b.WriteString("\n## Reviews\n")
|
b.WriteString("\n## Reviews\n")
|
||||||
for _, r := range reviews {
|
for _, r := range reviews {
|
||||||
fmt.Fprintf(b, "\n### Snapshot %d, reviewer %q, %s %s: %s\n", r.SnapshotN, r.Stage, r.Vendor, r.Model, r.State)
|
fmt.Fprintf(b, "\n### Snapshot #%d, reviewer %q, %s %s: %s\n", r.SnapshotN, r.Stage, r.Vendor, r.Model, r.State)
|
||||||
if r.Error != "" {
|
if r.Error != "" {
|
||||||
fmt.Fprintf(b, "\n%s\n", r.Error)
|
fmt.Fprintf(b, "\n%s\n", r.Error)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ private struct LeftPane: View {
|
|||||||
Circle()
|
Circle()
|
||||||
.fill(store.connected ? Palette.ok : Palette.muted)
|
.fill(store.connected ? Palette.ok : Palette.muted)
|
||||||
.frame(width: 8, height: 8)
|
.frame(width: 8, height: 8)
|
||||||
.help(store.connected ? "live" : "reconnecting")
|
.help(store.connected ? "Live" : "Reconnecting")
|
||||||
Text(store.me?.displayName ?? "")
|
Text(store.me?.displayName ?? "")
|
||||||
.foregroundStyle(Palette.muted)
|
.foregroundStyle(Palette.muted)
|
||||||
.truncationMode(.tail)
|
.truncationMode(.tail)
|
||||||
|
|||||||
@@ -471,7 +471,7 @@ private struct TaskRow: View {
|
|||||||
.truncationMode(.tail)
|
.truncationMode(.tail)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
if count > 0 {
|
if count > 0 {
|
||||||
Badge(count: count).help("open questions")
|
Badge(count: count).help("Open questions")
|
||||||
}
|
}
|
||||||
if ts.kind == .idle && store.unreadSummary(task) {
|
if ts.kind == .idle && store.unreadSummary(task) {
|
||||||
Text("Unread summary")
|
Text("Unread summary")
|
||||||
|
|||||||
@@ -786,7 +786,7 @@ private struct ServerChip: View {
|
|||||||
.fontWeight(current ? .bold : .regular)
|
.fontWeight(current ? .bold : .regular)
|
||||||
if questions > 0 {
|
if questions > 0 {
|
||||||
Badge(count: questions)
|
Badge(count: questions)
|
||||||
.help("open questions")
|
.help("Open questions")
|
||||||
}
|
}
|
||||||
Text("99")
|
Text("99")
|
||||||
.font(Fonts.font(11, weight: 700))
|
.font(Fonts.font(11, weight: 700))
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ private struct TurnList: View {
|
|||||||
HoverRow {
|
HoverRow {
|
||||||
store.focusTask(t.taskId)
|
store.focusTask(t.taskId)
|
||||||
} content: {
|
} content: {
|
||||||
StateDot(filled: Palette.ok).help("running")
|
StateDot(filled: Palette.ok).help("Running")
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
if let project {
|
if let project {
|
||||||
Text("\(project.name) ▸ ").foregroundStyle(Palette.muted)
|
Text("\(project.name) ▸ ").foregroundStyle(Palette.muted)
|
||||||
|
|||||||
@@ -531,7 +531,7 @@ private struct SwitcherRowView: View {
|
|||||||
.truncationMode(.tail)
|
.truncationMode(.tail)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
if count > 0 {
|
if count > 0 {
|
||||||
Badge(count: count).help("open questions")
|
Badge(count: count).help("Open questions")
|
||||||
}
|
}
|
||||||
if ts.kind == .idle && store.unreadSummary(task) {
|
if ts.kind == .idle && store.unreadSummary(task) {
|
||||||
Text("Unread summary")
|
Text("Unread summary")
|
||||||
|
|||||||
Reference in New Issue
Block a user