|
9 | 9 | "textSearchProvider", |
10 | 10 | "scmHistoryProvider", |
11 | 11 | "contribSourceControlHistoryTitleMenu", |
12 | | - "contribSourceControlHistoryItemMenu" |
| 12 | + "contribSourceControlHistoryItemMenu", |
| 13 | + "timeline" |
13 | 14 | ], |
14 | 15 | "directories": { |
15 | 16 | "lib": "lib" |
|
74 | 75 | } |
75 | 76 | ], |
76 | 77 | "scm": [ |
77 | | - { |
78 | | - "id": "github1s.views.fileHistory", |
79 | | - "name": "File History", |
80 | | - "icon": "$(history)", |
81 | | - "when": "github1s:views:fileHistory:visible == true" |
82 | | - }, |
83 | 78 | { |
84 | 79 | "id": "github1s.views.codeReviewList", |
85 | 80 | "name": "Code Reviews", |
|
172 | 167 | "icon": "$(globe)", |
173 | 168 | "enablement": "github1s:adapters:default:platformName != 'GitHub' && github1s:adapters:default:platformName != 'GitLab' && github1s:adapters:default:platformName != 'Bitbucket'" |
174 | 169 | }, |
175 | | - { |
176 | | - "command": "github1s.commands.refreshFileHistoryCommitList", |
177 | | - "title": "Refresh", |
178 | | - "category": "GitHub1s", |
179 | | - "icon": "$(refresh)" |
180 | | - }, |
181 | | - { |
182 | | - "command": "github1s.commands.refreshCommitList", |
183 | | - "title": "Refresh", |
184 | | - "category": "GitHub1s", |
185 | | - "icon": "$(refresh)" |
186 | | - }, |
187 | 170 | { |
188 | 171 | "command": "github1s.commands.searchCommit", |
189 | 172 | "title": "Search", |
|
196 | 179 | "category": "GitHub1s", |
197 | 180 | "icon": "$(log-in)" |
198 | 181 | }, |
199 | | - { |
200 | | - "command": "github1s.commands.diffCommitFile", |
201 | | - "title": "Diff File", |
202 | | - "category": "GitHub1s", |
203 | | - "icon": "$(diff)" |
204 | | - }, |
205 | 182 | { |
206 | 183 | "command": "github1s.commands.openCommitOnGitHub", |
207 | 184 | "title": "Open on GitHub", |
|
423 | 400 | "command": "github1s.commands.openCodeReviewOnOfficialPage", |
424 | 401 | "when": "false" |
425 | 402 | }, |
426 | | - { |
427 | | - "command": "github1s.commands.refreshCommitList", |
428 | | - "when": "false" |
429 | | - }, |
430 | 403 | { |
431 | 404 | "command": "github1s.commands.searchCommit", |
432 | 405 | "when": "false" |
|
486 | 459 | "command": "github1s.commands.searchCodeReview", |
487 | 460 | "when": "view == 'github1s.views.codeReviewList'", |
488 | 461 | "group": "navigation@2" |
489 | | - }, |
490 | | - { |
491 | | - "command": "github1s.commands.refreshFileHistoryCommitList", |
492 | | - "when": "view == 'github1s.views.fileHistory'", |
493 | | - "group": "navigation@1" |
494 | | - }, |
495 | | - { |
496 | | - "command": "github1s.commands.searchCommit", |
497 | | - "when": "view == 'github1s.views.fileHistory'", |
498 | | - "group": "navigation@2" |
499 | 462 | } |
500 | 463 | ], |
501 | 464 | "view/item/context": [ |
|
538 | 501 | "command": "github1s.commands.openCodeReviewOnOfficialPage", |
539 | 502 | "when": "viewItem == 'github1s:viewItems:codeReviewListItem' && github1s:adapters:default:platformName != 'GitHub' && github1s:adapters:default:platformName != 'GitLab' && github1s:adapters:default:platformName != 'Bitbucket' && github1s:adapters:default:platformName != 'npm'", |
540 | 503 | "group": "inline@2" |
541 | | - }, |
542 | | - { |
543 | | - "command": "github1s.commands.switchToCommit", |
544 | | - "when": "viewItem == 'github1s:viewItems:commitListItem'", |
545 | | - "group": "inline@1" |
546 | | - }, |
547 | | - { |
548 | | - "command": "github1s.commands.openCommitOnGitHub", |
549 | | - "when": "viewItem == 'github1s:viewItems:commitListItem' && github1s:adapters:default:platformName == 'GitHub'", |
550 | | - "group": "inline@2" |
551 | | - }, |
552 | | - { |
553 | | - "command": "github1s.commands.diffCommitFile", |
554 | | - "when": "viewItem == 'github1s:viewItems:commitListItem' && view == 'github1s.views.fileHistory'", |
555 | | - "group": "inline@3" |
556 | | - }, |
557 | | - { |
558 | | - "command": "github1s.commands.openCommitOnGitLab", |
559 | | - "when": "viewItem == 'github1s:viewItems:commitListItem' && github1s:adapters:default:platformName == 'GitLab'", |
560 | | - "group": "inline@2" |
561 | | - }, |
562 | | - { |
563 | | - "command": "github1s.commands.openCommitOnBitbucket", |
564 | | - "when": "viewItem == 'github1s:viewItems:commitListItem' && github1s:adapters:default:platformName == 'Bitbucket'", |
565 | | - "group": "inline@2" |
566 | | - }, |
567 | | - { |
568 | | - "command": "github1s.commands.openCommitOnOfficialPage", |
569 | | - "when": "viewItem == 'github1s:viewItems:commitListItem' && github1s:adapters:default:platformName != 'GitHub' && github1s:adapters:default:platformName != 'GitLab' && github1s:adapters:default:platformName != 'Bitbucket' && github1s:adapters:default:platformName != 'npm'", |
570 | | - "group": "inline@2" |
571 | 504 | } |
572 | 505 | ], |
573 | 506 | "editor/title": [ |
|
640 | 573 | "when": "scmProvider == github1s && github1s:adapters:default:platformName != 'GitHub' && github1s:adapters:default:platformName != 'GitLab' && github1s:adapters:default:platformName != 'Bitbucket' && github1s:adapters:default:platformName != 'npm'", |
641 | 574 | "group": "inline@2" |
642 | 575 | } |
| 576 | + ], |
| 577 | + "timeline/item/context": [ |
| 578 | + { |
| 579 | + "command": "github1s.commands.switchToCommit", |
| 580 | + "when": "timelineItem == 'github1s:timeline:commit'", |
| 581 | + "group": "inline@1" |
| 582 | + }, |
| 583 | + { |
| 584 | + "command": "github1s.commands.openCommitOnGitHub", |
| 585 | + "when": "timelineItem == 'github1s:timeline:commit' && github1s:adapters:default:platformName == 'GitHub'", |
| 586 | + "group": "inline@2" |
| 587 | + }, |
| 588 | + { |
| 589 | + "command": "github1s.commands.openCommitOnGitLab", |
| 590 | + "when": "timelineItem == 'github1s:timeline:commit' && github1s:adapters:default:platformName == 'GitLab'", |
| 591 | + "group": "inline@2" |
| 592 | + }, |
| 593 | + { |
| 594 | + "command": "github1s.commands.openCommitOnBitbucket", |
| 595 | + "when": "timelineItem == 'github1s:timeline:commit' && github1s:adapters:default:platformName == 'Bitbucket'", |
| 596 | + "group": "inline@2" |
| 597 | + }, |
| 598 | + { |
| 599 | + "command": "github1s.commands.openCommitOnOfficialPage", |
| 600 | + "when": "timelineItem == 'github1s:timeline:commit' && github1s:adapters:default:platformName != 'GitHub' && github1s:adapters:default:platformName != 'GitLab' && github1s:adapters:default:platformName != 'Bitbucket' && github1s:adapters:default:platformName != 'npm'", |
| 601 | + "group": "inline@2" |
| 602 | + } |
643 | 603 | ] |
644 | 604 | } |
645 | 605 | }, |
|
0 commit comments