From 90b20f1657e1217827d3619dfc9abaa473dc9e99 Mon Sep 17 00:00:00 2001 From: Sassan Haradji Date: Sat, 11 May 2024 01:14:25 +0400 Subject: [PATCH] refactor(docker): update ngrok extra information text messages - closes #100 --- CHANGELOG.md | 1 + ubo_app/services/080-docker/reducer.py | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f55f694..2c2a6eb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - fix(docker): remove ngrok dashboard url from `qrcode_input` prompt message #90 - fix(core): update ubo-gui to the latest version to align menu items with the physical buttons - closes #93 +- refactor(docker): update ngrok extra information text messages - closes #100 ## Version 0.14.0 diff --git a/ubo_app/services/080-docker/reducer.py b/ubo_app/services/080-docker/reducer.py index 41b039d6..392f2b58 100644 --- a/ubo_app/services/080-docker/reducer.py +++ b/ubo_app/services/080-docker/reducer.py @@ -168,14 +168,22 @@ class ImageEntry(Immutable): r'^[a-zA-Z0-9]{20,30}_[a-zA-Z0-9]{20,30}$', resolver=lambda code, _: code, prompt='Enter the Ngrok Auth Token', - extra_information="""Get the token from {ngrok|EH N G EH R AA K} \ -dashboard, convert it to {QR|K Y UW AA R} code and scan it here.""", + extra_information="""\ +Follow these steps: + +1. Login to your {ngrok|EH N G EH R AA K} account +2. Get the authentication token from the dashboard +3. Convert it to {QR|K Y UW AA R} code +4. Scan QR code to input the token""", ), }, command=lambda: qrcode_input( '', resolver=lambda code, _: code, prompt='Enter the command, for example: `http 80` or `tcp 22`', + extra_information="""\ +This is the command you would enter when running {ngrok|EH N G EH R AA K}. +Refer to {ngrok|EH N G EH R AA K} documentation for further information""", ), ), *(