Skip to content

Commit

Permalink
Change disable action to use unique identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
gememma committed May 17, 2024
1 parent f7ab437 commit e6e246d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@
"mirrord.promptReview": {
"type": "boolean",
"default": true,
"description": "Occasionally show a notification asking for plugin review"
"description": "Occasionally show a notification asking for plugin review."
},
"mirrord.promptDiscord": {
"type": "boolean",
"default": true,
"description": "Occasionally show a notification inviting to the Discord server."
},
"mirrord.promptAgentVersionMismatch": {
"type": "boolean",
Expand All @@ -131,9 +136,12 @@
"description": "Path to local mirrord installation."
},
"mirrord.autoUpdate": {
"type": ["string", "boolean"],
"type": [
"string",
"boolean"
],
"default": true,
"description": "Automatically update mirrord binary."
"description": "Automatically update mirrord binary."
}
}
},
Expand Down Expand Up @@ -163,7 +171,10 @@
},
"jsonValidation": [
{
"fileMatch": ["*mirrord.json", "*.mirrord/*.json"],
"fileMatch": [
"*mirrord.json",
"*.mirrord/*.json"
],
"url": "https://raw.githubusercontent.com/metalbear-co/mirrord/latest/mirrord-schema.json"
}
],
Expand Down Expand Up @@ -246,4 +257,4 @@
"which": "^3.0.1",
"yaml": "^2.1.3"
}
}
}
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ function tickDiscordCounter() {
.withGenericAction("Join us!", async () => {
vscode.commands.executeCommand(MirrordStatus.joinDiscordCommandId);
})
.withDisableAction('promptReview')
.withDisableAction('promptDiscord')
.info();
}
}

0 comments on commit e6e246d

Please sign in to comment.