forked from microsoft/azuredatastudio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/model backed ui (microsoft#1145)
This is an initial PR for a new model-driven UI where extensions can provide definitions of the components & how they're laid out using Containers. microsoft#1140, microsoft#1141, microsoft#1142, microsoft#1143 and microsoft#1144 are all tracking additional work needed to improve the initial implementation and fix some issues with the implementation. Features: - Supports defining a FlexContainer that maps to a flexbox-based layout. - Supports creating a card component, which is a key-value pair based control that will lay out simple information to a user. Eventually this will have an optional set of actions associated with it. - Has a sample project which shows how to use the API and was used for verification
- Loading branch information
1 parent
e022f4a
commit b2c70e9
Showing
63 changed files
with
13,238 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
*.vsix | ||
typings/sqlops.proposed.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// A launch configuration that launches the extension inside a new window | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
|
||
// To debug the extension: | ||
// 1. please install the "SQL Operations Studio Debug" extension into VSCode | ||
// 2. Ensure sqlops is added to your path: | ||
// - open SQL Operations Studio | ||
// - run the command "Install 'sqlops' command in PATH" | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
|
||
{ | ||
"name": "Debug in SqlOps install", | ||
"type": "sqlopsExtensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "sqlops", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
] | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "attach", | ||
"name": "Attach to Ops Studio", | ||
"protocol": "inspector", | ||
"port": 5870, | ||
"restart": true, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/**/*.js" | ||
], | ||
"preLaunchTask": "", | ||
"timeout": 25000 | ||
}, | ||
{ | ||
"name": "Debug in enlistment", | ||
"type": "sqlopsExtensionHost", | ||
"request": "launch", | ||
"windows": { | ||
"runtimeExecutable": "${workspaceFolder}/../../scripts/sql.bat" | ||
}, | ||
"osx": { | ||
"runtimeExecutable": "${workspaceFolder}/../../scripts/sql.sh" | ||
}, | ||
"linux": { | ||
"runtimeExecutable": "${workspaceFolder}/../../scripts/sql.sh" | ||
}, | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
], | ||
"timeout": 20000 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "gulp", | ||
"task": "build", | ||
"problemMatcher": [ | ||
"$gulp-tsc" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
.gitignore | ||
vsc-extension-quickstart.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is a sample extension that will show some basic model-backed UI scenarios. The long-term goal is to use SQL Service querying (e.g. see if Agent and other services are running) and visualize in interesting ways. Additional suggestions for improving this sample are welcome. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the Source EULA. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
"use strict"; | ||
|
||
// NOTE: These are es6 gulpfiles | ||
|
||
// Basic build tasks | ||
require('./tasks/buildtasks'); | ||
|
||
// VSIX generation tasks | ||
require('./tasks/packagetasks'); |
Oops, something went wrong.