-
Notifications
You must be signed in to change notification settings - Fork 138
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
[t] Indicate Tailscale install requirement #2845 #2867
[t] Indicate Tailscale install requirement #2845 #2867
Conversation
Introduces `tailscale` binary os.path.isfile sensitivity to inform the associated Web-UI errors: enabling more context regarding our NOT pre-installing tailscale.
TestingBehaviour appear as-was with a "Tailscale install" as per our recent how-to: https://rockstor.com/docs/howtos/tailscale_install.html Without Tailscale installed
Result is display of Tailscale config dialog 3 Submit defaults:
Close all dialogs
Result is as above. N.B. I was expecting a FileNotFound in one of the above. Looking into this now. However: Ready for review as does catch and inform folks:
and given, info on how to install. A link would be better: but we do have a doc link via the I icon in the config dialog: which in turn links to the same how-to. |
In order to trigger this we look to the code comment:
With a fresh install there is no config: and we error out with the prior exception when initially trying to adding one (with no Tailscale install) as per the last comments details.
|
An rpm originating install was setup on both a 15.5 and 15.6 (both X86_64) install and both were Web-UI configured & enabled to participate in a Tailscale network. They were then able to ping one-another using the Tailscale assigned IPs. Serving as a test to ensure we still have successful Tailscale default config / enable / Login capability via the Web-UI only. Thanks again to @FroggyFlox for this Tailscale UI implementation/addition. I'm not entirely happy with my modifications here: but they serve an informational purpose which was the aim of the linked issue. We can re-address the in-elegance of only catching exceptions here once we have begun our HTMX 2.0 introduction and enabled SSEs to more interactively/proactively indicate a service's installed state. Enabling far smaller install options in the future. But for now we needed to inform folks of this services non-default install status: our first service of this kind. |
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.
@phillxnet,
I won't have time to test it myself but your extensive testing and report make me confident it's all good!
I do agreed it's still not the best user experience but it is definitely a big improvement over the current situation and it lays the foundation for a much better and dynamic user experience down the road once we have a proper messaging/notification system in place.
Thanks for taking care of this one too!
Introduces
tailscale
binary os.path.isfile sensitivity to inform the associated Web-UI errors: enabling more context regarding our NOT pre-installing tailscale.Fixes #2845