* wip
* wip
* weird splitview scrolling stuff
* working table
* remove spliceable table
* handling resizing columns
* get perf table integrated into grid
* make more improvments to table view
* testing
* wip
* wip
* fix async data window; add more optimization to scrolling
* work on scrolling
* fix column resizing
* start working on table widget
* inital work to get table widget working with styles and mouse controls
* fix unrendering selection; fix sizes of cells
* support high perf table option; remove unused files; add cell borders to high perf
* add accessibility tags
* handle borders and row count
* more styling changfes
* fix strict null checks
* adding inital keyboard navigation
* center row count; add padding left to rows
* inital drag selection
* remove drag implementation; it can be done better utilizing the global mouse monitor object
* range logic
* create custom grid range
* work with new range
* remove unused code
* fix how plus range works
* add drag selection; change focus to set selection; fix problem with creating a range with inverse start and end
* code cleanup
* fix strict-null-checks
* fix up perf table
* fix layering
* inital table service
* finish table service
* fix some compile errors
* fix compile
* fix compile
* fix up for use
* fix layering
* remove console use
* fix strict nulls
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* fix word wrap support in the message panel
* fix width on message treee
* fix import
* fix settings editor to reflect the changes in the settings ids
* fix tests
* add configuration upgrader
* make sure to maintian execution order
* make the compiler happy
* add tests for upgrader
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* another commmit
* Now shows blank grid, nullcheck in queryhistory
* renamed onAngularLoaded to onComponentLoaded
* removed whitespace
* removed unused dataservice import
* now displays data, need to fix contextmenu actions
* minor changes
* another small commit
* added timeout for context menu
* updated queryhistoryserviceimpl
* removed log
* added commented out contextmenuregistrations
* context menu now shows up need to test
* added plugin registration WIP
* another commit
* yet another commit
* added wip function
* Clean up commit
* more cleaning up
* removed accessor
* renamed instances of parts
* updated
* fixed merge conflicts
* refactored bootstrapparams
* fixed code
* small changes to format
* set editable to true for testing
* added more options
* moved options to separate variable
* added texteditorclass for later
* added rudimentary create editor support
* changed grid.resize.emit to fire
* added formatterfactory
* added tslint disable
* removed debug message
* added more functions from Slickgrid.ts
* added wip handlechanges function
* another change
* added columndefinitions
* Managed to display table using handlechange
* added ability to edit for now
* added changes to table creation
* added setupevents
* added onInit
* fixed sql.xlf
* minor changes
* tidying up
* more cleaning up
* changed console.log messages to debug ones.
* added this.enableEditing
* made changes to getoverridabletexteditor
* fixed opencontextmenu
* added timeout for detectChange
* need to find way to run oncontext asynchronously
* check stuff
* oncontextmenu now no longer constantly refreshes
* added oldDataRows for future use
* add check for datarows
* small changes made
* set enableediting to true
* more changes
* added additional information for handlechanges
* another change
* more changes
* set enableediting to true
* fixed rerender
* added small test mssage for jquery
* text editor is in getOverridableTextEditorClass()
* removed debug messages
* added transparency for input.editor for table.
* need to find out how to add editing for input
* Added grid div to make slickgrid style work
* reinstated selected.
* disabled selectedcellcssclass
* restored selected
* removed selectionmodel due to not being found in the original code
* Added externalSelectionModel for correct results
* removed selectionmodel as its not used.
* WIP work on refreshresultsets
* temporarily bringing back selection model for now
* added getSelectedRanges from slickgrid into Table
* added getselectedranges from slickgrid into table
* small cleanup changes
* removed detectchanges
* removed last of detectchanges
* return of toprownumber
* no need for toprownumber
* removed isColumnLoading
* some small formatting
* fixed null check
* added back todo comment
* Added fix for context menu
* small change
* added missing value to getFormatter in grid panel
* added fix for last row italics
* added fix for null inconsistencies
* Some consolidation
* added new check for null cells
* minor change
* add check for selections (usually undefined)
* removed null check in formatters
* Some changes made
* changed plugins array
* removed todo
* renamed some variables
* deleted html file
* Moved height and width to editData.css
* added box-sizing for slickgridcontainer
* fixed editdatagridpanel css
* added small changes
* More minor changes
* removed params
* renamed refreshResultsets to refreshDatasets
* removed the stylesheet.remove lines
* added fix for null
* removed tables
* removed spaces in refreshGrid
* More minor changes
* optimization and formatting
* removal of unnecessary lines
* replaced firstRender in some parts with firstLoad
* Added timeout fix
* minor changes
* Still testing
* cleanup
* restored 200 timeout
* added styling changes for editdata
* removed angular2-slickgrid and added styling
* Small formatting changes to editDataGridPanel
* consolidation
* update how we handle editors
* small edit
* handle changing languages
* implement generic language association
* implement notebook serializers
* fix tests
* formatting
* update how we handle editors
* small edit
* handle changing languages
* implement generic language association
* implement notebook serializers
* fix tests
* formatting
* fix broken
* fix compile
* fix tests
* add back in removed note book contributions
* fix layering
* fix compile errors
* fix workbench
* fix hanging promises
* idk why these changed
* fix change
* add comments to language change code
* fix a few bugs
* add query plan association
* wip
* make connection work with strict-nulls
* change comments
* fix tests; remove unneeded type forcing
* address feedback
* adjust the logic of query editor
* clean up typing
* Better cell selection
* Explicit return type and undefined assignment
* More complex copy/paste
* Get TS to be less mad at me
* Remove EoL
* Fail safe if statement
* strict null check
* 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
* extension recommendation on application launch
* Introducing Visualizer (SandDance) to the SQL Query Editor. (#6347)
* Created Visualizer icon in the results grid. Utilized a context key so that the icon only shows if Visualizer extensions (currently, just SandDance) is installed. Visualizer icon open up SandDance in a top-level document.
* When the user clicks on Charts, visualizer recommendation popup appears. User can click on "Install Extensions" to download the visualizer extensions.
* Enabled SQL Query Editor to pass query data to SandDance extension.
* Introducing Visualizer (SandDance) to the SQL Query Editor. (#6347)
* Created Visualizer icon in the results grid. Utilized a context key so that the icon only shows if Visualizer extensions (currently, just SandDance) is installed. Visualizer icon open up SandDance in a top-level document.
* When the user clicks on Charts, visualizer recommendation popup appears. User can click on "Install Extensions" to download the visualizer extensions.
* Enabled SQL Query Editor to pass query data to SandDance extension.
* Cleaned code; made changes according to PR comments
* removed the test service for extensions gallary
* Cleaned up code according to PR changes
* unid changes to build/azure-piplines
* Removed all the build/azure-pipelines changes
* removed changes on media/language.svg
* refactored extension recommendation system to allow it to be generic
* updated extensionsViews to support generic extension query search; added localized constants for visualizer extensions
* Made syntax and error message changes acccording to PR comments.
* Updated recommendation message according to scenario type
This is a staged refactor to use the exact same grid logic in the Notebook and query editors, including context menu support, font settings, and sizing logic. The goal long term is:
- As the core Query grid is updated, Notebook can benefit from the changes
- As we add in support for contributions like new buttons & actions working on the grid, can share the logic
- Ideally if and when we refactor things like the action bar for grid results, we can apply in both places though this is TBD.
Fixes a number of issues:
- Fixes#5755 Grids don't respond to font settings. @anthonydresser can we remove setting from each query results editor and just use Notebook Styles since these are global (not scoped) settings?
- Fixes#5501 Copy from grid settings.
- Fixes#4938 SQL Notebook result sets are missing the actions provide for SQL File results sets. this now has the core ability to solve this, and separate work items for specific asks (serialization, charting) are tracked.
Currently hidden:
- Save as... options in context menu
- All right toolbar actions (save as, chart).
Remaining issues to address in future commits:
- Need to implement support for serialization (#5137).
- Need to add charting support
- Need to solve the layout of buttons on the right hand side when a small number of columns are output. It doesn't look right that buttons are so far away from the results
- Will work with UX on this. For now, mitigating this by hiding all buttons, but will need to solve in the future
- Would like to make buttons contributable via extension, but need to refactor similar to ObjectExplorer context menu so that we can serialize context menu options across to extension host while still having internal actions with full support
Initial query execution options PR. This is the second in a set of query editor extensibility improvements I'm making. The PRs include (1) bug fix for webview in query tab (2) dynamic toolbars and (3) fix query event sequencing and event metadata info.