Skip to content

Commit bef97ae

Browse files
committed
feat: optimize performance
1 parent cfede4b commit bef97ae

File tree

8 files changed

+273
-414
lines changed

8 files changed

+273
-414
lines changed

src/constant.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// webview to vscode channel
22
export const WEBVIEW_CHANNEL = {
33
GET_HISTORY: 'get-history',
4+
GET_ALL_BRANCHES: 'get-all-branches',
45
SHOW_COMMIT_DETAILS: 'show-commit-details',
56
SHOW_CHANGES_PANEL: 'show-changes-panel',
67
} as const
78

89
// vscode to webview channel
910
export const CHANNEL = {
1011
HISTORY: 'history',
12+
BRANCHES: 'branches',
1113
CLEAR_SELECTED: 'clear-selected',
1214
}
1315

0 commit comments

Comments
 (0)