-
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
Show toast after a new watcher is created #47197
Conversation
💔 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`} |
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.
Did the endpoint change?
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.
@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?
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 looks good. Thanks for catching this 👍
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? |
retest |
💚 Build Succeeded |
closes #46454
Pass the Kibana context to KibanaLink in case it cannot get it from the KibanaCore hook.