Skip to content

Commit 0b63b43

Browse files
author
Kilo Code
committed
💄 style(commit-message): update progress and information messages
- prepend 'Kilo:' to progress and information messages for consistent branding - enhance user experience by providing clear and branded feedback
1 parent c283b59 commit 0b63b43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/services/commit-message/CommitMessageProvider.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,33 @@ export class CommitMessageProvider {
4949
await vscode.window.withProgress(
5050
{
5151
location: vscode.ProgressLocation.SourceControl,
52-
title: "Generating commit message...",
52+
title: "Kilo: Generating commit message...",
5353
cancellable: false,
5454
},
5555
async (progress) => {
5656
try {
57-
progress.report({ increment: 25, message: "Analyzing staged changes..." })
57+
progress.report({ increment: 25, message: "Kilo: Analyzing staged changes..." })
5858

5959
// Check if we can gather staged changes
6060
const changes = await this.gitService.gatherStagedChanges()
6161
if (changes === null) {
62-
vscode.window.showInformationMessage("No staged changes found in git repository")
62+
vscode.window.showInformationMessage("Kilo: No staged changes found in git repository")
6363
return
6464
}
6565

6666
if (changes.length === 0) {
67-
vscode.window.showInformationMessage("No staged changes found to analyze")
67+
vscode.window.showInformationMessage("Kilo: No staged changes found to analyze")
6868
return
6969
}
7070

7171
const gitContextString = this.gitService.getCommitContext(changes)
72-
progress.report({ increment: 50, message: "Generating message with AI..." })
72+
progress.report({ increment: 50, message: "Kilo: Generating message with AI..." })
7373

7474
const generatedMessage = await this.callAIForCommitMessage(gitContextString)
7575
this.gitService.setCommitMessage(generatedMessage)
7676

7777
progress.report({ increment: 100, message: "Complete!" })
78-
vscode.window.showInformationMessage("✨ Kilo Commit message generated!")
78+
vscode.window.showInformationMessage("✨ Kilo: Commit message generated!")
7979
} catch (error) {
8080
const errorMessage = error instanceof Error ? error.message : "Unknown error occurred"
8181
vscode.window.showErrorMessage(`Failed to generate commit message: ${errorMessage}`)

0 commit comments

Comments
 (0)