* Don't trigger autorefresh when there's no time picker
- because there's no UI for that
* Refactor and add test
* Add doc and test
* Refactor
* Remove index pattern without timefield filtering
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
* New Artifact Collapsible card and Grid generic components
* Fleet setup test data loader - ignore 409 concurrent installs in data loader for fleet setup
* Adds `ContextMenuWithRouterSupport` prop for `maxWidth` and `truncateText` prop for `ContextMenuItemNaByRouter`
* trustedApps generator loader - use existing policies (if any) when loading TAs
* `CardCompressedHeaderLayout` support for `flushTop` prop
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
* structure changes
* tests & fix for sessionId
* share mocks in time_range_middleware
* make switchVisualization and selectSuggestion one reducer as it's very similar
* CR
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
* 🐛 Add padding to the tick label to fit threshold markers
* 🐛 Better icon detection
* 🐛 Fix edge cases with no title or labels
* 📸 Update snapshots
* ✨ Add icon placement flag
* ✨ Sync padding computation with marker positioning
* 👌 Make disabled when no icon is selected
* 🐛 Fix some edge cases with auto positioning
* Update x-pack/plugins/lens/public/xy_visualization/xy_config_panel/threshold_panel.tsx
Co-authored-by: Michael Marcialis <michael@marcial.is>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Display both beats and epr-packages in the integration browser. When there is overlap, the EPR-package equivalent is displayed. When the EPR-package is not yet ga, the beat-equivalent is displayed.
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
After precommit hook runs with --fix flag changes are not added to staging. However it also does not
validate staging area since eslint is only looking for last changes on file not staging area this
results fellows to commit with linting errors which fails in CI. This commit resolves this issue by
adding fixed files right after linting to staging area.
Closes#52722
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Baturalp Gurdin <9674241+suchcodemuchwow@users.noreply.github.com>
This fixes two fundamental issues:
* the list of files to be linted is built looking at the diffs of the ref
specified with `--ref` (or otherwise the current index) with those on
the filesystem
* the content to be linted is read from the filesystem instead of the
specified `ref` or the one in the index
Co-authored-by: Domenico Andreoli <domenico.andreoli@elastic.co>
To prompt users to use the workspace configured version of Typescript.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
* [ML] Initial embed
* [ML] Initial embed props
* [ML] Add top nav link to data viz
* Add visible fields
* Add add data service to register links
* Renames, refactor, use constants
* Renames, refactor, use constants
* Update tests and mocks
* Embeddable
* Update hook to update upon time udpate
* Add filter support to query
* Refactor filter utilities
* Add filter support for embeddable
* Fix saved search data undefined
* Prototype aggregated view/document view switcher
* Prototype flyout
* Prototype save document view option in storage
* Fix filter and query conflict with saved search
* Minor styling edits
* [ML] Update functional tests to reflect new arrow icons
* [ML] Add filter buttons and KQL bars
* [ML] Update filter bar onChange behavior
* [ML] Update top values filter onChange behavior
* [ML] Update search filters when opening saved search
* [ML] Clean up
* [ML] Remove fit content for height
* [ML] Fix boolean legend
* [ML] Fix header section when browser width is small to large and when index pattern title is too large
* [ML] Hide expander icon when dimension is xs or s & css fixes
* [ML] Delete embeddables because they are not use
* [ML] Make doc count 0 for empty fields, update t/f test
* [ML] Add unit testing for search utils
* [ML] No need to - padding
* [ML] Fix expand all/collapse all behavior to override individual setting
* [ML] Fix functional tests should be 0/0%
* [ML] Fix docs content spacing, rename classnames, add filters to Discover, lens, and maps
* [ML] Fix icon styling to match Discover but have text/keyword/histogram
* [ML] Fix filters not persisting after page refresh & on query change
* [ML] Rename classnames to BEM style
* [ML] Fix doc count for fields that exists but have no stats
* [ML] Clean up unused styles
* [ML] Fix eui var & icon & file geo
* [ML] Fix navigating to Lens from new saved search broken
* [ML] Change types back to Index pattern for 7.16
* [ML] Update not in docs content and snapshots
* [ML] Fix Lens and indexRefName
* [ML] Fix field icon and texts not aligned, remove span because EuiToolTip now supports EuiToken
* [ML] Fix data view
Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
* trying to fix the unskipped test
* remove .only and comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
* Add beat instance page
* Fix beat instance tabs to match angular
* Remove unused cluster prop on beats template
* Fix breadcrumbs
* Remove unused cluster prop
* Use correct codepath
* Switch beats instance back to use template
Doesn't buy us a lot here, but mirrors the pattern used in logstash where it's a lot better than just calling PageTemplate directly.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mat Schaffer <mat@elastic.co>
* New function to check if the effect scope has been changed without right license
* Checks if license is under platinum when creating/updating trusted apps by policy
* Change error type. Use translations in frontend for api error. Also use helper mapping function to avoid use string replace method
* Remove name from constructor and changed mock function name
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: David Sánchez <davidsansol92@gmail.com>