-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Refactor hooks and context #84615
Conversation
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/uptime (Team:uptime) |
x-pack/plugins/apm/public/application/action_menu/anomaly_detection_setup_link.test.tsx
Show resolved
Hide resolved
x-pack/plugins/apm/public/components/app/TransactionDetails/use_waterfall_fetcher.ts
Show resolved
Hide resolved
x-pack/plugins/apm/public/components/app/service_details/service_detail_tabs.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/public/components/app/Correlations/index.tsx
Outdated
Show resolved
Hide resolved
import styled from 'styled-components'; | ||
import { APIReturnType } from '../../../../services/rest/createCallApmApi'; | ||
import { APMError } from '../../../../../typings/es_schemas/ui/apm_error'; | ||
import { IUrlParams } from '../../../../context/UrlParamsContext/types'; | ||
import { IUrlParams } from '../../../../context/url_params_context/types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we start importing types like this?
import type { IUrlParams } from '../../../../context/url_params_context/types';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. just some suggestions.
eb7bb6a
to
5007f28
Compare
5007f28
to
cabd189
Compare
retest |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UX changes LGTM
* master: (72 commits) Make alert status fetching more resilient (elastic#84676) [APM] Refactor hooks and context (elastic#84615) Added word break styles to the texts in the item details card. (elastic#84654) [Search] Disable "send to background" when auto-refresh is enabled (elastic#84106) Add readme for new palette service (elastic#84512) Make all providers to preserve original URL when session expires. (elastic#84229) [Lens] Show color in flyout instead of auto (elastic#84532) [Lens] Use index pattern through service instead of reading saved object (elastic#84432) Make it possible to use Kibana anonymous authentication provider with ES anonymous access. (elastic#84074) TelemetryCollectionManager: Use X-Pack strategy as an OSS overwrite (elastic#84477) migrate away from rest_total_hits_as_int (elastic#84508) [Input Control] Custom renderer (elastic#84423) Attempt to more granularly separate App Search vs Workplace Search vs shared GitHub notifications (elastic#84713) [Security Solutino][Case] Case connector alert UI (elastic#82405) [Maps] Support runtime fields in tooltips (elastic#84377) [CCR] Fix row actions in follower index and auto-follow pattern tables (elastic#84433) [Enterprise Search] Migrate shared Indexing Status component (elastic#84571) [maps] remove fields from index-pattern test artifacts (elastic#84379) Add routes for use in Sources Schema (elastic#84579) Changes UI links for drilldowns (elastic#83971) ...
This PR refactors the hooks and context files:
use_url_params.ts
andurl_params_context.ts
)use_annotations
).