parent
d115bb2a97
commit
c45540033a
2 changed files with 20 additions and 2 deletions
|
@ -175,13 +175,20 @@
|
|||
}
|
||||
|
||||
.monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlide.categories .getting-started-categories-container {
|
||||
/* display: flex;
|
||||
flex-wrap: wrap; */
|
||||
justify-content: center;
|
||||
max-width: 900px;
|
||||
margin: 32px auto;
|
||||
}
|
||||
|
||||
.monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlide.categories .getting-started-categories-container .no-categories {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlide.categories .getting-started-categories-container .no-categories:first-child {
|
||||
display: block;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlide.categories .getting-started-categories-scrolling-container {
|
||||
overflow: scroll;
|
||||
height: 100%;
|
||||
|
|
|
@ -214,6 +214,10 @@ export class GettingStartedPage extends EditorPane {
|
|||
this.commandService.executeCommand('workbench.action.openRecent');
|
||||
break;
|
||||
}
|
||||
case 'configureVisibility': {
|
||||
this.commandService.executeCommand('workbench.action.openSettings', hiddenEntriesConfigurationKey);
|
||||
break;
|
||||
}
|
||||
case 'openFolder': {
|
||||
this.commandService.executeCommand(isMacintosh ? 'workbench.action.files.openFileFolder' : 'workbench.action.files.openFolder');
|
||||
break;
|
||||
|
@ -403,6 +407,13 @@ export class GettingStartedPage extends EditorPane {
|
|||
categoriesContainer.appendChild(element);
|
||||
});
|
||||
|
||||
categoriesContainer.appendChild(
|
||||
$('.no-categories', {},
|
||||
localize('no categories', "No remaining walkthroughs."),
|
||||
$('button.button-link', { 'x-dispatch': 'configureVisibility' }, localize('configure visiblity', "Configure visibility?")))
|
||||
);
|
||||
|
||||
|
||||
categoryScrollContainer.appendChild(categoriesContainer);
|
||||
|
||||
if (this.categoriesScrollbar) { this.categoriesScrollbar.dispose(); }
|
||||
|
|
Loading…
Reference in a new issue