Skip to content

Commit 8965ff0

Browse files
committed
serve/simple: Notice for Linux users (#62)
![image](https://github.com/tailscale-dev/vscode-tailscale/assets/40265/cd0d0009-eef0-490a-845d-e062e5973893) Signed-off-by: Tyler Smalley <[email protected]>
1 parent 0306c69 commit 8965ff0

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a title="Learn more about Tailscale" href="https://tailscale.com"><img width="476px" src="https://github.com/tailscale-dev/tailscale-dev/assets/40265/113339dc-fea6-4ccf-a284-22ecee62c7c9" alt="Tailscale Logo" /></a>
99
</p>
1010

11-
> Notice for Linux users: We're working to resolve an issue preventing this extension from being used on Linux. However, you can still use Funnel from the CLI ([docs](https://tailscale.com/kb/1223/tailscale-funnel/?q=funnel)).
11+
> Notice for Linux users: We're working to resolve an issue preventing this extension from being used on Linux. However, you can still use Funnel from the CLI ([docs](https://tailscale.com/kb/1223/tailscale-funnel)).
1212
1313
> Tailscale is a free and open source service, based on WireGuard®, that helps users build no-hassle virtual private networks. With a Tailscale network (tailnet), you can securely access services and devices on that tailnet from anywhere in the world. Tailnets can include anything from a Digital Ocean droplet to a Raspberry Pi, home security camera, or even a Steam Deck. You can share nodes with friends or co-workers, or even expose ports to the public internet with Tailscale Funnel.
1414

src/webviews/serve-panel/simple-view.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,31 @@ export const SimpleView = () => {
6161
const textDisabledStyle = 'text-foreground bg-background';
6262
const hasServeTextStyle = persistedPort ? textStyle : textDisabledStyle;
6363

64+
// sorry Linux
65+
if (window.tailscale.platform === 'linux') {
66+
return (
67+
<div className="flex mt-2 bg-bannerBackground p-3 text-bannerForeground">
68+
<div className="pr-2 codicon codicon-terminal-linux !text-xl"></div>
69+
<div className=" text-2lg">
70+
<div className="font-bold ">Notice for Linux users</div>
71+
<div>
72+
We're working to resolve an issue preventing this extension from being used on Linux.
73+
<br />
74+
However, you can still use Funnel from the CLI.
75+
</div>
76+
<div className="mt-4">
77+
<VSCodeButton
78+
appearance="primary"
79+
onClick={() => vsCodeAPI.openLink('https://tailscale.com/kb/1223/tailscale-funnel')}
80+
>
81+
See CLI docs
82+
</VSCodeButton>
83+
</div>
84+
</div>
85+
</div>
86+
);
87+
}
88+
6489
return (
6590
<div>
6691
{data?.Errors?.map((error, index) => (

0 commit comments

Comments
 (0)