* [Reporting] Correct PDF Params type definition
* Fix types for BrowserConfig, ChromiumDriverFactory
* remove jobparams type
* spot fixes
* fix guard in compat shim
* fix legacy functional test
* fix jest test
* Add certificate expiration date to uptime GQL schema.
* Update test fixture/snapshot for broken unit test.
* Extract TLS data to two separate GQL types.
* Remove unused field from schema/adapters.
* Update broken functional tests.
* Extract TLS data to two separate GQL types.
* Remove unused field from schema/adapters.
* Update broken functional tests.
* Modify schema/types and parsing code to avoid weird data structure.
* Fix busted test snapshot/mock data.
* Clean up test setup
Removes a redundant assignment.
* Update search suggestions after scope changes
Without the additional call to this.updateSuggestions, the autocomplete
suggestions remain from the previous scope and no action is taken until
the user submits the search form.
This also adds a null check on the `onSearchScopeChanged` prop.
* Test search scope change functionality
Adds a basic test around the search scope functionality in the QueryBar
component.
Unfortunately, due to the fact that the searchScope prop is actually
controlled in a parent, this test is of questionable utility.
Fixes a race condition where changing jobs in Single Metric Viewer could result in the focus chart being empty.
Applying the job change would cause two events to be triggered which would cause the Single Metric Viewer to refresh twice: The updated time range would be triggered via timefilter, the updated jobs via the globalState listener.
This PR solves the problem by setting a global flag skipRefresh which allows us to skip updating single metric viewer and only update again once both the new time range and jobs are set. The PR also adds some checks to avoid unnecessary updates in d3 code triggered by React render calls.
* create graph listing page
* clean up app folder
* remove inline loading menu
* also add badge to workspace route
* fix tests
* fix graph spaces functional test
* generate documentation for new breadcrumb property
* fix test subject names
* remove unused translations
* start implementing save modal flow for Graph
* fix spaces functional test
* wip save modal
* wip save modal
* add and style save modal
* add placeholder to description field
* disable dirty check on breadcrumb navigation and fix delete function
* reactify most of settings
* improve onClick typing on breadcrumb
* fix newline error and use new types in dashboard app controller
* EUIify drilldown
* EUIify drilldown
* fix translation errors
* fix i18n translation for real
* fix icon and work on autoreplace template logic
* use switch instead of checkbox
* code review
* fix i18n phrases
* remove fragments
* add KQL encoder to be able to drill down to discover
* fix flyout overflow issue
* delete old settings logic
* remove obsolete files
* fix tests
* fix i18n phrase typo
* fix most translations
* start implementing review comments
* continue implementing review
* continue cleanup of settings forms
* remove unnecessary max-width and add commentary
* move to async syntax
* clean up implementation
* use description instead of title
* work on settings form
* fix snapshot
* fix drilldown list
* add tests for use_list_keys
* rename stuff and add documentation
* fix translatiojns
* fix some rename references
* start typing saving and loading
* typing persistence stuff
* adress review comments and set width for all save modals
* type serializing logic
* fix bug and improve typing
* fix classname
* wip
* wip
* add notes
* style blacklist group
* remove merge marker
* improve icon rendering
* wip
* start refactoring
* remove js implementation
* remove js implementation
* remove duplicate file
* add some tests
* Design cleanup
* Fix SASS files
* revert style fixes in app.js
* implement todos
* fix errors and prematurely enabling inspect panel
* deselect icon after clicking again
* fix types
* make icon list accessible
* clean up and add some more tests
* improve number handling
* fix deserialization
* polishing drilldown-ui
* rename types
* clean up imports
* fix tests
* add handling for canEditDrillDowns setting
* propagate changes to workspace client
* align tabs with other elements
- Fixes a flickering effect when selecting cells in the Single Metric Viewer's swimlane. Previously, during selection, dragSelect took care of highlighting cells. The dragSelect-selection would then be cleared and the d3-based selection only took over after new data was loaded which resulted in the selection not being visible during loading. Now, the dragSelect-selection is only cleared immediately if only cells not containing any anomalies were selected.
- Also fixes a bug where only the first and last cell in the overall swimlane would be highlighted instead of the full range of selected cells.
- Fixes getTabs() to always return an array. I was wondering why TypeScript didn't flag the tabs.map(...) part because tabs could possibly be undefined. It's because Record assumes that every key exists. More on that can be found in this blog post.
- This PR fixes a) the type of TAB_MAP by wrapping it in Partial<...> so it correctly flags the tabs.map() part with tabs possibly being undefined and b) fixes getTabs()'s return value by always returning an array.
* Keep state of host/netwrok table when switching tab
* keep state in the event viewer when switching tab in host page
* refactor test to ensure activePage updates from prop change
* rm comments
* add/fix unit test
* fix i18n
* need to rm weird files
* rm weird files
* fix inspect button for real + loading view between tabs
* cleanups
* commented by mistake
* fix logic loading
* review I
* review II
* review III
* review IV
* EUIficate pointe-series and grid
* Apply TS
* Show grid on a panel
* Remove extra space
* Add TS
* Use BasicOptions
* Adjust func test
* Add dataTestSubj prop to SelectOption
* Use id instead of data-sest-subj
* Disable show x-axis lines when there is histogram agg
* Add tooltip for disabled 'Show x-axis lines' config
* Add series_options.tsx
* Migrate series
* Improve changeValueAxis
* Create CategoryAxisPanel
* Create ValueAxesPanel
* Create CustomExtentsOptions
* File renaming
* Use TruncateLabelsOption
* Set min value
* Add validation
* Refactoring
* Move types upper
* Convert series logic
* Convert valueAxes logic
* Rename function
* Add validation and refactoring
* Adjust styles
* Fix rotates
* Apply config for other vis
* Remove old directives
* Fix useHook usage
* Update vislib_vis_type.js
* Fix
* Move Threshold line panel into a separate component
* Remove unused translations
* Apply ui suggestions
* Update functional tests
* Remove angular unit test
* Refactoring
* Fix dependencies
* Refactoring
* Add validation
* Add validation for other vis
* Refactoring of onPositionChanged handler
* Refactoring of addValueAxis
* Get rid of a useEffect
* Refactoring of updateAxisTitle
* Update useCallback
* Refactoring
* Refactoring of collections config
* Refactoring of setChartValueByIndex and setValueAxisByIndex
* Update metrics_axes_options.tsx
* Watch current tab for correct accordion height
* Revert axis title logic
* Fix axis id and name number
* Fix code review comments
* Fix functional tests
* Update visualize_page.js
* Move option tabs in common
* Fix code review comments
* Update index.tsx
* Refactoring
* Fix merge conflict
* Show ThresholdPanel when it's configured
* Fix passing a current tab to vis-options
* Localize 'Count' text
* Pass one axis to CategoryAxisPanel
* Fix y-axis name number when x-axis position changed
* Fix Y-axis name number when position Y-axis changed
* Fix refresh loop
* Re-organize controls
* Apply code review comments
* Refactoring
* Fix extents empty value
* Update y_extents.tsx
* Fix code review comments
* Fix updating several seriesParams when removing axis
* Add thresholdLine config to horizontal bar
* Refactoring
* Reset grid.valueAxis when the axis deleted
* Fix refresh loop
* Set interpolate config for line
* Enable "show dots"
* Convert getHighlightHtml() to TS
* Convert htmlTags to TS
* Convert highlightTags to TS
* Convert getHighlightRequest() to TS
* Convert index.js to index.ts
* Move tests to TS
* Move highlight to plugins/data
* Translated shortcut descriptions
* Added i18n to HelpMenu and KeyboardShortcutDocs components
* fixed i18n errors
* Removed unnecessary type
* Updated snapshot
* Adds a description for shortcut separator in the KeyboardShortcutsDoc
* Add main nav tabs with sub tabs for new nav
* move transforms to top level main nav
* Make top nav normal font weight
* Update breadcrumbs to take top nav into account
* proper spacing when settings selected
* fix localization error
* Fix functional tests. Update breadcrumbs
* revert analytics breadcrumb update. save for follow up
* ensure main/sub tabs align left
* update dataVisualizer breadcrumbs
* update typescript for tabs
* General structure of Public w/ legacy brace + autocomplete 🤔
Refactor Resizer functionality (panel component)
Refactor Play Button
Refactor Auto-completion
Refactor Docs opener
Refactor Storage
* First refactor of kbn ace keyboard mode to TS+React
* clean up unused props
* console_menu.js -> console_menu.tsx
* Remove unused file from quarantine and added fixed ui ace keyboard mode react hook
* - Refactored history and storage to app-wide services
- Pre-emptive changes to tests
- sense-history -> HistoryList
- removed unused kbn top nav v2 component
* A lot of cleanup, re-introduced editor resize checker, re-introduced history viewer as TS+React. `history` still needs refactoring.
* First iteration of tap nav menu, with history toggle working
* Lots of fixes
Also moved over and integrated remaining three react components
* Moved a lot of files around again, tidied up NP set up
* Replace angular directive
* Remove used code
* Re-order imports and move all ace dependencies to same location
* Remove more unused code
* Revise quarantined setup mocks
* Don't suggest 'undefined' or other null-like values in autocomplete
* Clean up api_server folder
* Re-add missing style
* Updated karma spec mock
* Fix editors cutting of at bottom of screen
* Refactor console editors into single components
Refactor a lot of business logic to main.tsx container
Minor renaming of variables for better readability
* Updated use of contexts with better error message
Fixed broken render sync cycles (using useCallback)
Fixed Main container render cycle (added missing deps to useEffect)
Fixed default input and removed auto indent from being called on init for already formatted text
* Updated test mocks
* Update to be more in line with NP conventions https://github.com/elastic/kibana/blob/master/src/core/CONVENTIONS.md
* Update console history when making new requests
Fixed spacing between editor and console history
Moved registration of keyboard commands to TS
Fixed setup_mocks.js after renaming app to application
* Clean up git merge conflict artifact
* Use updated NP interfaces
* More typings fixed after updating local project dependencies
* Removing some dependencies on KUI and font awesome from legacy editor
* Fix clear history not re-rendering
Refactor prop name to be more descriptive
* Simplify split_panel and add tests
* Fix accessibility tabbing behaviour for ace editor
* Refactor ConsoleEditor into two separate components
Remove unused changeCursor code
Remove unused textArea ref
Use default lodash debounce (remove unnecessary arg)
* Major a11y fix when tabbing
Major fix for ace in IE11 and Edge browsers
* Update comment