kibana/x-pack/plugins/apm
Jason Rhodes 1794c8b01c
[APM] useUrlParams as separate hook + removes redux 🎉 (#34792)
* Exploring a useUrlParams hook separate from useLocation

* Refactors url params hook into context + hook

* Fixes unmount async bugs in some components

* Rewrites datepicker tests

* Fixes some import reference problems

* Moves urlParams logic out of store and into context directory, updates references

* Makes urlParams context update itself on location changes

* Adds url params tests

* Removed left-over debug additions

* Small improvement for types based on review feedback 👍

* Converts url params to hooks for ErrorGroupDetails component

* Converts url params to hooks for ServiceDetails component

* Converts url params to hooks for ServiceOverview component

* Converts url params to hooks for TraceOverview component

* Converts url params to hooks for TransactionDetails component

* Converts url params to hooks for KueryBar component (plus TS convert)

* Cleanup removing redux

* Fixes tests after removing redux

* Updates type reference to use ui/ import

* Moves selectors folder into public and deletes store folder

* Removes unnecessary mountWithRouterAndStore

* Correctly orders imports to satisfy lint gods

* Removes unused imports
2019-04-24 10:00:53 -04:00
..
common [APM] Optimize idx calls to native optional chaining (#34841) 2019-04-22 13:37:07 -07:00
public [APM] useUrlParams as separate hook + removes redux 🎉 (#34792) 2019-04-24 10:00:53 -04:00
server [APM] Hide ml data when kuery is active (#34984) 2019-04-24 11:55:04 +02:00
typings Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
.prettierrc
index.ts Feature Controls (#31652) 2019-04-12 09:16:13 -07:00
mappings.json [APM] Addresses #33572 by adding support for new agent 'dotnet' in apm (#34077) 2019-04-04 22:35:08 -07:00
readme.md Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00

Documentation for APM UI

Note: Run the following commands from kibana/x-pack.

Run tests

node scripts/jest.js plugins/apm --watch

Update snapshots

node scripts/jest.js plugins/apm --updateSnapshot

Note: Run the following commands from kibana/.

Prettier

yarn prettier  "./x-pack/plugins/apm/**/*.{tsx,ts,js}" --write

ESLint

yarn eslint ./x-pack/plugins/apm --fix

Ensure everything from master has been backported to 6.x

git fetch origin && git checkout 6.x && git diff origin/6.x..origin/master ./plugins/apm | git apply