Skip to content

Commit 66f4437

Browse files
authored
Merge pull request #4 from CryptoLabInc/geuna/fixUI
Geuna/fix UI (Temporarily) Removed the CLI reated menu drop down.
2 parents f795ba8 + 7b859f9 commit 66f4437

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

site/src/modules/dashboard/Navbar/UserDropdown/UserDropdownContent.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
7676

7777
<Divider css={{ marginBottom: 8 }} />
7878

79-
<Link to="/install" css={styles.link}>
79+
{/*<Link to="/install" css={styles.link}>
8080
<MenuItem css={styles.menuItem} onClick={onPopoverClose}>
8181
<InstallDesktopIcon css={styles.menuItemIcon} />
8282
<span css={styles.menuItemText}>Install CLI</span>
8383
</MenuItem>
84-
</Link>
84+
</Link>*/}
8585

8686
<Link to="/settings/account" css={styles.link}>
8787
<MenuItem css={styles.menuItem} onClick={onPopoverClose}>
@@ -118,7 +118,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
118118
<Divider css={{ marginBottom: "0 !important" }} />
119119

120120
<Stack css={styles.info} spacing={0}>
121-
<Tooltip title="Browse the source code">
121+
{/*<Tooltip title="Browse the source code">
122122
<a
123123
css={[styles.footerText, styles.buildInfo]}
124124
href={buildInfo?.external_url}
@@ -127,7 +127,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
127127
>
128128
{buildInfo?.version} <LaunchIcon />
129129
</a>
130-
</Tooltip>
130+
</Tooltip>*/}
131131

132132
{Boolean(buildInfo?.deployment_id) && (
133133
<div
@@ -148,6 +148,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
148148
{buildInfo?.deployment_id}
149149
</div>
150150
</Tooltip>
151+
151152
<CopyButton
152153
text={buildInfo!.deployment_id}
153154
buttonStyles={css`
@@ -163,6 +164,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
163164
</div>
164165
)}
165166

167+
<div css={styles.footerText}>{"© 2025 CryptoLab, Inc."}</div>
166168
<div css={styles.footerText}>{Language.copyrightText}</div>
167169
</Stack>
168170
</div>

site/src/modules/resources/AgentRow.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ export const AgentRow: FC<AgentRowProps> = ({
190190

191191
{showBuiltinApps && (
192192
<div css={{ display: "flex" }}>
193-
{!hideSSHButton && agent.display_apps.includes("ssh_helper") && (
193+
{/*{!hideSSHButton && agent.display_apps.includes("ssh_helper") && (
194194
<SSHButton
195195
workspaceName={workspace.name}
196196
agentName={agent.name}
197197
sshPrefix={sshPrefix}
198198
/>
199-
)}
199+
)}*/}
200200
{proxy.preferredWildcardHostname &&
201201
proxy.preferredWildcardHostname !== "" &&
202202
agent.display_apps.includes("port_forwarding_helper") && (

site/src/pages/TemplatePage/TemplateLayout.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ export const TemplateLayout: FC<PropsWithChildren> = ({
125125
<TabLink to="versions" value="versions">
126126
Versions
127127
</TabLink>
128-
<TabLink to="embed" value="embed">
128+
{/*<TabLink to="embed" value="embed">
129129
Embed
130-
</TabLink>
130+
</TabLink>*/}
131131
{shouldShowInsights && (
132132
<TabLink to="insights" value="insights">
133133
Insights

0 commit comments

Comments
 (0)