Commit Graph

7649 Commits

Author SHA1 Message Date
Alexander Ivanov
0f598dd30b Add sqlproj property to trace the origin of the project. (#18670)
* Add sqlproj property to trace the origin of the project.

As part of the database migration process (schema conversion, in particular) we want to be able to tell when converted schemas are being built/deployed to the actual database server. Given that we rely on the SQL Database Projects ADS extension for the compilation/deployment, we don't have too many options other than updating the said extension.

The suggested approach is to make the following changes:
1) Add new property to the sqlproj file (called `DatabaseSource`), which will maintain the origin(s) of the project. The property can contain multiple values (separated by semicolon), in case same project contains objects produced by multiple sources (extract schema, convert from another database, etc.).
2) During build and deploy actions, send the well-known values from the newly added property to the telemetry. We don't want to send any random value of the property, as it may raise some privacy concerns. Instead we define a list of the well-known values that we know do not carry any personal information and send those, if they are specified.

This change adds all necessary APIs to the SQl Database projects extension which will be consumed by our migration extensions to populate new `DatabaseSource` property.

* Use `undefined` instead of `null`

Co-authored-by: Kim Santiago <kisantia@microsoft.com>
2022-04-18 11:38:10 -07:00
csigs
20a291334e Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220416160637768. (#19131) 2022-04-18 09:22:03 -07:00
Alan Ren
6578e5e4cf Fix High Contrast theme name (#19125) 2022-04-15 14:19:12 -07:00
Charles Gagnon
784f8ac963 Fix SQL Binding when creating new project (#19118)
* Fix SQL Binding when creating new project

* Use sql binding templates

* fix openDialog to use select

Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
2022-04-15 13:46:15 -07:00
Alan Ren
5ec567a4f7 add title for color box (#19121) 2022-04-15 12:56:07 -07:00
Kim Santiago
794daa3440 add SDK option to create project from db quickpick (#19100)
* Add SDK option to create project from db quickpick

* cleanup
2022-04-15 09:57:48 -07:00
csigs
ec638e2b40 Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220415154237106. (#19115) 2022-04-15 09:18:09 -07:00
Vasu Bhog
e1cf51653e remove extra error message (#19110) 2022-04-14 16:50:22 -07:00
Lewis Sanchez
010107aea8 Telemetry for Query Execution Plans (#19039)
* Adds telemetry around how the properties window is opened

* Adds telemetry around accessing execution plan top operations

* Adds key for viewing top operations

* Adds telemetry around using the open query button and context menu item

* Adds telemetry around execution plan zoom in, out, to fit, and custom

* Adds telemetry around searching for nodes in execution plans

* Reduces telemetry additional properties to 1.

* Code review changes

* Removes unnecessary export
2022-04-14 11:41:35 -07:00
Charles Gagnon
d202fd703e Combine azure-resource.d.ts into azurecore.d.ts (#19047) 2022-04-14 11:06:45 -07:00
Lucy Zhang
e9b678494c skip manage packages test (#19089) 2022-04-14 10:54:15 -07:00
Barbara Valdez
7a8681481e fix cell nav (#19082) 2022-04-14 10:49:17 -07:00
Cory Rivera
8bd5ea5c84 Only update hover execution state if cell is not active. (#19073) 2022-04-14 10:19:58 -07:00
csigs
02064efcaa Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220414154555496. (#19087) 2022-04-14 10:00:56 -07:00
Cory Rivera
8747ac5c52 Add .NET Interactive extension info to product.json. (#19069) 2022-04-14 10:00:23 -07:00
Udeesha Gautam
02f859ac92 fix for sensitive text in output message (#19071) 2022-04-14 09:54:06 -07:00
Aasim Khan
d7f8b0bfed Fixing parallism icon not showing up (#19085) 2022-04-14 00:19:36 -07:00
Aasim Khan
192f7cc390 Fixing broken action label logic. (#19086)
* Fixing broken action label logic.

* Cleaning up some code
2022-04-14 00:19:07 -07:00
Vasu Bhog
ca05e01144 Fix connectionSettingName for create azure function with sql binding (#19008)
* fix connectionSettingName for create azure function with sql binding

* add sql binding user enters connection string manually

* address comments + fix test

* final comments
2022-04-13 15:53:27 -07:00
Aasim Khan
7dfa347250 Updating the cache element and not an unlinked reference to it. (#19057) 2022-04-13 14:33:35 -07:00
Alan Ren
e073c012af vbump sts (#19053) 2022-04-13 13:27:16 -07:00
Benjin Dubishar
6c1b13b8be updated svg (#19034) 2022-04-13 11:20:19 -07:00
Lucy Zhang
fb07ba9e04 Add smoke test for manage packages wizard (#19018)
* start manage packages smoke test

* fix addpackage

* remove wait for loading spinner

* check cell output gone

* check wizard tab is done initializing
2022-04-13 07:50:15 -07:00
brian-harris
fcd4c6e15b bug - use new cancel/cutover api format (#19037)
* bug - use new cancel/cutover api format

* fix telemetry bug with unregistered ir
2022-04-12 19:50:14 -07:00
Alex Ma
b342a2df7e [Loc] added updated strings for sql-migration (#19033) 2022-04-12 17:30:06 -07:00
Kim Santiago
5c823e436a update schema compare version to 1.13.1 (#19026) 2022-04-12 16:43:14 -07:00
brian-harris
3a0ac7279a Dev/brih/feature/switch ads to portal context (#18963)
* Add CodeQL Analysis workflow (#10195)

* Add CodeQL Analysis workflow

* Fix path

* dashboard refactor

* update version, readme, minor ui changes

* fix merge issue

* Revert "Add CodeQL Analysis workflow (#10195)"

This reverts commit fe98d586cd75be4758ac544649bb4983accf4acd.

* fix context switching issue

* fix resource id parsing error and mi api version

* mv refresh btn, rm autorefresh, align cards

* remove missed autorefresh code

* improve error handling and messages

* fix typos

* remove duplicate/unnecessary  _populate* calls

* change clear configuration button text

* remove confusing watermark text

* add stale account handling

Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
2022-04-12 16:26:40 -07:00
Cory Rivera
d98a421035 Enable cell cancellation for Interactive notebooks (#19005)
* Also added a check to prevent multiple Interactive cells from executing simultaneously.
2022-04-12 15:12:22 -07:00
Alan Ren
1d7e5925a9 bring in fixes for a few table designer issues (#19020) 2022-04-12 15:11:22 -07:00
Aasim Khan
387f4cd116 Adding caching to execution plan and refactoring code and some other fixes (#18913)
* Making ep code modular for easy swithcing in and out

* Changing to innerText

* Fixing renames

* Fixing var name in one file
2022-04-12 12:52:24 -07:00
Vasu Bhog
675969eebc suppress create function prompt (#18962) 2022-04-12 11:25:44 -07:00
Lewis Sanchez
4e5846c2c1 Updates azdataGraph package version to 0.0.20 (#19009) 2022-04-12 10:50:35 -07:00
Kim Santiago
2d68b2bbce hide convert to sdk-style from project context menu (#19002)
* hide convert to sdk-style from project context menu

* bump version since 0.16.0 was released in insiders
2022-04-12 09:45:02 -07:00
Aasim Khan
dd2d6e0b5c Adding link support to infobox. (#18876) 2022-04-11 20:39:41 -07:00
Aasim Khan
170950dca8 Adding badge icons to execution plan (#19004)
* Adding badge icons to executionplan

* Fixing doc comment

* Fixing doc comments

* Making enum value more readable

* Changing default to undefined.

* Fixing some icon names
2022-04-11 14:44:07 -07:00
Alex Ma
a577c3feca [Loc] added hiderefreshtask string (#19000) 2022-04-11 10:45:03 -07:00
csigs
6d81b02c18 Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220411153724338. (#18995)
Co-authored-by: Alex Ma <alma1@microsoft.com>
2022-04-11 10:21:01 -07:00
csigs
7a41bfc167 Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220410153816807. (#18992) 2022-04-11 10:04:23 -07:00
csigs
90176658fd Juno: check in to lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220409154211117. (#18990) 2022-04-11 10:04:09 -07:00
Alan Ren
fe1aefdd5f fix table designer issues (#18988)
* fix table designer issues

* commit change on blur

* new sts
2022-04-10 12:09:33 -07:00
Aasim Khan
9fcfe5b23c Adding flag to hide refresh button in dashboards. (#18964) 2022-04-09 17:52:09 -07:00
Cory Rivera
c2cc32a4a0 Add option to use notebook json contents instead of file string when creating a notebook. (#18972) 2022-04-08 16:39:14 -07:00
Alex Ma
828c6760e2 [Loc] update to sql-database-projects (#18983) 2022-04-08 15:38:54 -07:00
Hai Cao
0738c148ca A few table designer improvements && bump STS to .227 (#18982)
* Add unified col for data type deit

* remove seperate type setting cols and rename unified col to 'type'

* remove advanced type from properties window

* add description to col, idx, constraints

* nit

* bump STS to .227
2022-04-08 15:00:56 -07:00
Maddy
4191ef8aa5 Fix active cell update on tabbing (#18614)
* listen on focus_in of toolbar

* update styles on focus_in

* listen for active cell change on notebook componen

* add tabbing order to textcells

* remove duplicate listener

* clean up

* undo

* remove visible check from cellToolbar

* remove duplicate detectChanges on updateActiveCell

* only update active cell if it's already not

* add aria-label for accessibility

* localize the aria label

* refactor

* add cellLabel property to CellModel

* remove updateActiveCell from code component

* regression from merge fix

* set edit mode as true when focusing on cell

* moce check to model

* merge changes correctly

* update edit mode if code cell

* fixes

Co-authored-by: barbaravaldez <bavaldez@microsoft.com>
Co-authored-by: chgagnon <chgagnon@microsoft.com>
2022-04-08 12:31:30 -07:00
Alex Ma
41b639c7d6 [Loc] update to sql-bindings (#18978) 2022-04-08 11:21:26 -07:00
Alan Ren
c04f78981c retrieve the data from display data source (#18973) 2022-04-08 11:13:29 -07:00
Aditya Bist
197d56a29b Fix new table issue (#18974)
* fix new table issue

* fix new table scenario

* simplify logic
2022-04-08 11:10:30 -07:00
Alex Ma
cd7c94976c [Loc] Last update to langpack source files for April release. (#18977)
* [Loc] update xlfs

* [Loc] Last source file updates
2022-04-08 10:52:01 -07:00
Vasu Bhog
ed8d2f9927 Fix for user using command palette (#18948)
* fix for user using command palette command

* rework if a user uses the create azure function via the command

* for now only show in vs code

* move logic to azureFunctionService + address comments

* fix command location

* address comments

* fix validateFunction
2022-04-08 10:28:45 -07:00