Skip to content

Commit

Permalink
refactor(docker): update ngrok extra information text messages - closes
Browse files Browse the repository at this point in the history
  • Loading branch information
sassanh committed May 10, 2024
1 parent c6a569f commit 90b20f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 10 additions & 2 deletions ubo_app/services/080-docker/reducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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""",
),
),
*(
Expand Down

0 comments on commit 90b20f1

Please sign in to comment.