Граф коммитов

324 Коммитов

Автор SHA1 Сообщение Дата
Benjin Dubishar 2ce2c8765a
setting the min height for a connection error message (#18367) 2024-11-07 15:46:01 -08:00
Hai Cao 4bca545551
Fix Message Pane Performance (#18314)
* add virtualization to message pane

* consolidate resizing

* move grid size to props to avoid manually resizing

* set messages at fixed intervals

* clean up code for 'complete' event

* message grid styling

* revert result set resize related changes

* fix region text

* fix msg grid height

* fix cell height
2024-11-06 12:39:50 -08:00
laurennat c7da546786
Added enable/disable actual plan for query plans (#18345)
* base for actual plan

* base actual plan

* made it work for multi batches

* change button appeearance based on wheter acutal plan is enabled

* fixed large whitespace diff

* added check to make sure exectuion plan state is not undefined

* pr comments

* more pr comments

* pr comments

* pr comments
2024-11-06 09:59:24 -08:00
Benjin Dubishar 2aa138dd90
Adding Preview labels to new features (#18355)
* Adding preview tag to a bunch of places

* loc

* shared command vis
2024-11-05 19:26:58 -08:00
Hai Cao 12950906da
Support copying all messages in the Message pane (#18332) 2024-10-29 16:12:51 -07:00
Aasim Khan 277e7153b5
Fixing test coverage by adding more report types and updating to nyc from Istanbul (#18309)
* Fixing test coverage by adding more report types and updating to nyc from istanbul

* Fixing typo

* Fixing typo 2

* Adding back test reporter, removing console stmts

* Fixing test task

* remove code coverage from pr build

* Fixing updated pr check
2024-10-23 17:12:31 -07:00
Aasim Khan 9336e40ebc
Adding some webview panel and user survey tests. (#18296)
* adding more tests

* Adding more tests

* Fixing typo and adding a single command for test coverage

* some survey tests

* adding more tests

* removing unused var

* Adding tests for later and never
2024-10-23 12:28:26 -07:00
Hai Cao 1338bf8e3a
Fix a few Query Result bugs: (#18234)
* remove query result auto focus after tab switch

* fix multi result in one batch

* fix grid f font

* message styling

* fix grgird header styling

* improve placeholder msg styling

* add a button to reveal query result panel

* hide message line

* add config check altlthough not actually needed

* use focus command insttead of show()
2024-10-15 23:01:06 -07:00
Aasim Khan 8d8a33eb02
Enabling test explorer for unit tests. (#18218) 2024-10-15 21:26:02 -07:00
laurennat b56329ed56
hid execution plan button under rich feature flag (#18219) 2024-10-15 15:40:01 -07:00
erpett e132fd10c2
vbump to 1.26 post release branch split (#18196) 2024-10-14 11:52:46 -07:00
Benjin Dubishar eb3b8e5f93
Adding prompt to enable new UI features (#18188)
* moving ux features to new config flag

* loc update

* Adding prompt to enable rich features and Do Not Show Again option

* loc updates

* missed this

* adding link for rich features learn more

* updating mock
2024-10-11 16:32:37 -07:00
laurennat 51c42e713e
Added Query Plan to results pane (#18124)
* exposed backend call for plan

* execution plan from query

* extract query text to use for execution plan

* execution plan in query results pane: still needs some polishing and cleaning up

* finished execution plan functionality in results pane; still need to clean up code

* little fixes and styling changes

* removed uneccesary console statement

* localization

* fixed formatting

* addressed some pr comments

* addressed some pr comments

* addressed some pr comments

* more pr comments

* encapsulated execution plan state within its own field

* removed typo

* integrated with multiple result sets

* fully integrated multiple result sets

* addressed some pr comments

* merged main, cleaned up integration

* centralized shared types

* centralized shared types

* removed uneccesary state variables, and fixed theming

* fixed contexts

* cleaned up code

* fixed themeing

* addressed more pr comments

* fix typing
2024-10-11 13:15:43 -07:00
Aasim Khan f0c03aa5ea
Adding inline refresh button for all OE nodes (#18174) 2024-10-09 14:34:07 -07:00
Aasim Khan 4ce85f1ce9
Fixing vsix and updating vsce (#18133)
* Fixing library

* Fixing node version
2024-10-03 15:53:07 -07:00
Aasim Khan 0c71cd2946
Adding user feedback webpage. (#18099)
* Adding user surveys

* Fixing lang to point to mssql

* Adding loc files

* adding temp userSurvey controller

* adding loc files

* adding boilerplate code

* Adding more boilerplate code

* Adding command

* Finishing survey

* Adding loc files

* Adding option to pass in user id

* Fixing cancelling panel

* Fixing some strings

* fixing stuff

* Refactor user survey page to use record for user answers

* Adding privacy statement

* Adding localization

* Fixing stuff and adding privacy statement link

* remove subtitle

* Making a helper function to get standard form

* Adding standard nps question to a bunch of important features

* Fixing nps prompts
2024-10-01 09:59:40 -07:00
Aasim Khan b6e85e78ef
Linting only staged files in precommit (#18096)
* Using lint staged to only check staged files

* adding lock file

* adding back removed package

* adding back yarn lock

* fixing ordering
2024-09-27 16:35:33 -07:00
Aasim Khan 5df902e38d
Fixing table designer bugs. (#18075) 2024-09-27 10:20:49 -07:00
Aasim Khan b2ed1ff69a
Eslint improvements. (#18086)
* Adding eslint cache to ignore

* Fixing eslint config

* Fixing gulp task to use eslint cache

* Updating packages and adding stylistic for missing semi rule

* linting some files

* Making localization and precommit run parallely

* fixing code linting
2024-09-26 13:37:49 -07:00
Benjin Dubishar 0b18b0d4ce
Adding azure browse functionality (#18072)
* querying Azure

* checkpoint

* checkpoint

* effects checkpoint

* filtering working

* Error handling

* strings and yarn lock update

* lint fixes

* reducing dependencies

* fixing typing

* Swapping to combobox for autocompletion

* localizing strings in controller

* localizing webview strings

* webview loc

* adding comment for subscription filtering
2024-09-25 15:49:50 -07:00
Aasim Khan fcf8be8697
Fixing pre-commit hooks and running yarn localization in precommit (#18065) 2024-09-19 18:54:39 -07:00
Lewis Sanchez 47a4c0e80a
Open Protocol Handlers for Opening Connection Dialog (#18047)
* Set up open protocol handler and open conn dialog

* Provide args to command handler

* Feed connection info into connection dialog

* Clean up parse URI logic

* Check for empty URI parameters

* Remove console log statement

* Support all options in parameters

* Always register the URI handler

* Stops processing args when connection string is provided

* Add jsDoc comments to protocol handler

* Fix formatting

* Fix formatting

* Fix formatting

* Address linting issues

* Fix linting

* Fix lint errors

* Fix linting errors

* Last lint fix
2024-09-19 15:06:45 -07:00
Aasim Khan fe73e2b4df
Add Prettier code formatting to repo (#18044)
* Adding config files

* Making lint step continue on error

* Fixing continue on error

* fixing continue on error
2024-09-17 13:13:21 -07:00
Hai Cao 4a849f9275
Add basic WebviewView-based query result panel (#18041)
* add basic query result page

* fix build

* add tab control

* update placeholder

* show rowcount in result container

* new grid files, wip

* fixed some build errors

* working grid

* add messags

* move query result to panel area

* wip

* formatted grid, wip

* check gridParent

* wire up getRows

* add hybridDataProvider & asyncDataView

* wip, move files into reactviews

* add back datawindow and virtualizedcollection to asyncdataview

* fix angular grid implementation

* wip, add cell selector plugins

* add back mixin for options, wip

* add rowNumberColumn plugin

* add grid refresh andlso clean up

* v0.1 result can load

* cut external type dep from react page

* fix query result build

* fix build & type check errors

* fix angular plugins

* switch to results tab once query is done

* add enableNewQueryResultFeature flag

* fix focus

* remove related changes

* more cleanups

* fix test

* remove mousewheelTableScroll plugin

* clean up extra lines and add loc

* fix initial query run

---------

Co-authored-by: Christopher Suh <chris.s.suh@gmail.com>
Co-authored-by: Christopher Suh (from Dev Box) <chsuh@microsoft.com>
2024-09-16 10:33:31 -07:00
Hai Cao 35e4aa83ec
fix extension icon (#18042) 2024-09-13 14:37:28 -07:00
Aasim Khan 9f19813cd3
Switching to new vscode localization api and library. (#18023)
* new loc

* Updating l10n directory

* Adding new xliff files

* updating git ignore

* remove old loc from nls

* removing old loc files

* remove old loc gulp taks

* Updating vscode ignore and package.json

* Reversing some change

* Adding loc to webview
Fixing task
fixing enu xlf file

* simple example for webview localization

* Adding back loc projects

* Fixing loc

* Adding bundle l10n files

* Adding an example for webview translation

* fixing loc tasks

* Fixing new loc strings

* undo change

* Adding missing strings

* Adding more info to loc readme

* Removing format strings from loc

* adding official documentation.

* Adding comment to explain the localization hook

* Adding more docs

* fixing tests

* fixing names

* Trying inline loc

* Adding missing files

* Fixing typos

* FIxing loc

* Delete src/connectionconfig/connectionDialogWebViewController.ts

* fixing doc
2024-09-07 07:04:44 -07:00
Aasim Khan edca18e2e8
Fixing icon names (#18027) 2024-09-06 11:48:42 -07:00
Aasim Khan 386ba2edbe
Adding filtering dialog to OE (#18000)
* Adding object explorer filtering boilerplate

* Adding advanced context to tree item

* Adding clear filter text

* Adding subtype attribute to tree node context

* Adding some filtering icons

* Localization text

* Adding missing properties in nodeinfo contract

* Adding complex context values

* Fixing tests, Adding support for choices and first iteration of ui without between operator

* renaming files

* Fixing filtering dialog usestate

* Fixing filter icon

* Fixing context menu label

* Fixing icon color

* Fixing initial focus

* Fixing UI rendering issue

* Removing unused imports

* Handling null case

* Added entry point for filtering

* adding proper handling for cancelled operation

* Fixing focus after closed
2024-09-05 13:07:21 -07:00
erpett 66b2257100
Update to 1.25 post release branch split (#18015) 2024-08-28 16:16:52 -07:00
Aasim Khan df11eb42b1
Adding settings for enable experimental features. (#18008) 2024-08-27 13:32:29 -07:00
laurennat 4d7baf870f
Execution Plan View (#17983)
* Trying to add azdata graph

* Fixing graph loading

* Fixing azdataGraph

* fixed entry point

* added state provider

* added webview controller

* fixed webview state

* added azdata graph view class

* view graph plan

* basic button functionality done

* basic formatting done

* basic zoom functionality done

* fixed background color bugs

* find nodes done

* cleaned up code

* highlight expensive operations done

* tooltips button done

* query cost and handling multiple graphs

* fixed query cost and load time

* fixed css for icon menu

* fixed multiple popups case

* added tooltips and changed find node popup size

* localization strings

* deleted extra file

* localization pt. 2

* localization pt 3

* minor changes

* added header for files

* restore files from main

* addressing pr comments pt. 1

* addressing pr comments pt. 2

* more pr comments

* more pr comments

* moved functions over to utils files

* added header to new utils file

* removed unneeded change to config file

* more specific command name

* keep default zoom on first load of graph

* added custom editor entry point for view

* various pr comments

* removed uncessary variable

* addressed race condition and moved util function

* pushing updated yarn.lock file

* addressed pr comments

---------

Co-authored-by: Aasim Khan <aaskhan@microsoft.com>
2024-08-26 16:56:15 -07:00
dependabot[bot] bdb9da5c47
Bump axios from 1.6.0 to 1.7.4 (#17993)
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 13:58:44 -07:00
Benjin Dubishar 3dc342e71a
Adding advanced connection settings pane to connection dialog (#17990)
* moving form components into tabs in react state

* Semicolons

* refactored out connection form

* connection string dialog also refactored out

* Moving files

* refactoring out the idea of hiding components that are on a different tab

* Consolidating form field creation

* creating components from STS response

* adding tooltips

* ts-ignore error from typecheck

* removing test reducer

* adding advanced options drawer

* Assigning advanced props to saved profile

* removing unused import; PR comments

* swapping console.logger

* controller localization

* cleaning up naming

* cleanup

* fixing string

* bumping STS to consume string fixes
2024-08-26 13:23:53 -07:00
Aasim Khan 179cb9d3a0
Fixing size of webviews in prod vsix files (#17975) 2024-08-13 11:00:34 -07:00
Aasim Khan 95337714ac
removing unused edit connection (#17967) 2024-08-06 16:55:28 -07:00
Aasim Khan eac76848be
Fixing add connection when OE is empty in experimental (#17966) 2024-08-06 16:55:13 -07:00
Aasim Khan bfc26e2c62
Adding daily build and test status to readme and publish test reports and coverage (#17957)
* Adding daily test

* fixing space

* fixing space

* removing npm fund

* remove gulp install

* switching to different action

* adding permission to write checks

* switch to junit in playwright

* Fixing reporter

* Adding badges and fixing badge title

* Adding code coverage

* remove publish action

* fixing path

* Adding coverage step

* switching to xml

* fixing stuff

* Adding check run for coverage

* Fixing summary object
2024-08-01 16:38:46 -07:00
Benjin Dubishar c2aee054b1
Bumping MSAL and Node to current/active versions (#17954)
* bump msal

* bumping node

* Updating pipeline to use Node 22
2024-07-31 10:25:49 -07:00
Aasim Khan ca383e62a2
moving some deps to devdeps to reduce package size (#17949) 2024-07-29 14:34:54 -07:00
Aasim Khan a3c514003b
New UI based add connection (#17939)
* Add ui based connection dialog

* Updating connection dialog icon

* Adding recent tab

* Adding icons for connection dialog

* adding form

* feat: Update connection dialog to include account information and support for updating connections

* feat: Add support for editing connections in connection dialog

* More fixes

* adding icon and fixing form

* Adding more fields and action buttons

* feat: Fix action button length check in ConnectionInfoFormContainer

* add validation messages

* feat: Add validation messages and fix action button length check in ConnectionInfoFormContainer

* Update ConnectionInfoFormContainer to use horizontal orientation for checkbox fields

* Adding boiler plate code for connectivity

* rewriting profile

* Adding some validations and adding basic connect method

* feat: Add Azure sign-in functionality to ConnectionDialogWebViewController

* Add validation messages and fix action button length check in ConnectionInfoFormContainer

* connection dialog connect code

* chore: Rename enablePreviewFeatures configuration option to enableExperimentalFeatures

* Adding prompt free connection handling

* Fix recent connection profile name

* fix: Set connection status to error when form validation fails

* Fixing edits

* Adding code to select and focus the connection node after it gets added

* reverting back extension launch

* chore: Update connection edit label to "Edit Connection"

* Fixing icons and form component values not properly being set

* Fixing connection profile field clearing logic

* Rewriting connection password handling in ConnectionDialogWebViewController for conn string

* fix: Handle case when 'Password=' is not found in connection string

* Adding database option

* Hiding old add connection when experimental features are enabled.

* Hiding duplicate connection

* downgrading vscode types

* Adding loading icon
2024-07-25 11:05:10 -07:00
Aasim Khan 1b20783b1e
Making playwright test work in pipelines (#17941)
* Adding playwright extension to recommended extension

* Fixing args

* Adding gulp commands for vscode

* Adding smoke test steps in pipeline

* Update npm dependencies and gulp commands

* chore: Add init script for Xvfb server

* chore: Add init script for MSSQL server

* chore: Update npm dependencies and gulp commands

* making test work on mac

* chore: Refactor testHelpers.ts to improve code readability and maintainability

* Adding mssql path

* chore: Update mssqlExtensionPath in launchVscodeWithMsSqlExt.ts

* reverting local changes

* syncing to main

* Adding xvfb to gulp

* removing unnecessary files

* chore: update npm test script name

* new way of doing things

* Removing disconnecting button

* chore: Refactor query execution test

* Fixing stuff

* Reverting some changes

* Removing carriage returns

* Removing carriage newlines

* Removing more carriage returns
2024-07-23 22:34:30 -07:00
Christopher Suh 0b1f2f32af
Add Connect/disconnect, change database options to query toolbar (#17938) 2024-07-22 14:24:06 -04:00
Aasim Khan 09343d65b8
Rename enablePreviewFeatures configuration option to enableExperimental features and hide the settings flag (#17932) 2024-07-17 15:53:08 -07:00
dependabot[bot] d252cbc82d
Bump ejs from 3.1.7 to 3.1.10 (#17896)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.7 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.7...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
2024-07-16 14:22:27 -07:00
dependabot[bot] 8abb4aaa35
Bump tar from 6.1.9 to 6.2.1 (#17893)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.9 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.9...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 14:20:39 -07:00
erpett 7bad01694d
VBump 1.24 post release branch split (#17929) 2024-07-15 11:34:51 -07:00
Aasim Khan 6d88fbc1ea
Adding eslint rules for react and fixing some errors (#17921) 2024-07-09 09:43:03 -07:00
Lewis Sanchez a7e228df9e
Sets up E2E tests with playwright and adds tests (#17917)
* init playwright set up

* Remove unneeded files

* Configure playwright & clean up tests

* Correct gulp set up

* Fix playwright config

* Sets up playwright test boilerplate

* Clean up playwright config file

* Fix timeout issue with init setup

* Add first test

* Rename first test file

* Clean up test

* Clean up

* Adds connection test

* Changes directory name to e2e

* Disconnect from SQL server

* Clean up

* Minor clean up

* Minor adjustment to test hooks

* Add e2e test readme

* Fix formatting in README

* Rename utility file

* Capture screenshots on error

* Read vsCodeVersionName from .env

* Uses env variables to load test conn values

* Adds instructions to .env file

* Adds query execution tests

* Corrects instructions in example .env

* Update E2E test readme.

* Add user name, and password env vars
2024-07-08 17:11:12 -07:00
Aasim Khan deac5f4564
Integrating React App into extension src files and switching from 'Vite+Rollup' to Esbuild (#17919)
* Adding working esbuild

* switching to esbuild in gulpfile

* Fixing eslint config

* chore: Remove commented out code in gulpfile.js

* feat: Add loader configuration for TypeScript, JavaScript, and JSON files in gulpfile.js for building extension

* Fixing theme on initial startup

* chore: Fix casing in import statements for VscodeWebViewProvider

* Fixing file name case

* Refactor import statements for designer components

* chore: Refactor import statements for designer components

* add style file to ReactWebViewPanelController

* chore: Bundle extension files and update localization in gulpfile.js

* Adding back tsc for extension code

* Fixing react warnings

* chore: Refactor import statements for designer components

* Fixing react view html

* reverting changes to telemetry

* adding back prelaunch task

* Fixing gulp task names

* Remove unused esbuild file

* Remove unnecessary excluded paths from tsconfig.json

* Update webview panel ID to 'mssql-react-webview'

* restoring some old files

* Adding typecheck to reactviews

* Ignore reactviews folder in test coverage
2024-07-08 13:45:16 -07:00
Aasim Khan 39d434cedc Fixing table designer command names 2024-07-07 15:06:06 -07:00