@codingame/monaco-vscode-timeline-service-override 1.85.6 → 2.0.0-v2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/timeline.js +1 -1
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.js +5 -5
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryCommands.js +17 -17
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryFileSystemProvider.js +6 -6
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryTimeline.js +9 -9
- package/vscode/src/vs/workbench/contrib/timeline/browser/timeline.contribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/timeline/browser/timelinePane.js +44 -44
- package/vscode/src/vs/workbench/contrib/timeline/common/timelineService.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-timeline-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-v2.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git
|
|
12
|
+
"url": "git@github.com:CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
22
|
-
"
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
|
|
22
|
+
"vscode-marked": "npm:marked@=3.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/timeline.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyncDescriptor } from '
|
|
1
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
2
|
import './vscode/src/vs/workbench/contrib/timeline/browser/timeline.contribution.js';
|
|
3
3
|
import './vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.contribution.js';
|
|
4
4
|
import { ITimelineService } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Registry } from '
|
|
1
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
2
2
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
3
3
|
import { LocalHistoryTimeline } from './localHistoryTimeline.js';
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
2
|
-
import { Codicon } from '
|
|
3
|
-
import { language } from '
|
|
4
|
-
import { ContextKeyExpr } from '
|
|
5
|
-
import { registerIcon } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
+
import { language } from 'vscode/vscode/vs/base/common/platform';
|
|
4
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
+
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
6
6
|
|
|
7
7
|
let localHistoryDateFormatter = undefined;
|
|
8
8
|
function getLocalHistoryDateFormatter() {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
2
|
-
import { URI } from '
|
|
3
|
-
import { Event } from '
|
|
4
|
-
import { Schemas } from '
|
|
5
|
-
import { toErrorMessage } from '
|
|
6
|
-
import { CancellationToken, CancellationTokenSource } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
3
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
5
|
+
import { toErrorMessage } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
6
|
+
import { CancellationToken, CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
7
7
|
import { IWorkingCopyHistoryService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory';
|
|
8
8
|
import { API_OPEN_DIFF_EDITOR_COMMAND_ID } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommands';
|
|
9
9
|
import { LocalHistoryFileSystemProvider } from './localHistoryFileSystemProvider.js';
|
|
10
|
-
import { RawContextKey, IContextKeyService, ContextKeyExpr } from '
|
|
11
|
-
import { registerAction2, Action2, MenuId, MenuRegistry } from '
|
|
12
|
-
import { basenameOrAuthority, basename, dirname } from '
|
|
13
|
-
import { ICommandService } from '
|
|
10
|
+
import { RawContextKey, IContextKeyService, ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
|
+
import { registerAction2, Action2, MenuId, MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
12
|
+
import { basenameOrAuthority, basename, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
13
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
14
14
|
import { SaveSourceRegistry, EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
15
|
-
import { IFileService } from '
|
|
15
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
16
16
|
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
17
17
|
import '../../../../../../../override/vs/platform/dialogs/common/dialogs.js';
|
|
18
18
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
19
19
|
import { ResourceContextKey, ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
20
|
-
import { IQuickInputService } from '
|
|
21
|
-
import { getIconClasses } from '
|
|
22
|
-
import { IModelService } from '
|
|
23
|
-
import { ILanguageService } from '
|
|
24
|
-
import { ILabelService } from '
|
|
25
|
-
import { firstOrDefault } from '
|
|
20
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
21
|
+
import { getIconClasses } from 'vscode/vscode/vs/editor/common/services/getIconClasses';
|
|
22
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
23
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
24
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
25
|
+
import { firstOrDefault } from 'vscode/vscode/vs/base/common/arrays';
|
|
26
26
|
import { LOCAL_HISTORY_MENU_CONTEXT_KEY, LOCAL_HISTORY_ICON_RESTORE, getLocalHistoryDateFormatter } from './localHistory.js';
|
|
27
27
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
28
28
|
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryFileSystemProvider.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Event } from '
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { URI } from '
|
|
4
|
-
import { FileType, hasReadWriteCapability } from '
|
|
5
|
-
import { isEqual } from '
|
|
6
|
-
import { VSBuffer } from '
|
|
1
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
|
+
import { FileType, hasReadWriteCapability } from 'vscode/vscode/vs/platform/files/common/files';
|
|
5
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
6
|
+
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
7
7
|
|
|
8
8
|
class LocalHistoryFileSystemProvider {
|
|
9
9
|
static { this.SCHEMA = 'vscode-local-history'; }
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { Emitter } from '
|
|
4
|
-
import { Disposable, MutableDisposable } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { ITimelineService } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
|
|
6
6
|
import { IWorkingCopyHistoryService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory';
|
|
7
|
-
import { URI } from '
|
|
7
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
8
8
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
9
9
|
import { API_OPEN_DIFF_EDITOR_COMMAND_ID } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommands';
|
|
10
|
-
import { IFileService } from '
|
|
10
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
11
11
|
import { LocalHistoryFileSystemProvider } from './localHistoryFileSystemProvider.js';
|
|
12
12
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
13
13
|
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
14
|
-
import { IConfigurationService } from '
|
|
14
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
15
15
|
import { COMPARE_WITH_FILE_LABEL, toDiffEditorArguments } from './localHistoryCommands.js';
|
|
16
|
-
import { MarkdownString } from '
|
|
16
|
+
import { MarkdownString } from 'vscode/vscode/vs/base/common/htmlContent';
|
|
17
17
|
import { getLocalHistoryDateFormatter, LOCAL_HISTORY_ICON_ENTRY, LOCAL_HISTORY_MENU_CONTEXT_VALUE } from './localHistory.js';
|
|
18
|
-
import { Schemas } from '
|
|
19
|
-
import { IWorkspaceContextService } from '
|
|
18
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
19
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
20
20
|
import { getVirtualWorkspaceAuthority } from 'vscode/vscode/vs/platform/workspace/common/virtualWorkspace';
|
|
21
21
|
|
|
22
22
|
var LocalHistoryTimeline_1;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
2
|
-
import { SyncDescriptor } from '
|
|
3
|
-
import { Registry } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
4
|
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/views';
|
|
5
5
|
import { VIEW_CONTAINER } from 'vscode/vscode/vs/workbench/contrib/files/browser/explorerViewlet';
|
|
6
6
|
import { TimelinePaneId, ITimelineService } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
|
|
7
7
|
import { TimelineHasProviderContext } from '../common/timelineService.js';
|
|
8
8
|
import { TimelinePane } from './timelinePane.js';
|
|
9
|
-
import { Extensions } from '
|
|
10
|
-
import { ContextKeyExpr } from '
|
|
11
|
-
import { MenuRegistry, MenuId } from '
|
|
12
|
-
import { CommandsRegistry } from '
|
|
9
|
+
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
10
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
|
+
import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
12
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
13
13
|
import { ExplorerFolderContext } from 'vscode/vscode/vs/workbench/contrib/files/common/files';
|
|
14
14
|
import { ResourceContextKey } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
15
|
-
import { Codicon } from '
|
|
16
|
-
import { registerIcon } from '
|
|
15
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
16
|
+
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
17
17
|
|
|
18
18
|
const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localizeWithPath(
|
|
19
19
|
'vs/workbench/contrib/timeline/browser/timeline.contribution',
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/timelinePane.css.js';
|
|
3
|
-
import { localize2WithPath, localizeWithPath } from '
|
|
4
|
-
import
|
|
5
|
-
import { ActionRunner } from '
|
|
6
|
-
import { CancellationTokenSource } from '
|
|
3
|
+
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { clearNode, append, $, asCSSUrl } from 'vscode/vscode/vs/base/browser/dom';
|
|
5
|
+
import { ActionRunner } from 'vscode/vscode/vs/base/common/actions';
|
|
6
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
7
7
|
import { fromNow } from 'vscode/vscode/vs/base/common/date';
|
|
8
|
-
import { debounce } from '
|
|
9
|
-
import { Emitter } from '
|
|
10
|
-
import { createMatches } from '
|
|
11
|
-
import { Iterable } from '
|
|
12
|
-
import { DisposableStore, Disposable } from '
|
|
13
|
-
import { Schemas } from '
|
|
14
|
-
import { ILabelService } from '
|
|
15
|
-
import { escapeRegExpCharacters } from '
|
|
16
|
-
import { URI } from '
|
|
17
|
-
import { IconLabel } from '
|
|
8
|
+
import { debounce } from 'vscode/vscode/vs/base/common/decorators';
|
|
9
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
10
|
+
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
11
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
12
|
+
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
13
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
14
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
15
|
+
import { escapeRegExpCharacters } from 'vscode/vscode/vs/base/common/strings';
|
|
16
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
17
|
+
import { IconLabel } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabel';
|
|
18
18
|
import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
19
|
-
import { WorkbenchObjectTree } from '
|
|
20
|
-
import { IKeybindingService } from '
|
|
21
|
-
import { IContextMenuService } from '
|
|
22
|
-
import { RawContextKey, ContextKeyExpr, IContextKeyService } from '
|
|
23
|
-
import { IConfigurationService } from '
|
|
24
|
-
import { IInstantiationService } from '
|
|
19
|
+
import { WorkbenchObjectTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
20
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
21
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
22
|
+
import { RawContextKey, ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
23
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
24
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
25
25
|
import { ITimelineService } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
|
|
26
26
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
27
27
|
import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
28
|
-
import { CommandsRegistry, ICommandService } from '
|
|
29
|
-
import { IThemeService } from '
|
|
30
|
-
import { ThemeIcon } from '
|
|
28
|
+
import { CommandsRegistry, ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
29
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
30
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
31
31
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
32
|
-
import { IProgressService } from '
|
|
33
|
-
import { IOpenerService } from '
|
|
34
|
-
import { ActionBar } from '
|
|
35
|
-
import { createActionViewItem, createAndFillInContextMenuActions } from '
|
|
36
|
-
import { MenuId, registerAction2, Action2, MenuRegistry, IMenuService } from '
|
|
37
|
-
import { ITelemetryService } from '
|
|
38
|
-
import { ActionViewItem } from '
|
|
39
|
-
import { ColorScheme } from '
|
|
40
|
-
import { Codicon } from '
|
|
41
|
-
import { registerIcon } from '
|
|
32
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
33
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
34
|
+
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
35
|
+
import { createActionViewItem, createAndFillInContextMenuActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
36
|
+
import { MenuId, registerAction2, Action2, MenuRegistry, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
37
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
38
|
+
import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
|
|
39
|
+
import { ColorScheme } from 'vscode/vscode/vs/platform/theme/common/theme';
|
|
40
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
41
|
+
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
42
42
|
import { API_OPEN_EDITOR_COMMAND_ID, API_OPEN_DIFF_EDITOR_COMMAND_ID } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommands';
|
|
43
|
-
import { isString } from '
|
|
44
|
-
import { renderMarkdownAsPlaintext } from '
|
|
43
|
+
import { isString } from 'vscode/vscode/vs/base/common/types';
|
|
44
|
+
import { renderMarkdownAsPlaintext } from 'vscode/vscode/vs/base/browser/markdownRenderer';
|
|
45
45
|
import { IHoverService } from 'vscode/vscode/vs/workbench/services/hover/browser/hover';
|
|
46
|
-
import { IUriIdentityService } from '
|
|
46
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
47
47
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
48
|
-
import { IStorageService } from '
|
|
48
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
49
49
|
|
|
50
50
|
const ItemHeight = 22;
|
|
51
51
|
function isLoadMoreCommand(item) {
|
|
@@ -368,7 +368,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
|
|
|
368
368
|
this.$message.classList.add('hide');
|
|
369
369
|
}
|
|
370
370
|
resetMessageElement() {
|
|
371
|
-
|
|
371
|
+
clearNode(this.$message);
|
|
372
372
|
}
|
|
373
373
|
get hasVisibleItems() {
|
|
374
374
|
return this._visibleItemCount > 0;
|
|
@@ -723,7 +723,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
|
|
|
723
723
|
super.renderBody(container);
|
|
724
724
|
this.$container = container;
|
|
725
725
|
container.classList.add('tree-explorer-viewlet-tree-view', 'timeline-tree-view');
|
|
726
|
-
this.$message =
|
|
726
|
+
this.$message = append(this.$container, $('.message'));
|
|
727
727
|
this.$message.classList.add('timeline-subtle');
|
|
728
728
|
this.message = ( localizeWithPath(
|
|
729
729
|
'vs/workbench/contrib/timeline/browser/timelinePane',
|
|
@@ -895,14 +895,14 @@ class TimelineElementTemplate {
|
|
|
895
895
|
static { this.id = 'TimelineElementTemplate'; }
|
|
896
896
|
constructor(container, actionViewItemProvider, hoverDelegate) {
|
|
897
897
|
container.classList.add('custom-view-tree-node-item');
|
|
898
|
-
this.icon =
|
|
898
|
+
this.icon = append(container, $('.custom-view-tree-node-item-icon'));
|
|
899
899
|
this.iconLabel = ( new IconLabel(
|
|
900
900
|
container,
|
|
901
901
|
{ supportHighlights: true, supportIcons: true, hoverDelegate: hoverDelegate }
|
|
902
902
|
));
|
|
903
|
-
const timestampContainer =
|
|
904
|
-
this.timestamp =
|
|
905
|
-
const actionsContainer =
|
|
903
|
+
const timestampContainer = append(this.iconLabel.element, $('.timeline-timestamp-container'));
|
|
904
|
+
this.timestamp = append(timestampContainer, $('span.timeline-timestamp'));
|
|
905
|
+
const actionsContainer = append(this.iconLabel.element, $('.actions'));
|
|
906
906
|
this.actionBar = ( new ActionBar(actionsContainer, { actionViewItemProvider: actionViewItemProvider }));
|
|
907
907
|
}
|
|
908
908
|
dispose() {
|
|
@@ -977,7 +977,7 @@ let TimelineTreeRenderer = class TimelineTreeRenderer {
|
|
|
977
977
|
const iconUrl = icon ? URI.revive(icon) : null;
|
|
978
978
|
if (iconUrl) {
|
|
979
979
|
template.icon.className = 'custom-view-tree-node-item-icon';
|
|
980
|
-
template.icon.style.backgroundImage =
|
|
980
|
+
template.icon.style.backgroundImage = asCSSUrl(iconUrl);
|
|
981
981
|
template.icon.style.color = '';
|
|
982
982
|
}
|
|
983
983
|
else if (item.themeIcon) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Emitter } from '
|
|
3
|
-
import { ILogService } from '
|
|
2
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
4
4
|
import { TimelinePaneId } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
|
|
5
5
|
import { IViewsService } from 'vscode/vscode/vs/workbench/common/views';
|
|
6
|
-
import { IConfigurationService } from '
|
|
7
|
-
import { RawContextKey, IContextKeyService } from '
|
|
6
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
7
|
+
import { RawContextKey, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
8
|
|
|
9
9
|
const TimelineHasProviderContext = ( new RawContextKey('timelineHasProvider', false));
|
|
10
10
|
let TimelineService = class TimelineService {
|