Skip to content
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

Update onboarding flow #2

Merged
merged 4 commits into from
Oct 10, 2024
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
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
contents: read
periphery:
name: Periphery
uses: StanfordSpezi/.github/.github/workflows/periphery.yml@v2
uses: StanfordBDHG/.github/.github/workflows/periphery.yml@v2
permissions:
contents: read
with:
Expand All @@ -38,7 +38,7 @@ jobs:
contents: read
codeql:
name: CodeQL
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
security-events: write
actions: read
Expand All @@ -48,7 +48,7 @@ jobs:
fastlanelane: codeql
buildandtest:
name: Build and Test
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
with:
Expand Down
2 changes: 1 addition & 1 deletion MyHeartCounts/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct HomeView: View {
Contacts(presentingAccount: $presentingAccount)
.tag(Tabs.contact)
.tabItem {
Label("CONTACTS_TAB_TITLE", systemImage: "person.fill")
Label("CONTACTS_TAB_TITLE", systemImage: "phone")
}
}
.sheet(isPresented: $presentingAccount) {
Expand Down
4 changes: 2 additions & 2 deletions MyHeartCounts/Onboarding/Welcome.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ struct Welcome: View {
),
OnboardingInformationView.Content(
icon: {
Image(systemName: "shippingbox.fill")
Image(systemName: "applewatch")
.accessibilityHidden(true)
},
title: "WELCOME_AREA2_TITLE",
description: "WELCOME_AREA2_DESCRIPTION"
),
OnboardingInformationView.Content(
icon: {
Image(systemName: "list.bullet.clipboard.fill")
Image(systemName: "heart.circle")
.accessibilityHidden(true)
},
title: "WELCOME_AREA3_TITLE",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.082",
"green" : "0.082",
"red" : "0.549"
}
},
"idiom" : "universal"
}
],
Expand Down
2 changes: 1 addition & 1 deletion MyHeartCounts/Resources/ConsentDocument.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Spezi can render consent documents in the markdown format: This is a *markdown* **example**.
This is a placeholder for the consent document for the **MyHeartCounts** study.
52 changes: 26 additions & 26 deletions MyHeartCounts/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The MyHeartCounts demonstrates the usage of the Firebase Account Module."
"value" : "Log In to the MyHeartCounts Study"
}
}
}
Expand Down Expand Up @@ -119,7 +119,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "This onboarding step allows you to customize the onboarding flow to explain how the application uses the HealhtKit data and allows a user to cusomize the selection."
"value" : "The data will be used to understand how your activity is related to your condition."
}
}
}
Expand All @@ -129,7 +129,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi can access data from HealthKit using the HealthKitDataSource module."
"value" : "The MyHeartCounts app will collect activity data from your phone and/or watch while you are enrolled in the study."
}
}
}
Expand All @@ -150,7 +150,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The onboarding module allows you to build an onboarding flow like this one."
"value" : "This application will collect activity and sleep data to track your health."
}
}
}
Expand All @@ -160,7 +160,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Onboarding"
"value" : "Health Data Collection"
}
}
}
Expand All @@ -170,7 +170,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The application uses HL7 FHIR to provide a common standard to encode data gathered by the application."
"value" : "This application will provide surveys that you can take on a regular basis to track your heart health."
}
}
}
Expand All @@ -180,7 +180,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "HL7 FHIR"
"value" : "Surveys"
}
}
}
Expand All @@ -190,7 +190,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The contact module allows you to display contact information in your application."
"value" : "This application contains an AI-based health coach to help you stay healthy."
}
}
}
Expand All @@ -200,7 +200,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Contact"
"value" : "Coach"
}
}
}
Expand All @@ -210,7 +210,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The HealthKit data source module allows you to fetch data from HealthKit and e.g. transform it to FHIR resources."
"value" : "This application will provide you information you can use to learn about heart health."
}
}
}
Expand All @@ -220,7 +220,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "HealthKit Data Source"
"value" : "Resources"
}
}
}
Expand Down Expand Up @@ -251,7 +251,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Interesting Modules"
"value" : "About the Study"
}
}
}
Expand Down Expand Up @@ -291,7 +291,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The Spezi Scheduler module enables to send out local notifications when a new event of a task is scheduled."
"value" : "The MyHeartCounts app will send you notifications to remind you to perform tasks."
}
}
}
Expand All @@ -301,7 +301,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi Scheduler Notifications."
"value" : "MyHeartCounts Notifications"
}
}
}
Expand All @@ -322,7 +322,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Schedule"
"value" : "Activities"
}
}
}
Expand All @@ -333,7 +333,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Schedule"
"value" : "Activities"
}
}
}
Expand Down Expand Up @@ -373,7 +373,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Please fill out the Social Support Questionnaire every day."
"value" : "Please fill out the Daily Check-In survey every day."
}
}
}
Expand All @@ -383,7 +383,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Social Support Questionnaire"
"value" : "Daily Check-In"
}
}
}
Expand All @@ -393,7 +393,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The Spezi Framework builds the foundation of this application."
"value" : "We are asking you to join in a global study of cardiovascular health."
}
}
}
Expand All @@ -403,7 +403,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "The Spezi Framework"
"value" : "Join the Study"
}
}
}
Expand All @@ -413,7 +413,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi uses the Swift Package Manager to import it as a dependency."
"value" : "We make it easy to “donate” data about your physical activity and sleep, and assess your fitness and risk factors for a better heart."
}
}
}
Expand All @@ -423,7 +423,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Swift Package Manager"
"value" : "Donate Your Data"
}
}
}
Expand All @@ -433,7 +433,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi offers several modules including HealthKit integration, questionnaires, and more ..."
"value" : "With your help we can make your heart count in the fight to stop heart disease and stroke."
}
}
}
Expand All @@ -443,7 +443,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi Modules"
"value" : "Protect Your Heart"
}
}
}
Expand All @@ -463,7 +463,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "This application demonstrates several Spezi features & modules."
"value" : "Welcome to the MyHeart Counts research study!"
}
}
}
Expand All @@ -474,7 +474,7 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Spezi\nMyHeartCounts"
"value" : "MyHeartCounts"
}
}
}
Expand Down
Loading