-
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
[Logs Explorer] Add "Add data" button #166266
[Logs Explorer] Add "Add data" button #166266
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
🤖 GitHub commentsExpand to view the GitHub comments
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.
APM Changes LGTM
…ghiani/kibana into 165486-add-data-applicationa-button
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.
Navigating directly by clicking it works 👍 The completely changed order of elements when comparing stateful and serverless felt surprising, but I assume this is current design?
|
||
return ( | ||
<EuiButton | ||
onClick={navigateToOnboarding} |
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.
Can we enhance this opening in a new tab also works?
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.
Screen.Recording.2023-09-14.at.09.29.22.mov
Correct, here you can find the different design for the two modes. |
…ghiani/kibana into 165486-add-data-applicationa-button
return ( | ||
<EuiButton | ||
href={onboardingUrl} | ||
target="_blank" |
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.
Doesn't this always open in a new tab now? Sorry for being unclear, but this would be the behavior we're aiming for with such buttons in Kibana when possible:
- clicking the button navigates to the on-boarding without a full page reload
- selecting "open in a new tab/window" on the button opens the on-boarding in a new tab/window
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.
Oh, I see what you mean!
I just added a change to fix this link behavior and the discover one, thanks for clarifying this!
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Page load bundle
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.
LGTM, thank you!
services.discover.locator?.navigate(discoverLinkParams); | ||
}; | ||
|
||
const discoverLinkProps = getRouterLinkProps({ |
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.
This works 👍 As we amass more cross-app links over time we might want to switch to
export const RedirectAppLinks: FunctionComponent<RedirectCrossAppLinksProps> = ({ |
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.
Didn't know about its existence, thanks for the heads-up!
📓 Summary
Closes #165486
This work restructured the entry point for the 2 different header menus (stateful, serverless) and added both of them the Add data button to navigate to the onboarding page.
Stateful
Serverless