From 79469b65eba17c4988ececda1e4a7fae5b0bffb2 Mon Sep 17 00:00:00 2001 From: Liam Thompson <32779855+leemthompo@users.noreply.github.com> Date: Mon, 18 Dec 2023 09:49:15 +0100 Subject: [PATCH] Improvements per review Co-authored-by: Kaarina Tungseth --- resources/web/docs_js/components/console_widget.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/web/docs_js/components/console_widget.jsx b/resources/web/docs_js/components/console_widget.jsx index ba6bea41f6c9..623e6bcbf4bc 100644 --- a/resources/web/docs_js/components/console_widget.jsx +++ b/resources/web/docs_js/components/console_widget.jsx @@ -76,10 +76,11 @@ export const ConsoleWidget = props => { // Simple function to display a modal/tooltip const showHelp = () => { - alert('1. Use the toggle in the lower left-hand corner to change client languages.\n' + - '2. - Select "Copy as curl" to copy the code in curl format.\n' + - ' - Select "View in Console" to load example in Kibana Console.\n' + - '3. Use the gear icon (⚙) in the lower right-hand corner to configure your Elasticsearch host URL, username and Kibana Console URL.This ensures the code examples target your Elasticsearch instance.\n\n') + alert('1. To change the client language, use the dropdown.\n' + + '2. To copy the code in curl format, click "Copy as curl".\n' + + '3. To open the example in Kibana Console: + a. Click the gear icon (⚙) in the lower right-hand corner to configure your Elasticsearch host URL, username, and Kibana Console URL. This ensures the code examples target your Elasticsearch instance. + b. Click "View in Console".\n' + };