Adding button for group by schema (#17566)

This commit is contained in:
Aasim Khan 2023-03-02 11:37:20 -08:00 коммит произвёл GitHub
Родитель 2218ad7fb8
Коммит 8e8a80109d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 78 добавлений и 4 удалений

Просмотреть файл

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<g id="canvas" opacity="0" fill="none">
<path d="M16,16H0V0H16Z" opacity="0" fill="none" />
</g>
<g id="level-1">
<g opacity="0.75">
<path d="M13,8.5V11H12V9H5v2H4V8.5L4.5,8H8V6H9V8h3.5Z" fill="#212121" />
</g>
<path d="M6.5,11h-4l-.5.5v3l.5.5h4l.5-.5v-3ZM6,14H3V12H6Zm8.5-3h-4l-.5.5v3l.5.5h4l.5-.5v-3ZM14,14H11V12h3ZM7,4.879l-1-1V2.5L6.5,2h4l.5.5v3l-.5.5h-4l-.043-.043.811-.811L7.121,5H10V3H7Z" fill="#212121" />
<path d="M2.5,11.5h4v3h-4Zm8,0v3h4v-3Zm0-6v-3h-4V4.379l.768.767L6.914,5.5Z" fill="#212121" opacity="0.1" />
<path d="M3.707,3,5.854,5.146l-.708.708L3,3.707.854,5.854.146,5.146,2.293,3,.146.854.854.146,3,2.293,5.146.146l.708.708Z" fill="#c50b17" />
</g>
</svg>

После

Ширина:  |  Высота:  |  Размер: 761 B

Просмотреть файл

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<g id="canvas" opacity="0" fill="none">
<path d="M16,16H0V0H16Z" opacity="0" fill="none" />
</g>
<g id="level-1">
<g opacity="0.75">
<path d="M13,8.5V11H12V9H5v2H4V8.5L4.5,8H8V6H9V8h3.5Z" fill="#fff" />
</g>
<path d="M6.5,11h-4l-.5.5v3l.5.5h4l.5-.5v-3ZM6,14H3V12H6Zm8.5-3h-4l-.5.5v3l.5.5h4l.5-.5v-3ZM14,14H11V12h3ZM7,4.879l-1-1V2.5L6.5,2h4l.5.5v3l-.5.5h-4l-.043-.043.811-.811L7.121,5H10V3H7Z" fill="#fff" />
<path d="M2.5,11.5h4v3h-4Zm8,0v3h4v-3Zm0-6v-3h-4V4.379l.768.767L6.914,5.5Z" fill="#212121" opacity="0.1" />
<path d="M3.707,3,5.854,5.146l-.708.708L3,3.707.854,5.854.146,5.146,2.293,3,.146.854.854.146,3,2.293,5.146.146l.708.708Z" fill="#FF0000" />
</g>
</svg>

После

Ширина:  |  Высота:  |  Размер: 755 B

Просмотреть файл

@ -0,0 +1,20 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs>
<style>.canvas{fill: none; opacity: 0;}.light-defaultgrey{fill: #212121; opacity: 1;}.light-defaultgrey-10{fill: #212121; opacity: 0.1;}.cls-1952ad0b7-668d-55f4-b661-43e649f93ef9{opacity:0.75;}</style>
</defs>
<title>IconLightHierarchy</title>
<g id="canvas" class="canvas">
<path class="canvas" d="M16,16H0V0H16Z" />
</g>
<g id="level-1">
<g class="cls-1952ad0b7-668d-55f4-b661-43e649f93ef9">
<path class="light-defaultgrey" d="M13,7.5V10H12V8H3v2H2V7.5L2.5,7H7V5H8V7h4.5Z" />
</g>
<path class="light-defaultgrey-10" d="M9.5.5v4h-4V.5Z" />
<path class="light-defaultgrey" d="M9.5,0h-4L5,.5v4l.5.5h4l.5-.5V.5ZM9,4H6V1H9Z" />
<path class="light-defaultgrey-10" d="M4.5,10.5v4H.5v-4Z" />
<path class="light-defaultgrey" d="M4.5,10H.5l-.5.5v4l.5.5h4l.5-.5v-4ZM4,14H1V11H4Z" />
<path class="light-defaultgrey-10" d="M14.5,10.5v4h-4v-4Z" />
<path class="light-defaultgrey" d="M14.5,10h-4l-.5.5v4l.5.5h4l.5-.5v-4ZM14,14H11V11h3Z" />
</g>
</svg>

После

Ширина:  |  Высота:  |  Размер: 1.0 KiB

Просмотреть файл

@ -0,0 +1,20 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs>
<style>.canvas{fill: none; opacity: 0;}.light-defaultgrey{fill: #fff; opacity: 1;}.light-defaultgrey-10{fill: #212121; opacity: 0.1;}.cls-1952ad0b7-668d-55f4-b661-43e649f93ef9{opacity:0.75;}</style>
</defs>
<title>IconLightHierarchy</title>
<g id="canvas" class="canvas">
<path class="canvas" d="M16,16H0V0H16Z" />
</g>
<g id="level-1">
<g class="cls-1952ad0b7-668d-55f4-b661-43e649f93ef9">
<path class="light-defaultgrey" d="M13,7.5V10H12V8H3v2H2V7.5L2.5,7H7V5H8V7h4.5Z" />
</g>
<path class="light-defaultgrey-10" d="M9.5.5v4h-4V.5Z" />
<path class="light-defaultgrey" d="M9.5,0h-4L5,.5v4l.5.5h4l.5-.5V.5ZM9,4H6V1H9Z" />
<path class="light-defaultgrey-10" d="M4.5,10.5v4H.5v-4Z" />
<path class="light-defaultgrey" d="M4.5,10H.5l-.5.5v4l.5.5h4l.5-.5v-4ZM4,14H1V11H4Z" />
<path class="light-defaultgrey-10" d="M14.5,10.5v4h-4v-4Z" />
<path class="light-defaultgrey" d="M14.5,10h-4l-.5.5v4l.5.5h4l.5-.5v-4ZM14,14H11V11h3Z" />
</g>
</svg>

После

Ширина:  |  Высота:  |  Размер: 1.0 KiB

Просмотреть файл

@ -252,13 +252,13 @@
"command": "mssql.objectExplorer.enableGroupBySchema",
"when": "view == objectExplorer && !config.mssql.objectExplorer.groupBySchema",
"title": "%mssql.objectExplorer.enableGroupBySchema%",
"group": "secondary"
"group": "navigation"
},
{
"command": "mssql.objectExplorer.disableGroupBySchema",
"when": "view == objectExplorer && config.mssql.objectExplorer.groupBySchema",
"title": "%mssql.objectExplorer.disableGroupBySchema%",
"group": "secondary"
"group": "navigation"
}
],
"view/item/context": [
@ -454,12 +454,20 @@
{
"command": "mssql.objectExplorer.enableGroupBySchema",
"title": "%mssql.objectExplorer.enableGroupBySchema%",
"category": "MS SQL"
"category": "MS SQL",
"icon": {
"dark": "media/groupBySchemaEnabled_inverse.svg",
"light": "media/groupBySchemaEnabled.svg"
}
},
{
"command": "mssql.objectExplorer.disableGroupBySchema",
"title": "%mssql.objectExplorer.disableGroupBySchema%",
"category": "MS SQL"
"category": "MS SQL",
"icon": {
"dark": "media/groupBySchemaDisabled_inverse.svg",
"light": "media/groupBySchemaDisabled.svg"
}
},
{
"command": "mssql.objectExplorerNewQuery",