Skip to content

Adjusting onboarding copy for better readability #16570

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

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 7 additions & 17 deletions components/dashboard/src/onboarding/StepOrgInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@ export const StepOrgInfo: FC<Props> = ({ user, onComplete }) => {
}
setJobRole(val);
}}
hint={
jobRole !== JOB_ROLE_OTHER
? "Please select the role that best describes the type of work you'll use Gitpod for"
: ""
}
error={jobRoleError.message}
onBlur={jobRoleError.onBlur}
>
Expand All @@ -166,16 +161,7 @@ export const StepOrgInfo: FC<Props> = ({ user, onComplete }) => {
</SelectInputField>

{jobRole === JOB_ROLE_OTHER && (
<TextInputField
value={jobRoleOther}
onChange={setJobRoleOther}
placeholder="Please specify"
hint={
jobRole === JOB_ROLE_OTHER
? "Please select the role that best describes the type of work you'll use Gitpod for"
: ""
}
/>
<TextInputField value={jobRoleOther} onChange={setJobRoleOther} placeholder="Please share (optional)" />
)}

<TextInputField
Expand Down Expand Up @@ -205,7 +191,7 @@ export const StepOrgInfo: FC<Props> = ({ user, onComplete }) => {
))}
</CheckboxInputField>

<CheckboxInputField label="I'm signing up for Gitpod to...">
<CheckboxInputField label="I'm signing up for Gitpod for...">
{signupGoalsOptions.map((o) => (
<CheckboxInput
key={o.value}
Expand All @@ -224,7 +210,11 @@ export const StepOrgInfo: FC<Props> = ({ user, onComplete }) => {
</CheckboxInputField>

{signupGoals.includes(SIGNUP_GOALS_OTHER) && (
<TextInputField value={signupGoalsOther} placeholder="Please specify" onChange={setSignupGoalsOther} />
<TextInputField
value={signupGoalsOther}
placeholder="Please share (optional)"
onChange={setSignupGoalsOther}
/>
)}
</OnboardingStep>
);
Expand Down
4 changes: 2 additions & 2 deletions components/dashboard/src/onboarding/exploration-reasons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
export const getExplorationReasons = () => {
return [
{ value: "explore-professional", label: "For work" },
{ value: "explore-personal", label: "For personal projects, or open-source" },
{ value: "explore-personal", label: "For personal projects or open-source" },
{
value: "replace-remote-dev",
label: "To replace remote/containerized development (VDI, VM based, Docker Desktop,...)",
label: "To replace remote/containerized development (VDI, VM, Docker Desktop)",
},
];
};
12 changes: 6 additions & 6 deletions components/dashboard/src/onboarding/job-roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export const JOB_ROLE_OTHER = "other";
export const getJobRoleOptions = () => {
return [
{ value: "", label: "Please select one" },
{ value: "software-eng", label: "Software Engineer" },
{ value: "software-eng", label: "Software Engineering" },
{ value: "data", label: "Data / Analytics" },
{ value: "academics", label: "Academic (Student, Researcher)" },
{ value: "enabling", label: "Enabling team (Platform, Developer Experience)" },
{ value: "team-lead", label: "Team / Function Lead" },
{ value: "academics", label: "Academia (Student, Researcher)" },
{ value: "enabling", label: "Platform or Developer Experience" },
{ value: "team-lead", label: "A Team Lead or Function Lead role" },
{ value: "devrel", label: "DevRel" },
{ value: "product-design", label: "Product (PM, Designer)" },
{ value: JOB_ROLE_OTHER, label: "Other - please specify / prefer not to say" },
{ value: "product-design", label: "Product" },
{ value: JOB_ROLE_OTHER, label: "Other" },
];
};
2 changes: 1 addition & 1 deletion components/dashboard/src/onboarding/signup-goals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const getSignupGoalsOptions = () => {
{ value: "onboarding", label: "Faster onboarding" },
{ value: "powerful-resources", label: "More powerful dev resources" },
{ value: "security", label: "More secure dev process" },
{ value: SIGNUP_GOALS_OTHER, label: "Other - please specify / prefer not to say" },
{ value: SIGNUP_GOALS_OTHER, label: "Other" },
];
};