mirror of
https://github.com/wassname/pi-lgtm.git
synced 2026-06-27 15:31:29 +08:00
Rebrand widget: lgtm?'s count, lgtm? criterion prefix
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -132,7 +132,7 @@ export class TaskWidget {
|
||||
if (completed.length > 0) parts.push(`${completed.length} done`);
|
||||
if (inProgress.length > 0) parts.push(`${inProgress.length} in progress`);
|
||||
if (pending.length > 0) parts.push(`${pending.length} open`);
|
||||
const statusText = `${tasks.length} tasks (${parts.join(", ")})`;
|
||||
const statusText = `${tasks.length} lgtm?'s (${parts.join(", ")})`;
|
||||
|
||||
const spinnerChar = SPINNER[this.widgetFrame % SPINNER.length];
|
||||
const lines: string[] = [truncate(theme.fg("accent", "●") + " " + theme.fg("accent", statusText))];
|
||||
@@ -193,7 +193,7 @@ export class TaskWidget {
|
||||
|
||||
lines.push(truncate(text + suffix));
|
||||
if (!isActive && task.status !== "completed" && (task as any).done_criterion) {
|
||||
lines.push(truncate(` lgtm: ${(task as any).done_criterion}`));
|
||||
lines.push(truncate(` lgtm? ${(task as any).done_criterion}`));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user