Skip to content

Commit d2fa0b9

Browse files
committed
Better setting name
1 parent 127af23 commit d2fa0b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,11 @@
263263
}
264264
]
265265
},
266-
"githubPullRequests.queries.refreshInterval": {
266+
"githubPullRequests.queriesRefreshInterval": {
267267
"type": "number",
268268
"default": 0,
269269
"minimum": 0,
270-
"markdownDescription": "%githubPullRequests.queries.refreshInterval.markdownDescription%"
270+
"markdownDescription": "%githubPullRequests.queriesRefreshInterval.markdownDescription%"
271271
},
272272
"githubPullRequests.labelCreated": {
273273
"type": "array",

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"githubPullRequests.queries.markdownDescription": "Specifies what queries should be used in the GitHub Pull Requests tree. All queries are made against **the currently opened repos**. Each query object has a `label` that will be shown in the tree and a search `query` using [GitHub search syntax](https://help.github.com/en/articles/understanding-the-search-syntax). By default these queries define the categories \"Copilot on My Behalf\", \"Local Pull Request Branches\", \"Waiting For My Review\", \"Assigned To Me\" and \"Created By Me\". If you want to preserve these, make sure they are still in the array when you modify the setting. \n\n**Variables available:**\n - `${user}` - currently logged in user \n - `${owner}` - repository owner, ex. `microsoft` in `microsoft/vscode` \n - `${repository}` - repository name, ex. `vscode` in `microsoft/vscode` \n - `${today-Nd}` - date N days ago, ex. `${today-7d}` becomes `2025-01-04`\n\n**Example custom queries:**\n```json\n\"githubPullRequests.queries\": [\n {\n \"label\": \"Waiting For My Review\",\n \"query\": \"is:open review-requested:${user}\"\n },\n {\n \"label\": \"Mentioned Me\",\n \"query\": \"is:open mentions:${user}\"\n },\n {\n \"label\": \"Recent Activity\",\n \"query\": \"is:open updated:>${today-7d}\"\n }\n]\n```",
3030
"githubPullRequests.queries.label.description": "The label to display for the query in the Pull Requests tree.",
3131
"githubPullRequests.queries.query.description": "The GitHub search query for finding pull requests. Use GitHub search syntax with variables like ${user}, ${owner}, ${repository}. Example: 'is:open author:${user}' finds your open pull requests.",
32-
"githubPullRequests.queries.refreshInterval.markdownDescription": "Automatically refresh pull requests queries at the specified interval. Set to `0` to disable auto-refresh. The minimum refresh interval is 5 minutes.",
32+
"githubPullRequests.queriesRefreshInterval.markdownDescription": "Automatically refresh pull requests queries at the specified interval. Set to `0` to disable auto-refresh. The minimum refresh interval is 5 minutes.",
3333
"githubPullRequests.queries.copilotOnMyBehalf": "Copilot on My Behalf",
3434
"githubPullRequests.queries.waitingForMyReview": "Waiting For My Review",
3535
"githubPullRequests.queries.assignedToMe": "Assigned To Me",

src/common/settingKeys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type NotificationVariants = 'off' | 'pullRequests';
2323
export const POST_CREATE = 'postCreate';
2424
export const POST_DONE = 'postDone';
2525
export const QUERIES = 'queries';
26-
export const QUERIES_REFRESH_INTERVAL = 'queries.refreshInterval';
26+
export const QUERIES_REFRESH_INTERVAL = 'queriesRefreshInterval';
2727
export const PULL_REQUEST_LABELS = 'labelCreated';
2828
export const FOCUSED_MODE = 'focusedMode';
2929
export const CREATE_DRAFT = 'createDraft';

0 commit comments

Comments
 (0)