|
6 | 6 | import * as vscode from 'vscode';
|
7 | 7 |
|
8 | 8 | export namespace contexts {
|
9 |
| - export const VIEWED_FILES = 'github:viewedFiles'; |
10 |
| - export const UNVIEWED_FILES = 'github:unviewedFiles'; |
11 |
| - export const IN_REVIEW_MODE = 'github:inReviewMode'; |
12 |
| - export const REPOS_NOT_IN_REVIEW_MODE = 'github:reposNotInReviewMode'; |
13 |
| - export const REPOS_IN_REVIEW_MODE = 'github:reposInReviewMode'; |
14 |
| - export const ACTIVE_PR_COUNT = 'github:activePRCount'; |
| 9 | + export const VIEWED_FILES = 'github:viewedFiles'; // Array of file paths for viewed files |
| 10 | + export const UNVIEWED_FILES = 'github:unviewedFiles'; // Array of file paths for unviewed files |
| 11 | + export const IN_REVIEW_MODE = 'github:inReviewMode'; // Boolean indicating if the extension is currently in "review mode" (has a non-ignored PR checked out) |
| 12 | + export const REPOS_NOT_IN_REVIEW_MODE = 'github:reposNotInReviewMode'; // Array of URIs for repos that are not in review mode |
| 13 | + export const REPOS_IN_REVIEW_MODE = 'github:reposInReviewMode'; // Array of URIs for repos that are in review mode |
| 14 | + export const ACTIVE_PR_COUNT = 'github:activePRCount'; // Number of PRs that are currently checked out |
15 | 15 | export const LOADING_PRS_TREE = 'github:loadingPrsTree';
|
16 | 16 | export const LOADING_ISSUES_TREE = 'github:loadingIssuesTree';
|
17 | 17 | export const CREATE_PR_PERMISSIONS = 'github:createPrPermissions';
|
18 | 18 | export const RESOLVING_CONFLICTS = 'github:resolvingConflicts';
|
19 |
| - export const PULL_REQUEST_DESCRIPTION_VISIBLE = 'github:pullRequestDescriptionVisible'; |
20 |
| - export const ACTIVE_COMMENT_HAS_SUGGESTION = 'github:activeCommentHasSuggestion'; |
| 19 | + export const PULL_REQUEST_DESCRIPTION_VISIBLE = 'github:pullRequestDescriptionVisible'; // Boolean indicating if the pull request description is visible |
| 20 | + export const ACTIVE_COMMENT_HAS_SUGGESTION = 'github:activeCommentHasSuggestion'; // Boolean indicating if the active comment has a suggestion |
21 | 21 | export const CREATING = 'pr:creating';
|
22 | 22 | }
|
23 | 23 |
|
|
0 commit comments