forked from jsnbuchanan/crowd-funder-for-time-pwa
add basic page-by-page onboarding help
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
{{ AppString.APP_NAME }}
|
||||
</h1>
|
||||
|
||||
<OnboardingDialog ref="onboardingDialog" />
|
||||
|
||||
<!-- prompt to install notifications with notificationsSupported, which we're making an advanced feature -->
|
||||
<div class="mb-8 mt-8">
|
||||
<div
|
||||
@@ -326,6 +328,7 @@ import GiftedDialog from "@/components/GiftedDialog.vue";
|
||||
import GiftedPrompts from "@/components/GiftedPrompts.vue";
|
||||
import FeedFilters from "@/components/FeedFilters.vue";
|
||||
import InfiniteScroll from "@/components/InfiniteScroll.vue";
|
||||
import OnboardingDialog from "@/components/OnboardingDialog.vue";
|
||||
import QuickNav from "@/components/QuickNav.vue";
|
||||
import TopMessage from "@/components/TopMessage.vue";
|
||||
import UserNameDialog from "@/components/UserNameDialog.vue";
|
||||
@@ -335,10 +338,10 @@ import {
|
||||
PASSKEYS_ENABLED,
|
||||
} from "@/constants/app";
|
||||
import {
|
||||
db,
|
||||
accountsDB,
|
||||
updateAccountSettings,
|
||||
db,
|
||||
retrieveSettingsForActiveAccount,
|
||||
updateAccountSettings,
|
||||
} from "@/db/index";
|
||||
import { Contact } from "@/db/tables/contacts";
|
||||
import {
|
||||
@@ -358,6 +361,7 @@ import {
|
||||
import {
|
||||
generateSaveAndActivateIdentity,
|
||||
GiverReceiverInputInfo,
|
||||
OnboardPage,
|
||||
registerSaveAndActivatePasskey,
|
||||
} from "@/libs/util";
|
||||
|
||||
@@ -384,12 +388,13 @@ interface GiveRecordWithContactInfo extends GiveSummaryRecord {
|
||||
},
|
||||
},
|
||||
components: {
|
||||
EntityIcon,
|
||||
FeedFilters,
|
||||
GiftedDialog,
|
||||
GiftedPrompts,
|
||||
FeedFilters,
|
||||
QuickNav,
|
||||
EntityIcon,
|
||||
InfiniteScroll,
|
||||
OnboardingDialog,
|
||||
QuickNav,
|
||||
TopMessage,
|
||||
UserNameDialog,
|
||||
},
|
||||
@@ -448,6 +453,12 @@ export default class HomeView extends Vue {
|
||||
|
||||
this.isAnyFeedFilterOn = isAnyFeedFilterOn(settings);
|
||||
|
||||
if (!settings.finishedOnboarding) {
|
||||
(this.$refs.onboardingDialog as OnboardingDialog).open(
|
||||
OnboardPage.Home,
|
||||
);
|
||||
}
|
||||
|
||||
// someone may have have registered after sharing contact info, so recheck
|
||||
if (!this.isRegistered && this.activeDid) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user