Skip to content
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

Show toast after a new watcher is created #47197

Closed
wants to merge 1 commit into from

Conversation

cauemarcondes
Copy link
Contributor

closes #46454

Pass the Kibana context to KibanaLink in case it cannot get it from the KibanaCore hook.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@@ -260,7 +260,8 @@ export class WatcherFlyout extends Component<
}
)}{' '}
<KibanaLink
path={`/management/elasticsearch/watcher/watches/watch/${id}`}
path={`/management/elasticsearch/watcher/watches/watch/${id}/status`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the endpoint change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sqren, I changed it because the old link was going to the Watcher List Page instead of opening the watcher which has just been created. Unless that is the correct behavior?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks for catching this 👍

@sorenlouv
Copy link
Member

Btw. can you check if we have the same problem with machine learning (ML) integration and in that case fix it in this PR too?

@cauemarcondes
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Error thrown when creating watcher
3 participants