From 944b0ad759cc2e00cd9bfd275fc572087355535c Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 24 Jun 2023 21:07:21 -0600 Subject: [PATCH] fix registration, separate ID creation to allow new random ones, and refactor warning and other verbiage --- project.task.yaml | 1 + src/router/index.ts | 8 ++ src/views/AccountViewView.vue | 45 +++++++---- src/views/ContactQRScanShowView.vue | 2 +- src/views/ContactsView.vue | 2 +- src/views/HelpView.vue | 55 +++++++------- src/views/NewIdentifierView.vue | 112 ++++++++++++++++++++++++++++ src/views/StartView.vue | 2 +- 8 files changed, 179 insertions(+), 48 deletions(-) create mode 100644 src/views/NewIdentifierView.vue diff --git a/project.task.yaml b/project.task.yaml index 5e8936f..0695e2f 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -4,6 +4,7 @@ - add infinite scroll assignee:matthew blocks: ref:https://raw.githubusercontent.com/trentlarson/lives-of-gifts/master/project.yaml#kickstarter%20for%20time +- allow new (random) user creation, and make accurate message about registration - allow type annotations in World.js & landmarks.js (since we get this error: "Types are not supported by current JavaScript version") - replace user-affecting console.log & console.error with error messages (eg. catches) diff --git a/src/router/index.ts b/src/router/index.ts index d7fd253..302f00b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -111,6 +111,14 @@ const routes: Array = [ /* webpackChunkName: "new-edit-project" */ "../views/NewEditProjectView.vue" ), }, + { + path: "/new-identifier", + name: "new-identifier", + component: () => + import( + /* webpackChunkName: "new-identifier" */ "../views/NewIdentifierView.vue" + ), + }, { path: "/project", name: "project", diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index dd4c412..9eafe2e 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -66,20 +66,22 @@ - + +

- Important: before you can create a new project or commit time to - one, you need a friend to register you. + Note: Before you can publicly announce a new project or time + commitment, a friend needs to register you.

- + Share Your Info +
@@ -181,7 +183,7 @@
ID: did:peer:kl45kj41lk451kl3
- + + +
+ Checking... +
+
+ {{ limitsMessage }} +
Rate Limits

@@ -280,7 +289,7 @@

- Switch Account + Switch Identifier