From 767d33c0a0ed633a86888a36923a624d2529ad21 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Fri, 23 Aug 2024 20:06:50 -0600 Subject: [PATCH] prompt for name when showing info, and provide a "copy" page when remote --- src/App.vue | 7 +- src/components/ImageMethodDialog.vue | 2 +- src/components/UserNameDialog.vue | 96 ++++++++++++++++++++++++ src/constants/app.ts | 4 +- src/libs/endorserServer.ts | 52 ++++++++++++- src/router/index.ts | 5 ++ src/views/AccountViewView.vue | 4 +- src/views/ContactQRScanShowView.vue | 18 ++++- src/views/ContactsView.vue | 4 +- src/views/DiscoverView.vue | 10 ++- src/views/HomeView.vue | 62 ++++++++++++---- src/views/ProjectsView.vue | 8 +- src/views/ShareMyContactInfoView.vue | 106 +++++++++++++++++++++++++++ 13 files changed, 343 insertions(+), 35 deletions(-) create mode 100644 src/components/UserNameDialog.vue create mode 100644 src/views/ShareMyContactInfoView.vue diff --git a/src/App.vue b/src/App.vue index 49d0356c9..e1a43ca66 100644 --- a/src/App.vue +++ b/src/App.vue @@ -180,8 +180,9 @@ " class="block w-full text-center text-md font-bold uppercase bg-blue-600 text-white px-2 py-2 rounded-md mb-2" > - Yes - {{ notification.yesText ? ", " + notification.yesText : "" }} + Yes{{ + notification.yesText ? ", " + notification.yesText : "" + }}