From b38ebc45e14cf0dc2cf488c16f21357bcd9bd295 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Wed, 31 Jan 2024 21:15:40 -0700 Subject: [PATCH] add a prompt for things for which to express gratitude --- project.task.yaml | 7 +- src/components/GiftedPrompts.vue | 214 +++++++++++++++++++++++++++++++ src/constants/app.ts | 2 + src/views/ContactsView.vue | 5 +- src/views/HomeView.vue | 17 ++- 5 files changed, 241 insertions(+), 4 deletions(-) create mode 100644 src/components/GiftedPrompts.vue diff --git a/project.task.yaml b/project.task.yaml index ca95b64..2ca2549 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -1,9 +1,14 @@ tasks: +- fix timeSafari.org cert renewals - anchor hash into BTC +- add more detail on TimeSafari.org +- add button to front page to prompt for ideas for gratitude + - checkboxes: show in order, show non-person-oriented messages, show only contacts, show only projects + - show previous on "Your" screen +- allow user to add a time when they want their daily notification - prompt for the name directly when they visit the QR scan page -- bug - user on new phone did not prompt him to install - image on give - Show a camera to take a picture - Scale the image to a reasonable size diff --git a/src/components/GiftedPrompts.vue b/src/components/GiftedPrompts.vue new file mode 100644 index 0000000..adb07b1 --- /dev/null +++ b/src/components/GiftedPrompts.vue @@ -0,0 +1,214 @@ + + + + + diff --git a/src/constants/app.ts b/src/constants/app.ts index 1675806..4e94d01 100644 --- a/src/constants/app.ts +++ b/src/constants/app.ts @@ -11,6 +11,8 @@ export enum AppString { PROD_PUSH_SERVER = "https://timesafari.app", TEST1_PUSH_SERVER = "https://test.timesafari.app", TEST2_PUSH_SERVER = "https://timesafari-pwa.anomalistlabs.com", + + NO_CONTACT_NAME = "(no name)", } export const DEFAULT_ENDORSER_API_SERVER = AppString.TEST_ENDORSER_API_SERVER; diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 6182c5d..c770544 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -98,7 +98,7 @@ class="inline-block align-text-bottom border border-slate-300 rounded" @click="showLargeIdenticon = contact.did" > - {{ contact.name || "(no name)" }} + {{ contact.name || AppString.NO_CONTACT_NAME }} +