Skip to content

Commit 8d581a9

Browse files
Siddhant-K-coderoboquat
authored andcommitted
chore: related docs in settings
Signed-off-by: Siddhant Khare <[email protected]>
1 parent 0eaa3f5 commit 8d581a9

File tree

6 files changed

+76
-13
lines changed

6 files changed

+76
-13
lines changed

components/dashboard/src/components/BillingAccountSelector.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,17 @@ export function BillingAccountSelector(props: { onSelected?: () => void }) {
9696
{teamsAvailableForAttribution === undefined && <Spinner className="m-2 h-5 w-5 animate-spin" />}
9797
{teamsAvailableForAttribution && (
9898
<div>
99-
<p>Associate usage without a project to the billing account below.</p>
99+
<h2 className="text-gray-500">
100+
Associate usage without a project to the billing account below.{" "}
101+
<a
102+
className="gp-link"
103+
href="https://www.gitpod.io/docs/configure/billing"
104+
target="_blank"
105+
rel="noreferrer"
106+
>
107+
Learn more
108+
</a>
109+
</h2>
100110
<div className="mt-4 max-w-2xl grid grid-cols-3 gap-3">
101111
<SelectableCardSolid
102112
className="h-18"

components/dashboard/src/settings/EnvironmentVariables.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,17 @@ export default function EnvVars() {
222222
<div className="flex items-start sm:justify-between mb-2">
223223
<div>
224224
<h3>Environment Variables</h3>
225-
<h2 className="text-gray-500">Variables are used to store information like passwords.</h2>
225+
<h2 className="text-gray-500">
226+
Variables are used to store information like passwords.{" "}
227+
<a
228+
className="gp-link"
229+
href="https://www.gitpod.io/docs/configure/projects/environment-variables#environment-variables"
230+
target="_blank"
231+
rel="noreferrer"
232+
>
233+
Learn more
234+
</a>
235+
</h2>
226236
</div>
227237
{envVars.length !== 0 ? (
228238
<div className="mt-3 flex mt-0">
@@ -238,13 +248,7 @@ export default function EnvVars() {
238248
<h3 className="text-center pb-3 text-gray-500 dark:text-gray-400">No Environment Variables</h3>
239249
<div className="text-center pb-6 text-gray-500">
240250
In addition to user-specific environment variables you can also pass variables through a
241-
workspace creation URL.{" "}
242-
<a
243-
className="gp-link"
244-
href="https://www.gitpod.io/docs/environment-variables/#using-the-account-settings"
245-
>
246-
Learn more
247-
</a>
251+
workspace creation URL.
248252
</div>
249253
<button onClick={add}>New Variable</button>
250254
</div>

components/dashboard/src/settings/Integrations.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,17 @@ function GitProviders() {
320320
)}
321321

322322
<h3>Git Providers</h3>
323-
<h2>Manage permissions for Git providers.</h2>
323+
<h2 className="text-gray-500">
324+
Manage permissions for Git providers.{" "}
325+
<a
326+
className="gp-link"
327+
href="https://www.gitpod.io/docs/configure/authentication"
328+
target="_blank"
329+
rel="noreferrer"
330+
>
331+
Learn more
332+
</a>
333+
</h2>
324334
<ItemsList className="pt-6">
325335
{authProviders &&
326336
authProviders.map((ap) => (

components/dashboard/src/settings/PersonalAccessTokens.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,26 @@ function ListAccessTokensView() {
156156
</a>
157157
</PillLabel>
158158
</h3>
159-
<h2 className="text-gray-500">Create or regenerate access tokens.</h2>
159+
<h2 className="text-gray-500">
160+
Create or regenerate access tokens.{" "}
161+
<a
162+
className="gp-link"
163+
href="https://www.gitpod.io/docs/configure/user-settings/access-tokens"
164+
target="_blank"
165+
rel="noreferrer"
166+
>
167+
Learn more
168+
</a>
169+
&nbsp;&middot;&nbsp;
170+
<a
171+
className="gp-link"
172+
href="https://github.com/gitpod-io/gitpod/issues/15433"
173+
target="_blank"
174+
rel="noreferrer"
175+
>
176+
Send feedback
177+
</a>
178+
</h2>
160179
</div>
161180
{tokens.length > 0 && (
162181
<Link to={settingsPathPersonalAccessTokenCreate}>

components/dashboard/src/settings/Preferences.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@ export default function Preferences() {
5151
<div>
5252
<PageWithSettingsSubMenu title="Preferences" subtitle="Configure user preferences.">
5353
<h3>Editor</h3>
54-
<p className="text-base text-gray-500 dark:text-gray-400">Choose the editor for opening workspaces.</p>
54+
<p className="text-base text-gray-500 dark:text-gray-400">
55+
Choose the editor for opening workspaces.{" "}
56+
<a
57+
className="gp-link"
58+
href="https://www.gitpod.io/docs/references/ides-and-editors"
59+
target="_blank"
60+
rel="noreferrer"
61+
>
62+
Learn more
63+
</a>
64+
</p>
5565
<SelectIDE location="preferences" />
5666
<h3 className="mt-12">Theme</h3>
5767
<p className="text-base text-gray-500 dark:text-gray-400">Early bird or night owl? Choose your side.</p>

components/dashboard/src/settings/SSHKeys.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,17 @@ export default function SSHKeys() {
188188
<div className="flex items-start sm:justify-between mb-2">
189189
<div>
190190
<h3>SSH Keys</h3>
191-
<h2 className="text-gray-500">Create and manage SSH keys.</h2>
191+
<h2 className="text-gray-500">
192+
Create and manage SSH keys.{" "}
193+
<a
194+
className="gp-link"
195+
href="https://www.gitpod.io/docs/configure/user-settings/ssh"
196+
target="_blank"
197+
rel="noreferrer"
198+
>
199+
Learn more
200+
</a>
201+
</h2>
192202
</div>
193203
{dataList.length !== 0 ? (
194204
<div className="mt-3 flex">

0 commit comments

Comments
 (0)