* add an excess validation instead of the exact match
* fix readble type + unit test
* review I
* remove buildRouteValidation to use buildRouteValidationWithExcess
* move test_helpers to the core
* create base tsconfig
* all tsconfigs use the base one
* use test_helpers exposed from the src/core
* move getFieldFormatsRegistry to data plugin
* add test_utils project
* compile types after checkout
* add a stub for platform tsconfig.json
* fix broken import
* fix broken path to the base config
* set tsBuildInfoFile for project without outDir
* do not commit tsbuildinfo file
* do not check output d.ts files
* fix type error
* use separate config to build types
* rollback changes to include paths
* mute import zone error
* rename files to avoid references to tsd
* do not use tsd for type tests
* include all ts files in project
* run buildRefs before type check to ensure the latest version
* store tsbuildinfo locally
* update paths to base config
* comment out core/tsconfig.json
* remove ui path
* fix wrong tsbuildinfo path
* remove legacy kibana plugin
* as ES as a dependency to security instead of kibana
* remove 'kibana' plugin presence check in so mixin
* moved the `kibana` config section to the server
* Fixes storybook anomaly score generation and better utilizes available screen space
* Closes#71770 for APM service maps by replacing breadthfirst layout with
one from the cytoscape-dagre extension. Also replaces the taxi edges
with cubic bezier edges. Finally, this adds the ability to drag
individual nodes around the service map.
* Removes unused code
* removes commented line of code
* - Adds ability for scripts/notice.js to check files with the .tsx file extension
- Adds attribution for `applyCubicBezierStyles`
* Refine comment text and MIT license url
## Summary
Removes RuleTypeSchema in favor of Type for TypeScript. Does break out one function called `parseScheduleDates` into its own file to remove a circular ref issue.
## Summary
Mistmatch caught between the io-ts type and the corresponding typescript enum. Currently, io-ts does not have support for enums - as a workaround I had made a matching typescript enum type. Tests were added to try to ensure the two stayed in sync, but didn't do a straight up comparison of the two.
Updated the tests to now error if the keys do not match.
@elastic/enterprise-search-frontend is a shared team of both app-search-frontend and workplace-search-frontend, but combining it into one group means only 1 reviewer is required (as opposed to 1 per team).
## Summary
**Components affected:** ExceptionsViewer
**Current behavior:**
- when a user edits an exception item, the order of the exception items in the viewer changes. This creates confusion and looks like updates weren't applied (even though they were, just item order changed)
**New behavior:**
- when a user edits an exception item, the order of the exception items in the viewer don't change. Sort order is now based on `created_at`
* Add shared images and export file
* Migrate SourceIcon component
* Add util to format routes
We need a way to format routes using parametrized routes in Workplace Search. We used to the `react-router-named-routes` library, but it is 5 years old has has no typings. I extracted the function we needed into a util.
* Update recent_activity to use formatRoute
For the 7.9 Kibana MVP, we used a temporary function to generate this route. Aligning this component to use the helper other parts of the app will use after migration.
* Add types and constants
Various types and constants migrated for use in groups component
* Migrate SourceRow component
Also adds a mock for contentSources. For now the array only has one item needed for this test, but in future tests, more sources will be added to that array.
* Migrate SourcesTable component
* Migrate TablePaginationBar component
* Migrate UserIcon component
* Migrate UserRow component
* Refactor format_route
Uses Object.entries instead of for…in. This is more modern and allows for 100% test coverage.
Also removed `toString()` as `encodeURIComponent()` seems to automatically cast to string
* Remove unused import
* Use forEach instead of map
We’re not returning anything so map is not needed
* Minify images
* Remove formatRoute in favor of generatePath
Unike formatRoute, generatePath adds the trailing slash automatically
* Stop renaming methods
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* move analysis stats to own section in expanded row
* fix type errors
* move stats to separate tab in expanded row
* handle parameters and hyperparameters not defined
* Big bang commit removing top-level success property in API response
Left in check-permissions and in array of objects returned by delete package configs
* Remove success property from mocks
* Resolve conflict from upstream changes
* Remove success property (after upstream merge)
* Remove more 'success'es after merging in upstream
* Remove success from some tests
* Remove success from OpenAPI spec
* Revert prior try/catch. Use res.ok
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>