-
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
[Infra + Logs UI] Provide cross-app link functions #40494
Comments
Pinging @elastic/infra-logs-ui |
@sgrodzicki @jasonrhodes we found another bug on the linking between apps (#41568) I think this needs to be prioritized, in fact, I thought Jason was actively working on this, I must have miss-understood. |
@alvarolobato thanks, the work I did was to get to the point of being able to create this ticket to implement :) this is one of the highest priority tech-debt/internal improvements we have -- I was waiting for feature work to get off the ground before we pull this into grooming. |
@jasonrhodes what's the current state of this? |
Re-open if this is still valid |
To make linking between solutions easier/less brittle, we've decided to try an idea where each app provides its own "linking functions" that other apps will use when they want to link into an app.
A link function should do the following things:
x-pack/legacy/plugins/observability/public/link_functions/{your_app}/*
x-pack/legacy/plugins/observability/public/index.ts
uiCapabilities
, current license info, etc), they need to be passed in (observability plugin is static only right now: maybe we should make it a "real" plugin so it can consume its own services?)Consider providing a shared React component that renders
null
if the passed in link function returns an invalid state, or callschildren
with thehref
value if the state is valid, to make it easier to hide invalid links?The text was updated successfully, but these errors were encountered: