* KQL autocomplete cut off in visualize editor
Closes#70964
* Refactor some code
* Accept api changes, refactor query_string_input and suggestions_component
* Add a comment to suggestions_component
* Fix dropdown position, add close event on scroll and hide description if it doesn't fit
* Update tests to pass type check
* Fix displaying bugs
* Remove closeList
* Replace dropdownHeight with className
* Update suggestions_component.test and public.api.md
* KQL autocomplete cut off in visualize editor with styled-components
* Update suggestions_component.test values
* Add logic to open the list up
* Remove unnecessary semicolon
* Remove a gap between the list and input by inlining offset -2px from _suggestion.scss
* Rename the constants and add docs to them
* Wrap div inside SuggestionsComponent by styled component instead of wrapping the whole component
* Update public.api.md
* Refactor .kbnTypeahead__popover--top style
* Remove unnecessary condition
* Fix eslint problems
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* removing extra message
* adding x-axis values when no data is available
* reordering charts
* fixing internationalization
* fixing transaction RUM agent order
* addressing PR comment
* removing kpis list and show it in the chart legend instead
* fixing API test
* moving asPercent to the common directory
* fixing api test
* fixing unit test
* removing unused prop
* fixing unit test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* add intergration test for install prebuilt timelines
* add integration tests
* add functional test for export timeline
* clean up
* asserts the content of the exported timeline
* update selector
* update selector
* reuses the timeline id from the expected exported file
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
* chore: group tests doing the same
This will reduce the time it takes to execute the tests
* chore: rephrase step
* chore: extract common code to a function
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Maps] fix duplicate ID's
* tslint cleanup
* use layer id instead of layer name for popover id
* tslint fixes
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Reconcile request helpers with eslint rules for React hooks.
- Add clearer cleanup logic for unmounted components.
- Align logic and comments in np_ready_request.ts and original request.ts.
* Reorganize modules and convert tests to TS.
- Split request.ts into send_request.ts and use_request.ts.
- Convert test files into TS.
- Relax SendRequestResponse type definition to type error as any instead of expecting an Error, since we weren't actually fulfilling this expectation.
* Convert everything to hooks and add test coverage for request behavior.
* Fix Watcher memoization bugs.
* fix URI decoding and editing of a policy which backs up all indices
* fix type issue
* fix general use of encoding and update decode algo
* fix serialisation of snapshots and added a test
* Fix test description name
* Update attempt_to_uri_decode.ts
* catch errors from decoding in the already throwing code
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Maps] fix Hotlink for EMS-add-data card do not working
* remove duplicate typing
* update ConfigSchema usage in region_map plugin
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [APM] Language-specific stacktrace formatting
* Add todos
* more
* add at prefix for java
* [APM] Fix overlapping transaction names
...in the table and the header. Did this by adding `word-break: break-all` to them.
Also:
* Rename List to TransactionList
* Add stories for TransactionList and ApmHeader
* Add missing type information to transactions based on sample transaction
*
Fixes#73960.
* fix read only issue with timeline
* fix no feeds url for kibana setting + remove the no-index-laert index from the timeline query so you do not have to add permissions to it
* Add test + add logic to not show advance settings if user does not have access
* remove no alert indices from the timeline query
* review I
* no needs of that
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Convert to using new status, and remove legacy plugin
* PR feedback
* Fix test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add Kea 2.20.rc.3
* Remove Kea declarations
* Convert AppLogic files to use new syntax
- Utilizes MakeLogicType to type the logic file and remove bespoke typings
- Use object syntax for actions and reducers, instead of functions
- Add return types to actions in interface
- Remove interfaces from component (Kea does this automagically now)
- Also renamed IAppLogic* to IApp*
* Convert Workplace Search Overview files to use new syntax
- Utilizes MakeLogicType to type the logic file and remove bespoke typings
- Use object syntax for actions and reducers, instead of functions
- Add return types to actions in interface
- Remove interfaces from component (Kea does this automagically now)
- Also renamed mockLogic* to mockApp*
* Convert HttpLogic files to use new syntax
- Utilizes MakeLogicType to type the logic file and remove bespoke typings
- Use object syntax for actions and reducers, instead of functions
- Add return types to actions in interface
- Remove interfaces from component (Kea does this automagically now)
- Also renamed IHttpLogic* to IHttp*
* Convert FlashMessages files to use new syntax
- Utilizes MakeLogicType to type the logic file and remove bespoke typings
- Use object syntax for actions and reducers, instead of functions
- Add return types to actions in interface
- Remove interfaces from component (Kea does this automagically now)
* Remove hand-rolled Kea types
Bye-bye pretty code
* Upgrade to rc4 per author
From Kea author: “I’d suggest upgrading to rc.4 before merging though, as I seem to have committed some optional chaining operators ("?.") into the compiled JS output, which will cause errors if anyone is using an older browser. You can also wait for 2.2.0 final, but that might still be a week or more away…”
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* changing unit when legend is disabled
* changing unit when legend is disabled
* show individual units in the tooltip
* addressing PR comment
* increasing duration threshold
* change formatter based on available legends
* addressing PR comment
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>