File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ summary information for multiple Squonk2 environments and uses Will McGugan's
2323`textual `_ framework to provide the user with a simple,
2424text-based user interface modelled on the popular `k9s `_ Kubernetes monitor.
2525
26+ It displays a summary of the environments, where: -
27+
28+ - A green tick indicates that the authenticator service has issued a token for the service
29+ - The service version is displayed for those that are running
30+ - A **NO RESPONSE ** banner is displayed for services that are not responding
31+
2632.. _k9s : https://k9scli.io
2733.. _squonk2-python-client : https://github.com/InformaticsMatters/squonk2-python-client
2834.. _textual : https://github.com/Textualize/textual
Original file line number Diff line number Diff line change 2424)
2525
2626_NO_RESPONSE_TEXT : str = "- NO RESPONSE -"
27+ _UI_HOSTNAME_POSTFIX : str = "/data-manager-ui"
2728
2829
2930class EnvWidget (Widget ): # type: ignore
@@ -147,7 +148,9 @@ def render(self) -> Panel:
147148
148149 ui_hostname : Optional [str ] = self .environment .ui_hostname
149150 if ui_hostname :
150- ui_hostname_text : Text = Text (ui_hostname + " " , style = _KEY_VALUE_STYLE )
151+ ui_hostname_text : Text = Text (
152+ ui_hostname + _UI_HOSTNAME_POSTFIX + " " , style = _KEY_VALUE_STYLE
153+ )
151154 if ui_api_version == _NO_RESPONSE_TEXT :
152155 ui_hostname_text .append (common .CROSS )
153156 else :
You can’t perform that action at this time.
0 commit comments