@codingame/monaco-vscode-api 9.0.0 → 9.0.3
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 +8 -8
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +8 -8
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +27 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +216 -216
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +130 -130
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +5 -5
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -47,7 +47,7 @@ var GlobalCompositeBar_1;
|
|
|
47
47
|
let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
48
48
|
static { GlobalCompositeBar_1 = this; }
|
|
49
49
|
static { this.ACCOUNTS_ACTION_INDEX = 0; }
|
|
50
|
-
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(
|
|
50
|
+
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(6950, "Accounts icon in the view bar."))); }
|
|
51
51
|
constructor(contextMenuActionsProvider, colors, activityHoverOptions, configurationService, instantiationService, storageService, extensionService) {
|
|
52
52
|
super();
|
|
53
53
|
this.contextMenuActionsProvider = contextMenuActionsProvider;
|
|
@@ -75,7 +75,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
75
75
|
hoverOptions: this.activityHoverOptions
|
|
76
76
|
}, contextMenuAlignmentOptions, (actions) => {
|
|
77
77
|
actions.unshift(...[
|
|
78
|
-
toAction({ id: 'hideAccounts', label: ( localize(
|
|
78
|
+
toAction({ id: 'hideAccounts', label: ( localize(6951, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }),
|
|
79
79
|
( (new Separator()))
|
|
80
80
|
]);
|
|
81
81
|
});
|
|
@@ -83,7 +83,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
83
83
|
throw ( (new Error(`No view item for action '${action.id}'`)));
|
|
84
84
|
},
|
|
85
85
|
orientation: ActionsOrientation.VERTICAL,
|
|
86
|
-
ariaLabel: ( localize(
|
|
86
|
+
ariaLabel: ( localize(6952, "Manage")),
|
|
87
87
|
preventLoopNavigation: true
|
|
88
88
|
}))));
|
|
89
89
|
if (this.accountsVisibilityPreference) {
|
|
@@ -109,7 +109,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
109
109
|
return this.globalActivityActionBar.viewItems.length;
|
|
110
110
|
}
|
|
111
111
|
getContextMenuActions() {
|
|
112
|
-
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(
|
|
112
|
+
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(6953, "Accounts")), checked: this.accountsVisibilityPreference, run: () => this.accountsVisibilityPreference = !this.accountsVisibilityPreference })];
|
|
113
113
|
}
|
|
114
114
|
toggleAccountsActivity() {
|
|
115
115
|
if (this.globalActivityActionBar.length() === 2 && this.accountsVisibilityPreference) {
|
|
@@ -250,7 +250,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
250
250
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, fillContextMenuActions, themeService, lifecycleService, hoverService, contextMenuService, menuService, contextKeyService, authenticationService, environmentService, productService, configurationService, keybindingService, secretStorageService, logService, activityService, instantiationService, commandService) {
|
|
251
251
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
252
252
|
id: ACCOUNTS_ACTIVITY_ID,
|
|
253
|
-
name: ( localize(
|
|
253
|
+
name: ( localize(6953, "Accounts")),
|
|
254
254
|
classNames: ThemeIcon.asClassNameArray(GlobalCompositeBar.ACCOUNTS_ICON)
|
|
255
255
|
});
|
|
256
256
|
super(MenuId.AccountsContext, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -322,7 +322,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
322
322
|
let menus = [];
|
|
323
323
|
for (const providerId of providers) {
|
|
324
324
|
if (!this.initialized) {
|
|
325
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
325
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6954, "Loading...")), undefined, false))));
|
|
326
326
|
menus.push(noAccountsAvailableAction);
|
|
327
327
|
break;
|
|
328
328
|
}
|
|
@@ -330,7 +330,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
330
330
|
const accounts = this.groupedAccounts.get(providerId);
|
|
331
331
|
if (!accounts) {
|
|
332
332
|
if (( (this.problematicProviders.has(providerId)))) {
|
|
333
|
-
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(
|
|
333
|
+
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(6955, '{0} is currently unavailable', providerLabel)), undefined, false))));
|
|
334
334
|
menus.push(providerUnavailableAction);
|
|
335
335
|
try {
|
|
336
336
|
await this.addAccountsFromProvider(providerId);
|
|
@@ -344,7 +344,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
344
344
|
for (const account of accounts) {
|
|
345
345
|
const manageExtensionsAction = toAction({
|
|
346
346
|
id: `configureSessions${account.label}`,
|
|
347
|
-
label: ( localize(
|
|
347
|
+
label: ( localize(6956, "Manage Trusted Extensions")),
|
|
348
348
|
enabled: true,
|
|
349
349
|
run: () => this.commandService.executeCommand('_manageTrustedExtensionsForAccount', { providerId, accountLabel: account.label })
|
|
350
350
|
});
|
|
@@ -352,7 +352,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
352
352
|
if (account.canSignOut) {
|
|
353
353
|
providerSubMenuActions.push(toAction({
|
|
354
354
|
id: 'signOut',
|
|
355
|
-
label: ( localize(
|
|
355
|
+
label: ( localize(6957, "Sign Out")),
|
|
356
356
|
enabled: true,
|
|
357
357
|
run: () => this.commandService.executeCommand('_signOutOfAccount', { providerId, accountLabel: account.label })
|
|
358
358
|
}));
|
|
@@ -366,7 +366,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
if (providers.length && !menus.length) {
|
|
369
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
369
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6958, "You are not signed in to any accounts")), undefined, false))));
|
|
370
370
|
menus.push(noAccountsAvailableAction);
|
|
371
371
|
}
|
|
372
372
|
if (menus.length && otherCommands.length) {
|
|
@@ -466,7 +466,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
466
466
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService) {
|
|
467
467
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
468
468
|
id: GLOBAL_ACTIVITY_ID,
|
|
469
|
-
name: ( localize(
|
|
469
|
+
name: ( localize(6952, "Manage")),
|
|
470
470
|
classNames: ThemeIcon.asClassNameArray(userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON)
|
|
471
471
|
});
|
|
472
472
|
super(MenuId.GlobalActivity, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -511,7 +511,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
511
511
|
}
|
|
512
512
|
computeTitle() {
|
|
513
513
|
return this.userDataProfileService.currentProfile.isDefault ? super.computeTitle() : ( localize(
|
|
514
|
-
|
|
514
|
+
6959,
|
|
515
515
|
"Manage {0} (Profile)",
|
|
516
516
|
this.userDataProfileService.currentProfile.name
|
|
517
517
|
));
|
|
@@ -592,12 +592,12 @@ SimpleGlobalActivityActionViewItem = ( (__decorate([
|
|
|
592
592
|
function simpleActivityContextMenuActions(storageService, isAccount) {
|
|
593
593
|
const currentElementContextMenuActions = [];
|
|
594
594
|
if (isAccount) {
|
|
595
|
-
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(
|
|
595
|
+
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(6951, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }), ( (new Separator())));
|
|
596
596
|
}
|
|
597
597
|
return [
|
|
598
598
|
...currentElementContextMenuActions,
|
|
599
|
-
toAction({ id: 'toggle.hideAccounts', label: ( localize(
|
|
600
|
-
toAction({ id: 'toggle.hideManage', label: ( localize(
|
|
599
|
+
toAction({ id: 'toggle.hideAccounts', label: ( localize(6953, "Accounts")), checked: isAccountsActionVisible(storageService), run: () => setAccountsActionVisible(storageService, !isAccountsActionVisible(storageService)) }),
|
|
600
|
+
toAction({ id: 'toggle.hideManage', label: ( localize(6952, "Manage")), checked: true, enabled: false, run: () => { throw ( (new Error('"Manage" can not be hidden'))); } })
|
|
601
601
|
];
|
|
602
602
|
}
|
|
603
603
|
function isAccountsActionVisible(storageService) {
|
|
@@ -8,16 +8,16 @@ import { IClipboardService } from '../../../../platform/clipboard/common/clipboa
|
|
|
8
8
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
9
9
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
10
10
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
11
|
-
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(
|
|
12
|
-
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(
|
|
13
|
-
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(
|
|
14
|
-
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(
|
|
15
|
-
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(
|
|
16
|
-
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(
|
|
17
|
-
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(
|
|
11
|
+
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(7602, 'Icon for the clear action in notifications.')));
|
|
12
|
+
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(7603, 'Icon for the clear all action in notifications.')));
|
|
13
|
+
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(7604, 'Icon for the hide action in notifications.')));
|
|
14
|
+
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(7605, 'Icon for the expand action in notifications.')));
|
|
15
|
+
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(7606, 'Icon for the collapse action in notifications.')));
|
|
16
|
+
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(7607, 'Icon for the configure action in notifications.')));
|
|
17
|
+
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(7608, 'Icon for the mute all action in notifications.')));
|
|
18
18
|
let ClearNotificationAction = class ClearNotificationAction extends Action {
|
|
19
19
|
static { this.ID = CLEAR_NOTIFICATION; }
|
|
20
|
-
static { this.LABEL = ( localize(
|
|
20
|
+
static { this.LABEL = ( localize(7609, "Clear Notification")); }
|
|
21
21
|
constructor(id, label, commandService) {
|
|
22
22
|
super(id, label, ThemeIcon.asClassName(clearIcon));
|
|
23
23
|
this.commandService = commandService;
|
|
@@ -31,7 +31,7 @@ ClearNotificationAction = ( (__decorate([
|
|
|
31
31
|
], ClearNotificationAction)));
|
|
32
32
|
let ClearAllNotificationsAction = class ClearAllNotificationsAction extends Action {
|
|
33
33
|
static { this.ID = CLEAR_ALL_NOTIFICATIONS; }
|
|
34
|
-
static { this.LABEL = ( localize(
|
|
34
|
+
static { this.LABEL = ( localize(7610, "Clear All Notifications")); }
|
|
35
35
|
constructor(id, label, commandService) {
|
|
36
36
|
super(id, label, ThemeIcon.asClassName(clearAllIcon));
|
|
37
37
|
this.commandService = commandService;
|
|
@@ -45,7 +45,7 @@ ClearAllNotificationsAction = ( (__decorate([
|
|
|
45
45
|
], ClearAllNotificationsAction)));
|
|
46
46
|
let ToggleDoNotDisturbAction = class ToggleDoNotDisturbAction extends Action {
|
|
47
47
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE; }
|
|
48
|
-
static { this.LABEL = ( localize(
|
|
48
|
+
static { this.LABEL = ( localize(7611, "Toggle Do Not Disturb Mode")); }
|
|
49
49
|
constructor(id, label, commandService) {
|
|
50
50
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
51
51
|
this.commandService = commandService;
|
|
@@ -59,7 +59,7 @@ ToggleDoNotDisturbAction = ( (__decorate([
|
|
|
59
59
|
], ToggleDoNotDisturbAction)));
|
|
60
60
|
let ToggleDoNotDisturbBySourceAction = class ToggleDoNotDisturbBySourceAction extends Action {
|
|
61
61
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE; }
|
|
62
|
-
static { this.LABEL = ( localize(
|
|
62
|
+
static { this.LABEL = ( localize(7612, "Toggle Do Not Disturb Mode By Source...")); }
|
|
63
63
|
constructor(id, label, commandService) {
|
|
64
64
|
super(id, label);
|
|
65
65
|
this.commandService = commandService;
|
|
@@ -73,14 +73,14 @@ ToggleDoNotDisturbBySourceAction = ( (__decorate([
|
|
|
73
73
|
], ToggleDoNotDisturbBySourceAction)));
|
|
74
74
|
class ConfigureDoNotDisturbAction extends Action {
|
|
75
75
|
static { this.ID = 'workbench.action.configureDoNotDisturbMode'; }
|
|
76
|
-
static { this.LABEL = ( localize(
|
|
76
|
+
static { this.LABEL = ( localize(7613, "Configure Do Not Disturb...")); }
|
|
77
77
|
constructor(id, label) {
|
|
78
78
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
let HideNotificationsCenterAction = class HideNotificationsCenterAction extends Action {
|
|
82
82
|
static { this.ID = HIDE_NOTIFICATIONS_CENTER; }
|
|
83
|
-
static { this.LABEL = ( localize(
|
|
83
|
+
static { this.LABEL = ( localize(7614, "Hide Notifications")); }
|
|
84
84
|
constructor(id, label, commandService) {
|
|
85
85
|
super(id, label, ThemeIcon.asClassName(hideIcon));
|
|
86
86
|
this.commandService = commandService;
|
|
@@ -94,7 +94,7 @@ HideNotificationsCenterAction = ( (__decorate([
|
|
|
94
94
|
], HideNotificationsCenterAction)));
|
|
95
95
|
let ExpandNotificationAction = class ExpandNotificationAction extends Action {
|
|
96
96
|
static { this.ID = EXPAND_NOTIFICATION; }
|
|
97
|
-
static { this.LABEL = ( localize(
|
|
97
|
+
static { this.LABEL = ( localize(7615, "Expand Notification")); }
|
|
98
98
|
constructor(id, label, commandService) {
|
|
99
99
|
super(id, label, ThemeIcon.asClassName(expandIcon));
|
|
100
100
|
this.commandService = commandService;
|
|
@@ -108,7 +108,7 @@ ExpandNotificationAction = ( (__decorate([
|
|
|
108
108
|
], ExpandNotificationAction)));
|
|
109
109
|
let CollapseNotificationAction = class CollapseNotificationAction extends Action {
|
|
110
110
|
static { this.ID = COLLAPSE_NOTIFICATION; }
|
|
111
|
-
static { this.LABEL = ( localize(
|
|
111
|
+
static { this.LABEL = ( localize(7616, "Collapse Notification")); }
|
|
112
112
|
constructor(id, label, commandService) {
|
|
113
113
|
super(id, label, ThemeIcon.asClassName(collapseIcon));
|
|
114
114
|
this.commandService = commandService;
|
|
@@ -122,7 +122,7 @@ CollapseNotificationAction = ( (__decorate([
|
|
|
122
122
|
], CollapseNotificationAction)));
|
|
123
123
|
class ConfigureNotificationAction extends Action {
|
|
124
124
|
static { this.ID = 'workbench.action.configureNotification'; }
|
|
125
|
-
static { this.LABEL = ( localize(
|
|
125
|
+
static { this.LABEL = ( localize(7617, "More Actions...")); }
|
|
126
126
|
constructor(id, label, notification) {
|
|
127
127
|
super(id, label, ThemeIcon.asClassName(configureIcon));
|
|
128
128
|
this.notification = notification;
|
|
@@ -130,7 +130,7 @@ class ConfigureNotificationAction extends Action {
|
|
|
130
130
|
}
|
|
131
131
|
let CopyNotificationMessageAction = class CopyNotificationMessageAction extends Action {
|
|
132
132
|
static { this.ID = 'workbench.action.copyNotificationMessage'; }
|
|
133
|
-
static { this.LABEL = ( localize(
|
|
133
|
+
static { this.LABEL = ( localize(7618, "Copy Text")); }
|
|
134
134
|
constructor(id, label, clipboardService) {
|
|
135
135
|
super(id, label);
|
|
136
136
|
this.clipboardService = clipboardService;
|
|
@@ -47,21 +47,21 @@ class NotificationsAlerts extends Disposable {
|
|
|
47
47
|
let alertText;
|
|
48
48
|
if (notification.severity === Severity$1.Error) {
|
|
49
49
|
alertText = ( localize(
|
|
50
|
-
|
|
50
|
+
3233,
|
|
51
51
|
"Error: {0}",
|
|
52
52
|
(notification.message.linkedText.toString())
|
|
53
53
|
));
|
|
54
54
|
}
|
|
55
55
|
else if (notification.severity === Severity$1.Warning) {
|
|
56
56
|
alertText = ( localize(
|
|
57
|
-
|
|
57
|
+
3234,
|
|
58
58
|
"Warning: {0}",
|
|
59
59
|
(notification.message.linkedText.toString())
|
|
60
60
|
));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
alertText = ( localize(
|
|
64
|
-
|
|
64
|
+
3235,
|
|
65
65
|
"Info: {0}",
|
|
66
66
|
(notification.message.linkedText.toString())
|
|
67
67
|
));
|
|
@@ -101,11 +101,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
101
101
|
updateTitle() {
|
|
102
102
|
const [notificationsCenterTitle, clearAllAction] = assertAllDefined(this.notificationsCenterTitle, this.clearAllAction);
|
|
103
103
|
if (this.model.notifications.length === 0) {
|
|
104
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
104
|
+
notificationsCenterTitle.textContent = ( localize(3226, "No new notifications"));
|
|
105
105
|
clearAllAction.enabled = false;
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
108
|
+
notificationsCenterTitle.textContent = ( localize(3227, "Notifications"));
|
|
109
109
|
clearAllAction.enabled = ( (this.model.notifications.some(notification => !notification.hasProgress)));
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -124,7 +124,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
124
124
|
const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
|
|
125
125
|
const that = this;
|
|
126
126
|
const notificationsToolBar = this._register(( (new ActionBar(toolbarContainer, {
|
|
127
|
-
ariaLabel: ( localize(
|
|
127
|
+
ariaLabel: ( localize(3228, "Notification Center Actions")),
|
|
128
128
|
actionRunner,
|
|
129
129
|
actionViewItemProvider: (action, options) => {
|
|
130
130
|
if (action.id === ConfigureDoNotDisturbAction.ID) {
|
|
@@ -132,7 +132,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
132
132
|
getActions() {
|
|
133
133
|
const actions = [toAction({
|
|
134
134
|
id: ToggleDoNotDisturbAction.ID,
|
|
135
|
-
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(
|
|
135
|
+
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(3229, "Enable Do Not Disturb Mode")) : ( localize(3230, "Disable Do Not Disturb Mode")),
|
|
136
136
|
run: () => that.notificationService.setFilter(that.notificationService.getFilter() === NotificationsFilter.OFF ? NotificationsFilter.ERROR : NotificationsFilter.OFF)
|
|
137
137
|
})];
|
|
138
138
|
const sortedFilters = that.notificationService.getFilters().sort((a, b) => a.label.localeCompare(b.label));
|
|
@@ -152,7 +152,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
152
152
|
}
|
|
153
153
|
if (sortedFilters.length > NotificationsCenter_1.MAX_NOTIFICATION_SOURCES) {
|
|
154
154
|
actions.push(( (new Separator())));
|
|
155
|
-
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(
|
|
155
|
+
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(3231, "More…")))));
|
|
156
156
|
}
|
|
157
157
|
return actions;
|
|
158
158
|
},
|
|
@@ -173,7 +173,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
173
173
|
const hideAllAction = this._register(this.instantiationService.createInstance(HideNotificationsCenterAction, HideNotificationsCenterAction.ID, HideNotificationsCenterAction.LABEL));
|
|
174
174
|
notificationsToolBar.push(hideAllAction, { icon: true, label: false, keybinding: this.getKeybindingLabel(hideAllAction) });
|
|
175
175
|
this.notificationsList = this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
|
|
176
|
-
widgetAriaLabel: ( localize(
|
|
176
|
+
widgetAriaLabel: ( localize(3232, "Notifications Center"))
|
|
177
177
|
});
|
|
178
178
|
this.container.appendChild(this.notificationsCenterContainer);
|
|
179
179
|
}
|
|
@@ -235,7 +235,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
235
235
|
filter: source.filter
|
|
236
236
|
}))));
|
|
237
237
|
picker.canSelectMany = true;
|
|
238
|
-
picker.placeholder = ( localize(
|
|
238
|
+
picker.placeholder = ( localize(3217, "Select sources to enable all notifications from"));
|
|
239
239
|
picker.selectedItems = picker.items.filter(item => item.filter === NotificationsFilter.OFF);
|
|
240
240
|
picker.show();
|
|
241
241
|
disposables.add(picker.onDidAccept(async () => {
|
|
@@ -250,14 +250,14 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
250
250
|
}));
|
|
251
251
|
disposables.add(picker.onDidHide(() => disposables.dispose()));
|
|
252
252
|
});
|
|
253
|
-
const category = ( localize2(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(
|
|
260
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(
|
|
253
|
+
const category = ( localize2(3218, 'Notifications'));
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(3219, 'Show Notifications')), category } });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(3220, 'Hide Notifications')), category }, when: NotificationsCenterVisibleContext });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(3221, 'Clear All Notifications')), category } });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(3222, 'Accept Notification Primary Action')), category } });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(3223, 'Toggle Do Not Disturb Mode')), category } });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(3224, 'Toggle Do Not Disturb Mode By Source...')), category } });
|
|
260
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(3225, 'Focus Notification Toast')), category }, when: NotificationsToastsVisibleContext });
|
|
261
261
|
}
|
|
262
262
|
let NotificationActionRunner = class NotificationActionRunner extends ActionRunner {
|
|
263
263
|
constructor(telemetryService, notificationService) {
|
|
@@ -168,29 +168,29 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
|
|
|
168
168
|
let accessibleViewHint;
|
|
169
169
|
const keybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView')?.getAriaLabel();
|
|
170
170
|
if (this._configurationService.getValue('accessibility.verbosity.notification')) {
|
|
171
|
-
accessibleViewHint = keybinding ? ( localize(
|
|
172
|
-
|
|
171
|
+
accessibleViewHint = keybinding ? ( localize(7595, "Inspect the response in the accessible view with {0}", keybinding)) : ( localize(
|
|
172
|
+
7596,
|
|
173
173
|
"Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
|
|
174
174
|
));
|
|
175
175
|
}
|
|
176
176
|
if (!element.source) {
|
|
177
|
-
return accessibleViewHint ? ( localize(
|
|
177
|
+
return accessibleViewHint ? ( localize(7597, "{0}, notification, {1}", element.message.raw, accessibleViewHint)) : ( localize(7598, "{0}, notification", element.message.raw));
|
|
178
178
|
}
|
|
179
179
|
return accessibleViewHint ? ( localize(
|
|
180
|
-
|
|
180
|
+
7599,
|
|
181
181
|
"{0}, source: {1}, notification, {2}",
|
|
182
182
|
element.message.raw,
|
|
183
183
|
element.source,
|
|
184
184
|
accessibleViewHint
|
|
185
185
|
)) : ( localize(
|
|
186
|
-
|
|
186
|
+
7600,
|
|
187
187
|
"{0}, source: {1}, notification",
|
|
188
188
|
element.message.raw,
|
|
189
189
|
element.source
|
|
190
190
|
));
|
|
191
191
|
}
|
|
192
192
|
getWidgetAriaLabel() {
|
|
193
|
-
return this._options.widgetAriaLabel ?? ( localize(
|
|
193
|
+
return this._options.widgetAriaLabel ?? ( localize(7601, "Notifications List"));
|
|
194
194
|
}
|
|
195
195
|
getRole() {
|
|
196
196
|
return 'dialog';
|
|
@@ -48,9 +48,9 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
let statusProperties = {
|
|
51
|
-
name: ( localize(
|
|
51
|
+
name: ( localize(3236, "Notifications")),
|
|
52
52
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-dot)' : '$(bell)'}`,
|
|
53
|
-
ariaLabel: ( localize(
|
|
53
|
+
ariaLabel: ( localize(3236, "Notifications")),
|
|
54
54
|
command: this.isNotificationsCenterVisible ? HIDE_NOTIFICATIONS_CENTER : SHOW_NOTIFICATIONS_CENTER,
|
|
55
55
|
tooltip: this.getTooltip(notificationsInProgress),
|
|
56
56
|
showBeak: this.isNotificationsCenterVisible
|
|
@@ -59,8 +59,8 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
59
59
|
statusProperties = {
|
|
60
60
|
...statusProperties,
|
|
61
61
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-slash-dot)' : '$(bell-slash)'}`,
|
|
62
|
-
ariaLabel: ( localize(
|
|
63
|
-
tooltip: ( localize(
|
|
62
|
+
ariaLabel: ( localize(3237, "Do Not Disturb")),
|
|
63
|
+
tooltip: ( localize(3238, "Do Not Disturb Mode is Enabled"))
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
if (!this.notificationsCenterStatusItem) {
|
|
@@ -72,28 +72,28 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
72
72
|
}
|
|
73
73
|
getTooltip(notificationsInProgress) {
|
|
74
74
|
if (this.isNotificationsCenterVisible) {
|
|
75
|
-
return ( localize(
|
|
75
|
+
return ( localize(3239, "Hide Notifications"));
|
|
76
76
|
}
|
|
77
77
|
if (this.model.notifications.length === 0) {
|
|
78
|
-
return ( localize(
|
|
78
|
+
return ( localize(3240, "No Notifications"));
|
|
79
79
|
}
|
|
80
80
|
if (notificationsInProgress === 0) {
|
|
81
81
|
if (this.newNotificationsCount === 0) {
|
|
82
|
-
return ( localize(
|
|
82
|
+
return ( localize(3241, "No New Notifications"));
|
|
83
83
|
}
|
|
84
84
|
if (this.newNotificationsCount === 1) {
|
|
85
|
-
return ( localize(
|
|
85
|
+
return ( localize(3242, "1 New Notification"));
|
|
86
86
|
}
|
|
87
|
-
return ( localize(
|
|
87
|
+
return ( localize(3243, "{0} New Notifications", this.newNotificationsCount));
|
|
88
88
|
}
|
|
89
89
|
if (this.newNotificationsCount === 0) {
|
|
90
|
-
return ( localize(
|
|
90
|
+
return ( localize(3244, "No New Notifications ({0} in progress)", notificationsInProgress));
|
|
91
91
|
}
|
|
92
92
|
if (this.newNotificationsCount === 1) {
|
|
93
|
-
return ( localize(
|
|
93
|
+
return ( localize(3245, "1 New Notification ({0} in progress)", notificationsInProgress));
|
|
94
94
|
}
|
|
95
95
|
return ( localize(
|
|
96
|
-
|
|
96
|
+
3246,
|
|
97
97
|
"{0} New Notifications ({1} in progress)",
|
|
98
98
|
this.newNotificationsCount,
|
|
99
99
|
notificationsInProgress
|
|
@@ -138,7 +138,7 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
138
138
|
let statusMessageEntry;
|
|
139
139
|
let showHandle = setTimeout(() => {
|
|
140
140
|
statusMessageEntry = this.statusbarService.addEntry({
|
|
141
|
-
name: ( localize(
|
|
141
|
+
name: ( localize(3247, "Status Message")),
|
|
142
142
|
text: message,
|
|
143
143
|
ariaLabel: message
|
|
144
144
|
}, 'status.message', StatusbarAlignment.LEFT, -Number.MAX_VALUE );
|
|
@@ -140,9 +140,9 @@ let NotificationsToasts = class NotificationsToasts extends Themable {
|
|
|
140
140
|
verticalScrollMode: ScrollbarVisibility.Hidden,
|
|
141
141
|
widgetAriaLabel: (() => {
|
|
142
142
|
if (!item.source) {
|
|
143
|
-
return ( localize(
|
|
143
|
+
return ( localize(3214, "{0}, notification", item.message.raw));
|
|
144
144
|
}
|
|
145
|
-
return ( localize(
|
|
145
|
+
return ( localize(3215, "{0}, source: {1}, notification", item.message.raw, item.source));
|
|
146
146
|
})()
|
|
147
147
|
});
|
|
148
148
|
itemDisposables.add(notificationList);
|
|
@@ -96,7 +96,7 @@ class NotificationMessageRenderer {
|
|
|
96
96
|
let title = node.title;
|
|
97
97
|
if (!title && node.href.startsWith('command:')) {
|
|
98
98
|
title = ( localize(
|
|
99
|
-
|
|
99
|
+
10658,
|
|
100
100
|
"Click to execute command '{0}'",
|
|
101
101
|
node.href.substr('command:'.length)
|
|
102
102
|
));
|
|
@@ -155,7 +155,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
155
155
|
const toolbarContainer = document.createElement('div');
|
|
156
156
|
toolbarContainer.classList.add('notification-list-item-toolbar-container');
|
|
157
157
|
data.toolbar = ( (new ActionBar(toolbarContainer, {
|
|
158
|
-
ariaLabel: ( localize(
|
|
158
|
+
ariaLabel: ( localize(10659, "Notification Actions")),
|
|
159
159
|
actionViewItemProvider: (action, options) => {
|
|
160
160
|
if (action instanceof ConfigureNotificationAction) {
|
|
161
161
|
return data.toDispose.add(( (new DropdownMenuActionViewItem(action, {
|
|
@@ -166,7 +166,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
166
166
|
const isSourceFiltered = that.notificationService.getFilter(source) === NotificationsFilter.ERROR;
|
|
167
167
|
actions.push(toAction({
|
|
168
168
|
id: source.id,
|
|
169
|
-
label: isSourceFiltered ? ( localize(
|
|
169
|
+
label: isSourceFiltered ? ( localize(10660, "Turn On All Notifications from '{0}'", source.label)) : ( localize(10661, "Turn Off Info and Warning Notifications from '{0}'", source.label)),
|
|
170
170
|
run: () => that.notificationService.setFilter({ ...source, filter: isSourceFiltered ? NotificationsFilter.OFF : NotificationsFilter.ERROR })
|
|
171
171
|
}));
|
|
172
172
|
if (action.notification.actions?.secondary?.length) {
|
|
@@ -328,7 +328,7 @@ let NotificationTemplateRenderer = class NotificationTemplateRenderer extends Di
|
|
|
328
328
|
}
|
|
329
329
|
renderSource(notification, sourceCustomHover) {
|
|
330
330
|
if (notification.expanded && notification.source) {
|
|
331
|
-
this.template.source.textContent = ( localize(
|
|
331
|
+
this.template.source.textContent = ( localize(10662, "Source: {0}", notification.source));
|
|
332
332
|
sourceCustomHover.update(notification.source);
|
|
333
333
|
}
|
|
334
334
|
else {
|