Skip to content

Commit

Permalink
Small onboarding fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 28, 2024
1 parent 7e4b4a2 commit f3e3639
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/electron/src/views/OnboardingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ const availableSteps = ['welcome'];
if (isMacOS === 'true' && requiresAnyPermission) {
availableSteps.push('data-collection');
}
if (isMacOS === 'false') {
} else if (isMacOS === 'false') {
availableSteps.push('study-trackers-started');
}
if (goToStep === 'study-trackers-started') {
if (!availableSteps.includes('study-trackers-started')) {
availableSteps.push('study-trackers-started');
}
currentStep.value = availableSteps.indexOf('study-trackers-started');
}
Expand Down Expand Up @@ -160,7 +161,7 @@ function startAllTrackers() {
<div v-if="requiresAccessibilityPermission" class="my-5 flex flex-col">
<div>
To correctly run PersonalAnalytics, we collect data on your window switches and
titles. To continue, click Open System Settings and enable Accessibility
titles. To continue, click Grant Accessibility Access and enable Accessibility
permission for PersonalAnalytics.
</div>
<div class="flex items-center justify-center pt-8">
Expand All @@ -172,7 +173,7 @@ function startAllTrackers() {
<span v-if="isAccessibilityPermissionLoading">
<span class="loading loading-spinner loading-xs" />
</span>
<span v-else>Open Accessibility Settings</span>
<span v-else>Grant Accessibility Access</span>
</button>
<div v-else class="flex flex-row">
<svg
Expand All @@ -198,7 +199,7 @@ function startAllTrackers() {
<div v-if="requiresScreenRecordingPermission" class="my-5 flex flex-col">
<div>
To correctly run PersonalAnalytics, we collect data on your window switches and
titles. To continue, click Open System Settings and enable Screen Recording
titles. To continue, click Grant Screen Access and enable Screen Recording
permission for PersonalAnalytics.
</div>
<div class="flex items-center justify-center pt-8">
Expand All @@ -211,7 +212,7 @@ function startAllTrackers() {
<span v-if="isScreenRecordingPermissionLoading">
<span class="loading loading-spinner loading-xs" />
</span>
<span v-else>Open Screen Settings</span>
<span v-else>Grant Screen Access</span>
</button>
<div v-else class="flex flex-row">
<svg
Expand Down

0 comments on commit f3e3639

Please sign in to comment.