Skip to content

Commit

Permalink
Updated text and symbols for onboarding pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nriedman committed Jan 16, 2024
1 parent 4d5db8d commit d1013ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
20 changes: 8 additions & 12 deletions Intake/Onboarding/InterestingModules.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,21 @@ struct InterestingModules: View {

var body: some View {
SequentialOnboardingView(
title: "INTERESTING_MODULES_TITLE",
subtitle: "INTERESTING_MODULES_SUBTITLE",
title: "The Intake Process",
subtitle: "Intake works in 3 simple steps...",

Check warning on line 20 in Intake/Onboarding/InterestingModules.swift

View check run for this annotation

Codecov / codecov/patch

Intake/Onboarding/InterestingModules.swift#L19-L20

Added lines #L19 - L20 were not covered by tests
content: [
SequentialOnboardingView.Content(
title: "INTERESTING_MODULES_AREA1_TITLE",
description: "INTERESTING_MODULES_AREA1_DESCRIPTION"
title: "Log in to Firebase",
description: "Sign in or make an account so we can keep your information secure and accessible"

Check warning on line 24 in Intake/Onboarding/InterestingModules.swift

View check run for this annotation

Codecov / codecov/patch

Intake/Onboarding/InterestingModules.swift#L23-L24

Added lines #L23 - L24 were not covered by tests
),
SequentialOnboardingView.Content(
title: "INTERESTING_MODULES_AREA2_TITLE",
description: "INTERESTING_MODULES_AREA2_DESCRIPTION"
title: "Explain your Chief Complaint",
description: "What brings you in today? Give us an English description, and our AI model will summarize the key points"

Check warning on line 28 in Intake/Onboarding/InterestingModules.swift

View check run for this annotation

Codecov / codecov/patch

Intake/Onboarding/InterestingModules.swift#L27-L28

Added lines #L27 - L28 were not covered by tests
),
SequentialOnboardingView.Content(
title: "INTERESTING_MODULES_AREA3_TITLE",
description: "INTERESTING_MODULES_AREA3_DESCRIPTION"
title: "Fill in intake info",
description: "With the help of our AI model, quickly fill in prompts to complete electronic intake form with medical history, contact info, etc."

Check failure on line 32 in Intake/Onboarding/InterestingModules.swift

View workflow job for this annotation

GitHub Actions / SwiftLint / SwiftLint

Line Length Violation: Line should be 150 characters or less; currently it has 165 characters (line_length)

Check warning on line 32 in Intake/Onboarding/InterestingModules.swift

View check run for this annotation

Codecov / codecov/patch

Intake/Onboarding/InterestingModules.swift#L31-L32

Added lines #L31 - L32 were not covered by tests
),

Check failure on line 33 in Intake/Onboarding/InterestingModules.swift

View workflow job for this annotation

GitHub Actions / SwiftLint / SwiftLint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
SequentialOnboardingView.Content(
title: "INTERESTING_MODULES_AREA4_TITLE",
description: "INTERESTING_MODULES_AREA4_DESCRIPTION"
)
],
actionText: "INTERESTING_MODULES_BUTTON",
action: {
Expand Down
24 changes: 12 additions & 12 deletions Intake/Onboarding/Welcome.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,35 @@ struct Welcome: View {

var body: some View {
OnboardingView(
title: "WELCOME_TITLE",
subtitle: "WELCOME_SUBTITLE",
title: "Welcome to Intake",
subtitle: "Electronic medical forms made easy.",
areas: [
OnboardingInformationView.Content(
icon: {
Image(systemName: "apps.iphone")
Image(systemName: "list.bullet.clipboard")
.accessibilityHidden(true)
},
title: "WELCOME_AREA1_TITLE",
description: "WELCOME_AREA1_DESCRIPTION"
title: "Modernize Patient Experience",
description: "Digitally replicate the traditional patient intake form to ensure up-to-date health records"
),
OnboardingInformationView.Content(
icon: {
Image(systemName: "shippingbox.fill")
Image(systemName: "heart.circle")
.accessibilityHidden(true)
},
title: "WELCOME_AREA2_TITLE",
description: "WELCOME_AREA2_DESCRIPTION"
title: "Integrate Medical History",
description: "Intake automatically extracts key information from HealthKit and patient input."
),
OnboardingInformationView.Content(
icon: {
Image(systemName: "list.bullet.clipboard.fill")
Image(systemName: "bubble")
.accessibilityHidden(true)
},
title: "WELCOME_AREA3_TITLE",
description: "WELCOME_AREA3_DESCRIPTION"
title: "Virtual Assistance",
description: "Our helpful AI survey assistant can answer clarifying questions."
)
],
actionText: "WELCOME_BUTTON",
actionText: "Get Started",
action: {
onboardingNavigationPath.nextStep()
}
Expand Down

0 comments on commit d1013ae

Please sign in to comment.