* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
I'd like to add another custom eslint rule, but there isn't a very good place to do that right now. We have the `eslint-plugin-kibana-custom` package, which is super simple but isn't in the `@kbn` namespace and isn't included in the root eslint config, and `@kbn/eslint-plugin-license-header` is too specific, so I've merged those two packages into `@kbn/eslint-plugin-eslint`, which is a little redundant but allows is to refer to the rules within it as `@kbn/eslint/{rule}`, which feels nice.
Thoughts?
_**NOTE:**_ merging the eslint rules from the two packages means enabling prettier for the code from `@kbn/eslint-plugin-license-header`, all those changes are made in 42c7da6fe2. [View the changes without the prettier updates](b647f2b...74e07a0)
The fixtures used by reporting's `extract()` tests have tripped me and others up several times because from the outside they look and behave like source files, but require updating archive fixtures whenever the source is touched. The source of this file is irrelevant though, since the tests are just making sure that the extraction is accurate.
This PR updates the fixture to a markdown file with Lorem Ipsum in it, so it won't look relevant to people making broad strokes changes to files like https://github.com/elastic/kibana/pull/33733
* Closes#29688 by adding related error count in timeline with links to error
overview filtered by the related trace/transaction ids. Also update the errors
link in the sticky transaction properties to match the timeline pattern.
* [APM] leverage EUI theme colors, tweak sticky transaction properties column
sizes, and reorder timeline error count to show duration after only on hover
* [APM] Renamed ErrorsOverviewLink -> ErrorCountBadge. Differentiate the labeled
vs non-labeled variaions of ErrorCountBadge. Replace state hooks for hovered
styles with plain css :hover
* [APM] Revert duration display on hover to render display all the time.
* remove unnecessary props object spread
* Removed old dropdown code from dev tools consle
* Removed old dropdown from vega tools
* Deleted dropdown directives from angular bootstrap
* Deleted ui.bootstrap.dropdown test (irrelevant, since directive was deleted)
This PR includes the removal of the angular-boostrap directives:
* tabset
* tab
To achieve that, tabs were replaced in 2 places in the code (screenshots attached) with a simple React + EUI implementation.
* search profiler
* timelion app help documentation
* Change copy on Uptime empty state component to use "collecting" instead of "logging".
* Update jest snapshot for changed component.
* Update empty prompt link to send users to Add Data tutorial.
* Update empty state tests for new changes.
* Add comments to kibana framework adapter file's render function for better annotation.
* Add global help link for uptime.
* Add return function to help API handler.
* Chore: typo fix
* Chore: no longer use possibly obsolete `states`
* Fix: cause update to component upon keyboard shortcut interactions
* Refactor: more honest name for the React rerender enforcer call
* Chore: we know we return falsey
* Remove race condition: trigger reload if job selection not in progress
* clear filter on job change when no influencers
* remove commented code
* update indexPattern comment for clarity
* Deleted popover directive from angular-bootstrap
Copied a part of popover to ml angular bootstrap patch
Deleted unused dropdown directives from ml angular bootstrap patch
* Removed unused dropdown css
* [APM] Closes#32643 by adding new agent name 'rum-js' for telemetry and docs links
* [APM] replaced enum with union type + set, and consolidated util functions operating on agent names
* [APM] code cleanup and fixing comments
* [APM] move AgentName type def to es_schemas, and the agent name functions to
common, leverage object hash to reference names
* [APM] code cleanup and improve type assertion between AgentName type and object mapping
This fixes the `small` font scale of the log viewer to correctly reference the EUI font size again. Before this fix, the `small` font scale was rendered larger than `medium`. Similarly, the tick labels of the log minimap were being rendered too large.
Both resulted from a breaking change of the exported variable names in elastic/eui#1590.
fixes#32759
* Reorganise primary and sub navigation of Infrastructure
Add routed_tabs component
Amend routing (use an index and nested routes) and reorganise directory structure
Shift hosts / kubernetes / docker selection to subnavigation
Change path
Amend existing URLs
Use proper types
Amend document_title component
Reorganise title / source config button / info text
Maintain compatibility with old URLs
* Remove dead code
* Bump z-index on suggestions panel
* Ensure documentTitle responds to updates
* Use the same noop function and remove disabled option
* Use buttonSize="m" and add "Hosts" translation back
* Remove all "Home" wording
* Remove unused translations with script
* Don't nest <Link /> within a tab
* Comment out metrics-explorer tab until needed
* Don't create duplicate History entries
This replaces the custom relative time component in the Logs UI live streaming inline loading indicator with the one from `react-intl`. This was not done at the time of the initial i18n introduction (#25213), because of #26237, which apparently has since been resolved via #26468. Visual changes should be limited to `now` being shown instead of `0s ago`.