Query History feature (#6579)

* Initial commit

* Fix up QueryEventType

* Making query history visible in view and open query command (#6479)

* Add QueryInfo to query event events

* Pull actual query text/connection info for displaying

* cons and expand (#6489)

* Making query history visible in view and open query command

* expand and icons

* Failure icon enabled (#6491)

* Making query history visible in view and open query command

* expand and icons

* failure icon enabled

* Minor cleanup

* Open query with connection and add run query (#6496)

* Add initial query-history extension

* Fix issues caused by master merge, cleanup and add query-history extension (#6567)

* Open query with connection and add run query

* Fix issues caused by latest master merges, cleanup and add query-history extension

* Remove child nodes (#6568)

* Open query with connection and add run query

* Fix issues caused by latest master merges, cleanup and add query-history extension

* Remove child node expansion

* Layering movement and add delete action (#6574)

* Open query with connection and add run query

* Fix issues caused by latest master merges, cleanup and add query-history extension

* Remove child node expansion

* Some layering movement and add delete action

* Move query tracking into service (#6578)

* Open query with connection and add run query

* Fix issues caused by latest master merges, cleanup and add query-history extension

* Remove child node expansion

* Some layering movement and add delete action

* Move query history tracking into service

* Add comment

* Fix actions

* Remove unnecessary type

* cleanup

* Remove unused section of README

* Fix merge issues and address PR comments

* Fix compile and tslint errors

* Change startup function name
This commit is contained in:
Charles Gagnon
2019-09-11 08:23:59 -07:00
committed by GitHub
parent 7d49e75e46
commit c4b90360a5
36 changed files with 3446 additions and 19 deletions

View File

@@ -150,6 +150,8 @@ import { INotebookService } from 'sql/workbench/services/notebook/common/noteboo
import { OEShimService, IOEShimService } from 'sql/workbench/parts/objectExplorer/common/objectExplorerViewTreeShim';
import { IAdsTelemetryService } from 'sql/platform/telemetry/common/telemetry';
import { AdsTelemetryService } from 'sql/platform/telemetry/common/adsTelemetryService';
import { IQueryHistoryService } from 'sql/platform/queryHistory/common/queryHistoryService';
import { QueryHistoryService } from 'sql/platform/queryHistory/common/queryHistoryServiceImpl';
registerSingleton(IDashboardService, DashboardService);
registerSingleton(IDashboardViewService, DashboardViewService);
@@ -189,6 +191,7 @@ registerSingleton(INotebookService, NotebookService);
registerSingleton(IAccountPickerService, AccountPickerService);
registerSingleton(IProfilerService, ProfilerService);
registerSingleton(IAdsTelemetryService, AdsTelemetryService);
registerSingleton(IQueryHistoryService, QueryHistoryService);
// {{SQL CARBON EDIT}} - End
//#region --- workbench contributions
@@ -276,7 +279,10 @@ import 'sql/workbench/parts/editData/browser/editData.contribution';
// query plan editor
import 'sql/workbench/parts/queryPlan/electron-browser/queryPlan.contribution';
//acounts
// query history
import 'sql/workbench/parts/queryHistory/electron-browser/queryHistory.contribution';
//accounts
import 'sql/workbench/parts/accounts/browser/accounts.contribution';
//backup
@@ -331,3 +337,4 @@ import 'sql/workbench/parts/dashboard/browser/containers/dashboardModelViewConta
import 'sql/workbench/parts/dashboard/browser/core/dashboardTab.contribution';
import 'sql/workbench/parts/commandLine/electron-browser/commandLine.contribution';