* Added sort order to share menu options.
Sorts ascending on sort order first then ascending on name. Any menu item without a sort order gets set to zero.
* Moved new sortOrder property from node_modules
* Had to rerun the snapshot for the share menu with the sortOrder in it.
PR fixes issues with the socket connection.
- handle socket failures
- previously would either leave Canvas in an infinite loading state, or load the app even when it wouldn't function
- upgrade socket.io
- add headers to socket connection and modify auth connection
This fixes `yarn run lint` from within the Canvas plugin path.
- Point to the correct eslint config file
- Use absolute path for `packageDir`
- Remove extraneous `packageDir` settings
* [build] Support version-qualifier flag
* add help description
* fix test
* is-release
* temp: re-add alpha1 to package.json
* use version qualifier in build
* fix merge
* Revert "temp: re-add alpha1 to package.json"
This reverts commit a70688542c.
* x-pack
* remove ci build flag
* remove ci build flag
* remove qualifier from canvas
* remove qualifier from infra
* fix x-pack argv
* update comment
* Adds aliases to details for indicies.
* Lists aliases when there is more than one.
Fixes reload call using duplicate code atm.
Removes unintentional formatting change.
* Silly line ending removed by accident.
* Simplifies fetching aliases to single method/file.
* Adds superfluous logs statement.
* Uses the correct i18n translation variable for the header.
* Sets the translation variable to the correctly spelled variable.
* Simplifies building an array of aliases.
* Does not export fetchAliases as default.
* Makes the code more readable by destructing results.
* Adds test for expected results and no results.
* Adds custom font as option in font picker
* Adjusted font sizes in ecommerce sample worpad
* Adjusted font sizes in sample flight workpad
* Adjusted font sizes in smaple web logs workpad
* Changes for new PNG image output for reports
Change PNG button name from Download to Generate
Changes for new PNG image output for reports
Change PNG button name from Download to Generate
Remove compatabilityShim from PNG and move to PDF folders
Changed API parameters to contain only required parameters
Added test cases for PNG reporting and added title back into the PNG API call
Merge of security changes for PNG reporting
Fixed issues with test cases for both PDF and PNG
Updated test snapshots for PNG and PDF test changes
* Adding new security changes made for PDF into new PNG code
* Removed commented out lines that were not needed
* Disable deletion of started rollup jobs.
* Update empty prompt icon.
* Add isUpdating selector and display a spinner instead of the action button when jobs are being updated.
* Localize Navigation component.
* Add noticeable delay of 300ms show spinner displays and doesn't flicker.
* Adding very basic place for the logged out page
* Redirecting to logged_out when we aren't using SLO
* Basing styles on the login styles
* Fixing linting errors
* Responding to PR feedback
* Fixing issue with the basepath and the login link
* Adding proper i18n prefix
* Updating unit tests
update testing helper functions for react-intl
now we use real intl object passed by IntlProvider via context instead of mocking intl object.
so now data(strings, JSX) passed to FormattedMessage component via values are compiled and
are inserted in the output of FormattedMessage component
* [APM] Fixes#40165 by consolidating logic where total duration could be 0 and handling it with a fallback value
* [APM] renamed file from .js to .ts and defined a default value for fallback
* [APM] Add type definitions for apm formatters
* [APM] add basic type definition for imported @elastic/numeral module
* [APM] rename getDurationPercent to asPercent
* [APM] Update tests with the renamed formatter function
* [APM] Pr feedback & typescript cleanup
* [APM] fix bucket & chart point type errors
* Fix typescript issue
* [APM] last minute code cleanup
Introduces a categorical/ordinal y axis for rare charts with a cardinality of <= 10. This also adds unit tests for the rare/population chart which are the bulk of the PR.
This replicates the behaviour of the management UI: If there's no default index pattern, the one created via file visualizer's import will be set as the default index pattern.
* [APM] Hoist loading of waterfall and flatten it
Remove unused test
Convert to typescript
* Address feedback
* Make `totalDuration` optional
* Renamed rootTransaction to traceRoot
* [APM] Only show relevant service legends
* Adds services label to the service legend
* [APM] Clock skew fix
Only skew child spans from the same service
Take parent skew into account when finding diff
# Conflicts:
# x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap
# x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts
# x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts
* Use switch statement
* Fixes active tab state
* Removes beta labels from ML and search bar
* Reverts visual regression with right-to-left timeline fix
* Creates space for agent marks beneath tick marks
* Fixes ordering problem with timeline transaction icons
* Updates string 0 to be an integer instead for CSS bottom value
* [APM] fixes#24563 by replacing de-duping the twice-used column field id
* [APM] fixed issue with service column not sorting in ManagedTable
* [APM] make render field on ITableColumn optional and allowing it to use EUI's default value
* Internationalize job details tabs and wrap instances in EuiErrorBoundary to visually localize the error.
* Localize no default index pattern message.
* Localize es interval errors.
* Localize job action menu and confirm delete modal.
* Remove unnecessary use of injectI18n from tabs.
* Localize job status.
* Localize steps.
* Remove template literals from FormattedMessages.
Fixes the missing y-axis description for rare charts in the form of y-axis event distribution split by {{fieldName}}. The intention is to briefly clarify that the type of chart is different than the other ones which have a count or metric based y-axis. This text is in addition to the text provided (but hidden without hovering) in the info icon tooltip.
In certain cases tickInterval mistakenly could end up being negative which made getTickValues() run into a call stack size exception. This PR fixes it by a) adding a check to getTickValues() that interval must not be 0 or smaller and b) changing the way the tickInterval is determined in the Anomaly Explorer Charts.