Skip to content

Commit faef47f

Browse files
committed
chore: refine handoff messaging, terminology, and success modal UI
LiveReview Pre-Commit Check: ran (iter:1, coverage:0%)
1 parent a67b783 commit faef47f

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

internal/appcore/interactive_decision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func executeDecision(code int, message string, push bool, ctx decisionExecutionC
102102
}
103103
return nil
104104
case decisionflow.DecisionHandoff:
105-
syncedPrintln("\n🤖 Handing off Claude Code...")
105+
syncedPrintln("\n🤖 Handing off to Claude Code...")
106106

107107
gitDir, err := reviewapi.ResolveGitDir()
108108
if err != nil {

internal/staticserve/static/app.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ async function initApp() {
468468
...reviewData,
469469
files: filteredFiles,
470470
Files: filteredFiles,
471-
summary: "AI Agent Handoff generated for selected issues.",
471+
summary: "AI Agent Handoff generated for visible issues.",
472472
status: "completed"
473473
};
474474

@@ -811,11 +811,19 @@ async function initApp() {
811811
<div class="modal-overlay" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);">
812812
<div class="modal-content" style="background: var(--bg-card); padding: 32px; border-radius: 12px; max-width: 400px; width: 90%; border: 1px solid var(--border-color); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5); text-align: center;">
813813
${handoffModal.type === 'success'
814-
? html`<div style="font-size: 48px; margin-bottom: 16px;">🚀</div>`
814+
? html`
815+
<div style="margin-bottom: 16px; color: #8b5cf6;">
816+
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
817+
<rect x="2" y="3" width="20" height="18" rx="2" ry="2"></rect>
818+
<polyline points="6 8 10 12 6 16"></polyline>
819+
<line x1="14" y1="16" x2="18" y2="16"></line>
820+
</svg>
821+
</div>
822+
`
815823
: html`<div style="font-size: 48px; margin-bottom: 16px;">⚠️</div>`
816824
}
817825
<h3 style="margin: 0 0 12px 0; font-size: 20px; color: var(--text-primary);">
818-
${handoffModal.type === 'success' ? 'Handoff Successful' : 'Notice'}
826+
${handoffModal.type === 'success' ? 'Check Your Terminal' : 'Notice'}
819827
</h3>
820828
<p style="margin: 0 0 24px 0; color: var(--text-secondary); line-height: 1.5;">
821829
${handoffModal.message}

internal/staticserve/static/components/Comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function createComment() {
6868
</div>
6969
<span class="comment-hidden-title">Comment hidden</span>
7070
<span class="comment-hidden-meta">${filePath}${lineLabel}</span>
71-
<span class="comment-hidden-note">Hidden comments are excluded from Copy Visible Issues and Claude Agent.</span>
71+
<span class="comment-hidden-note">Hidden comments are excluded from Copy Visible Issues and the Claude Agent.</span>
7272
</div>
7373
`
7474
: html`

0 commit comments

Comments
 (0)