* Use CodeEditor from react-utils which supports dark theme instead of deprecated EuiCodeEditor
* fix CI
* Fix CI
* Fix tests
* Update monaco_editor.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Now the new EuiDataGrid based document table is the default
* Columns can be sorted by drag and drop
* Column width can be changed by drag and drop
* There's a fullscreen mode
* There's document selection
* There's document navigation in the flyover of a expanded document
* Sorting is much more user friendly, less confusing and sort order can be changed by drag and drop
* Fix flaky SO import tests
* [will be reverted] remove all tests from CI group 8
* Revert "[will be reverted] remove all tests from CI group 8"
This reverts commit ede007ec
* Revert "[will be reverted] remove all tests from CI group 8"
This reverts commit ede007ec
* [Discover] Updating a functional test
* [Discover] Context view: add support for date nanos custom
* Remove unnecessary change to a functional test
* Fix failing unit tests
* Remove unnecessary intialization
* Add new type definition to data plugin
* Update docs
* Simplify return statement
* Removing unnecessary type export
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Makes lens default editor in dashboard
Added all editors menu to dashboard panel toolbar
Fixed toggle on editor menu
Removed unnecessary comments
Added data test subjects to editor menu buttons
Populated editor menu with vis types
Removed unused imports
Fixed imports
Adds showCreateNewMenu prop to AddPanelFlyout
Rearranged order of editor menu options
Fixed ts errors
Added groupnig to embeddable factory
Use embeddable state transfer service to redirect to editors
Added showGroups to TypeSelectionState
Fixed add panel flyout test
Fixed data test subjects
Fixed factory groupings
Removed unused import
Fixed page object
Added telemtry to dashboard toolbar
Added telemtry to editor menu
Fix ml embeddable functional tests
Fix lens dashboard test
Fix empty dashboard test
Fixed ts errors
Fixed time to visualize security test
Fixed empty dashboard test
Fixed clickAddNewEmbeddableLink in dashboardAddPanel service
Fixed agg based vis functional tests
Revert test changes
Fixed typo
Fix tests
Fix more tests
Fix ts errors
Fixed more tests
Fixed toolbar sizes and margins to align with lens
Fix tests
Fixed callbacks
Fixed button prop type
New vis modal copy updates
Added savedObjectMetaData to log stream embeddable factory
Addressed feedback
Fixed ts error
Fix more tests
Fixed ts errors
Updated dashboard empty prompt copy
Adds tooltip to log stream embeddable factory saved object meta data
Made icons monochrome in toolbar
Fixed icon colors in dark mode
Cleaned up css
Fixed ts errors
Updated snapshot
Fixed map icon color
* Added tooltips for ML embeddables
* Restored test
* Added empty dashboard panel test
* Fixed i18n id
* Fix dashboard_embedding test
* Removed unused service
* Fixed i18n error
* Added icon and description properties to embeddable factory definition
* Fixed ts errors
* Fixed expected value
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Discover] Updating a functional test
* [Discover] Support for edit operation
* Fix unit tests
* Fix typescript
* Fixing failing functional test
* Fixing wrongly commented line
* Uncomment accidentally commented line
* Reintroducing accidnetally removed unit test
* Trigger data refetch onSave
* Remove refreshAppState variable
* Bundling observers together
* Clean state before refetch
* Update formatting in data grid
* [Discover] Runtime fields editor : add operation
* [Discover] Updating a functional test
* Adding a functional test
* Fixing package.json
* Reset fieldCount after data fetch
* [Discover] Updating a functional test
* Don't allow editing of unmapped fields
* Add functionality
* Fix issues with mobile display
* Allow editing if it's a runtime field
* Add a functional test
* [Discover] Updating a functional test
* Add functional test
* Remove unnecessary debugger statement
* Add more tests
* Add delete functionality
* Include runtimeFields in doc search
* Add another functional test
* [Discover] Updating a functional test
* Fix failing i18n check
* Fix package.json
* Addressing PR comments
* Addressing design input
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Discover] Updating a functional test
* [Discover] Support for edit operation
* Fix unit tests
* Fix typescript
* Fixing failing functional test
* Fixing wrongly commented line
* Uncomment accidentally commented line
* Reintroducing accidnetally removed unit test
* Trigger data refetch onSave
* Remove refreshAppState variable
* Bundling observers together
* Clean state before refetch
* Update formatting in data grid
* [Discover] Updating a functional test
* Adding a functional test
* Fixing package.json
* Reset fieldCount after data fetch
* [Discover] Updating a functional test
* Don't allow editing of unmapped fields
* Fix issues with mobile display
* Allow editing if it's a runtime field
* [Discover] Updating a functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert
* tslint
* instead of forcing refresh on getIdsAndTitles, update index pattern service to add saved object to cache when index pattern is created
* simplify title check
* revert unneeded changes
* tslint
* api doc updates
* fix functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 50 fields are rendered initially, more fields are rendered while user is scrolling
* This is a big performance improvement when there are lots of fields to render
* Make 'enter time range' value as default and add telemetry for 'last value' mode
* Fix telemetry schema
* Fix test
* Add possibility count timeseries created from dashboard
* Fix remark
* Fix remark
* Fix problem with time_range_mode
* Fix tests
* Fix tests
* Fix tests for markdown and table
* exclude TSVB which have type as timeseries
* Add description for field in schema in telemetry
* Fix telemetry schema
* Fix some remarks
* Added check for hits
* fix CI
* fix CI
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* [TSVB] Enable `dual mode`, support index patterns and strings
* modify UI
* add migration script
* refactoring
* fix CI
* prefill the index pattern name
* modify UI
* modify UI
* update UI
* fix functional test
* some work
* remove callouts
* fix rollup test
* update UI
* fix typo
* add some unit tests
* add functional test
* fix CI
* correct labels
* fix ci group 12
* cleanup interface
* fix CI
* cleanup API
* fix some of PR comments
* move index patterns into so references
* remove wrong logic
* fix JEST
* fix some ui issues
* update sample data
* indexPatternObject -> indexPatternValue
* fix comments
* I have a dashboard with two TSVB viz. One with the default (haven't applied it to the combobox) and one with the logs. The filter contains fields only from the logs index pattern
* When I am on the string mode and try to write my index, sometimes some of the chars are not added or they are deleted while typing, something with the denounce maybe?
* fix merge conflicts
* Does this PR also supports runtime fields? I created one from the editor and I see that I can select it
* fix UI issue
* If I create a viz with the string mode and a wildcard e.g. kibana_sample*, the index patterns are not communicated correctly to the dashboard.
* fix import/export refs for dashboard
* remove MigrationPopover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Refactor minimumVisibleRows
* Extract setupVisualization function
* Extract getDimensions function
* Inline breadcrumb and help menu function exec to discover.tsx
* Extract getStateDefault
* Remove unnecessary code
* Improve performance by React.memo
* Replace EuiCodeBlock with JsonCodeEditor in DiscoverGrid
* Add optional "hasLineNumbers" property to JsonCodeEditor and removed line numbers from the popover
* Update json_code_editor snapshot
* Add functional test for cell expanded content popover
* Remove unused code
* Fix geo point case and refactor some code
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* XY Axis, integrate legend color picker with the eui palette
* Fix functional test to work with the eui palette
* Order eui colors by group
* Add unit test for use color picker
* Add useMemo to getColorPicker
* Remove the grey background from the first focused circle
* Fix bug caused by comparing lowercase with uppercase characters
* Fix bug on complimentary palette
* Fix CI
* fix linter
* Use uppercase for hex color
* Use eui variable instead
* Changes on charts.json
* Make the color picker accessible
* Fix ci and tests
* Allow keyboard navigation
* Close the popover on mouse click event
* Fix ci
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>