* [Discover] Fix modify the time range test (#130880)
* [Discover] unskip tests for check flakyness
* [Discover] fix the test
* [Discover] update expected string
* [Discover] open close full screen mode for data grid when needed
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d5ae7f33b7)
* [Discover] remove redundant substring
* [Discover] improve document explorer callout
* [Discover] fix functional tests
* [Discover] try to fix functional
* [Discover] close callout when it needed
* [Discover] fix test subj label
* [Discover] fix test
* [Discover] fix functional test
* [Discover] another try
* [Discover] dismiss callout
* [Discover] add retry
* Improve data_grid.ts getHeaderFields code
- so it no longer fails when the header fields are rendered but not visible due to callout rendering
* Improve links
* Cleanup
* Improve getDocTableIndex code
* Fix functional
* Size, icon, and button tweaks
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
(cherry picked from commit 0355c2e010)
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
* [WIP][TSVB] Apply filter event is not working for formatted fields
* Add termsSplitValue that might be as single string for terms as MultiFieldKey for multi terms, that allows to create filters for grouped by multi terms data
* Update tests and fix some nits
* Add couple of functional tests
* Remove flaky test
* Update test to fix flakiness
* Fix some nits
* Shorten a condition
* Fix import
* Wrap setting combo box values into retry.try to get rid of flakiness
* In functional test increase sleep a bit to make sure group by field has appeared
* Refactor some code
* Try again to update test coordinates
* Update test coordinates
* Fix condition for terms value
* Fix export of MultiFieldKey
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3dc61c89d7)
Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
* Move control type selection in to flyout
* Set default icon type if getIconType undefined
* Fix create control functional tests
* Fix factories for multiple types
* Show only selected type icon when editing
* Add optional tooltip support
* Rename promise variable
* Fix imports
* Fix nits
* Edit tooltip text for options list control
* Fixed test to use CCS saved object.
* Removed retry and replaced with explicit waits. Also left a note as to why the test is written.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add controls button to toolbar
* Add dismiss button
* Add style to toolbar controls button
* Clean up unnecessary isControlsEnabled check
* Make toolbar controls button conditional once callout dismissed
* Move add and edit controls to toolbar dropdown
* Remove icon buttons
* Add each control seperately to toolbar dropdown
* Remove unused code
* Fix close popover on click
* Remove unnecessary dark theme check
* Make closePopover optional for creating controls
* Fix control group strings
* Fix alignment of toolbar popover items
* Functional tests - create controls from new menu button
* Hide controls callout for empty dashboards
* Add tooltips to control types + i18n support.
* Move callout render logic to dashboard viewport
* Add controls callout functional tests
* Fix bundle size by lazy importing controls callout
* Get create control button in callout via passed function
* Fix mobile view of callout
* Add documentation and cleaned code based on Devon's feedback
* Moved the 'add to library' and 'controls' buttons in to extra
* fieldSelect
* activate multifield support for table
* update table>pivot request_processor
* fix some tests
* apply some changes
* fix JEST
* push initial logic for series request_processor
* fix some broken cases for Table tab
* update convert_series_to_datatable / convert_series_to_vars
* add some logic
* fix table/terms
* do some logic
* fix some issues
* push some logic
* navigation to Lens
* fix CI
* add excludedFieldFormatsIds param into excludedFieldFormatsIds
* fix ci
* fix translations
* fix some comments
* fix series_agg label
* update labels in lens
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Removed pie/donut/mosaic/treemap expressions from lens
* Replaced pie/donut/mosaic/treemap expressions with expressions from expression_partition_vis
* Fixed bug with __other__ labels.
* Cleaned up not used fields at Lens.
* Added support of empty results for multiple chart types.]
* Refactored visualization_noresults.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fix autocomplete inserting comma in triple quotes
* Fix inserting commas and flaky test
* Fixed problems on triple quotes and single quotes replacement.
* Fixed cursor position after adding a comma to the prefix.
* Final generic solution for multiple edge cases.
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
* [TSVB] Add more functional tests for Timeseries Annotations
* Move common code to beforeEach block
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* eui to 46.1.0
* use optimize build
* dataGridWrapper -> euiDataGridBody
* remove unused dep from bazel
* use column-index and row-index attrs
* datagrid test fixes
* prevent duplicate global styles
* snapshot updates
* rendering_service test
* update comment
* clean up
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fix autocomplete missing comma on the correct location
* Add a test case
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [WIP] Combine visualizations and visualize plugins
* Revert some changes and do some refactoring
* Refactor some code
* Fix some tests
* Fix functional tests and some jest test cases
* Update telemetry
* Fix get_visualization_instance.test and plugin-list.asciidoc
* Refactor some code
* fix CI
* Add visualizations to vis_default_editor tsconfig
* Revert changes related to telemetry and permissions
* Add dashboard to timeseries tsconfig.json
* Update limits file
* Update translation keys
* Add capabilitiesProvider back to server and replace visEditorsRegistry getter and setter with service
* Update mocks.ts
* Revert changes related to visEditorsRegistry
* Get rid of visEditorsRegistry getter and setter
* Remove dashboard from timeseries/tsconfig.json
* Return back dashboard dependency to timeseries/tsconfig.json, rename applicaion folder to visualize_app and APP_NAME to VISUALIZE_APP_NAME, revert types.ts
* Remove comma in .i18nrc.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* [TSVB] Fix the broken "aggregate function" in TSVB table
Closes: #91149
* [TSVB] Table series filter and aggregation function applied at the same time cause an error
# Conflicts:
# src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_everything.ts
# src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts
* some work
* filter terms columns
* fix error message on no pivot_id
* fix CI
* enable aggregation function for entire timerange
* fix PR comments
* update check_aggs
* fix series aggs for table
* unify error messages
* fix pr comment: restrictions: UIRestrictions = DEFAULT_UI_RESTRICTION
* fix i18n translation error
* fixes translations
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added special case to panel comparison.
* Fixed panel title behaviour when linking/unlinking to/from the library.
* Added panel title test suite.
* Made the injection of the 'savedSearchId' key conditional on if it is defined when unlinking.
* Adjusted use of 'setValue()' based on feedback from @dmlemeshko
* Refractor test suite.
* Improved code for removal of title on library link.
* Bumping EUI to v41.2.0
* Updating translations for EUI Super Select.
* Bumping to v41.2.1 for an EUI fix.
* Updating ten Jest snapshots
* Removing reference to packaged datepicker now in EUI.
* Final removal of packaged Datepicker reference.
* Updating snapshots and datagrid test defaults.
* Fixing last functional test for data grid
* Reverting data source to upstream example for one test.
* Adding a fix for _data_table.ts test.
* Adding a fix for _data_table)notimeindex_filters.ts
* Bumping to 41.2.2 patch fix
* Removing unneeded test code and updating comment
* Bumping to 41.2.3 for bug fix.
* Adding a missed file.
* Adjusting test for tooltip overlap assertion.
* Updating two tests in Security Solution Platform.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [WIP][Heatmap] Creates implementation with elastic-charts
* Fix types and connection with vislib
* Add coloring options
* Brush, click events, coloring etc
* Cleaning up the expression function
* Add legend picker, fix sorting and other fixes
* Further fixes
* Use the shared expression to Lens and cleanup
* PrepareLogTables for new expression function
* Use common renderer and expression function with lens
* Fix i18n
* Small tweaks
* Add unit tests
* Adds a unit test to the heatmap component
* update plugin list
* Fix types
* Fix types
* update limits
* Change to the expression function
* Cleanup translations
* Refactor to use vis
* Fix types
* further cleanup of the translations
* register new setting
* Fix sorting for histogram
* Adds functional tests for the new nisualize heatmap
* Cleanup
* Fix
* Apply PR comments
* Address PR comments
* Fix i18n
* Fix i18n
* Makes the <Heatmap /> id dynamic
* reverse
* fix translation file
* Apply design PR comments
* Fix package
* More fixes
* Fix brush problem
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>