Skip to content

Commit

Permalink
feat: Rename Navie code action
Browse files Browse the repository at this point in the history
Explain with AppMap AI -> Explain with AppMap Navie AI
  • Loading branch information
kgilpin committed Feb 2, 2024
1 parent 2bc2a39 commit b8e22cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/commands/quickSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ export class QuickSearchProvider implements vscode.CodeActionProvider {
};

const codeAction = new vscode.CodeAction(
'Explain with AppMap AI',
'Explain with AppMap Navie AI',
vscode.CodeActionKind.Refactor
);
codeAction.command = {
command: 'appmap.quickExplain',
title: 'Explain with AppMap AI',
title: 'Explain with AppMap Navie AI',
arguments: [workspaceFolder.uri, codeSelection],
};
return [codeAction];
Expand Down
4 changes: 2 additions & 2 deletions test/unit/commands/quickSearch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ describe('Quick search', () => {
expect(actions).to.be.an('array');
expect(actions).to.have.lengthOf(1);
const action = actions[0];
expect(action.title).to.equal('Explain with AppMap AI');
expect(action.title).to.equal('Explain with AppMap Navie AI');
expect(JSON.stringify(action.command, null, 2)).to.equal(
JSON.stringify(
{
command: 'appmap.quickExplain',
title: 'Explain with AppMap AI',
title: 'Explain with AppMap Navie AI',
arguments: [
TEST_WORKSPACE.uri,
{
Expand Down

0 comments on commit b8e22cb

Please sign in to comment.