From fa41fb3415c7f9c82db7875ff26f95f98f1d4352 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 2 Dec 2023 15:13:56 -0700 Subject: [PATCH] enhance documentation --- README.md | 18 +++++++++++------- project.task.yaml | 5 +++++ src/views/HomeView.vue | 2 +- src/views/ImportAccountView.vue | 2 +- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 111fde6..33acf90 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ npm install npm run serve ``` +### Lints and fixes files +``` +npm run lint +``` + ### Compiles and minifies for production If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, eg: `publicPath: "/app/time-tracker/",` @@ -21,11 +26,7 @@ If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, npm run build ``` -### Lints and fixes files -``` -npm run lint -``` - +... then copy the contents of the `sw_scripts` folder to the `dist` folder - except additional_scripts.js. @@ -91,9 +92,12 @@ For your own web-push tests, change the 'vapid' URL in App.vue, and install apps - Click on the "Registration Unknown" button and register that person to be able to make claims as them. -### Clear data & restart +### Clear/Reset data & restart -Clear the browser cache for localhost. +* Data: Clear the browser cache for localhost. +* Notifications: + * Under browser settings, look for "notification" and remove this server. + * Under about:debugging, find the service worker and Unregister. diff --git a/project.task.yaml b/project.task.yaml index 6e89a80..9b56584 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -1,13 +1,17 @@ tasks: +- remove hard-coded anomalistlabs.com + - don't show "Give" & "Offer" on project screen if they don't have an identifier - allow some gives even if they aren't registered - in endorser-push-server - mount folder for persistent sqlite DB outside of container +- extract private_key_hex in webpush.py - 40 notifications : - push, where we trigger a ServiceWorker(?) in the app to reach out and check for new data assignee:matthew +- .2 change the "claims" verbiage in feeds (eg. safari-notifications.js) - .5 allow to manage their notifications even without an identity - 01 Ensure each action sent to the server has a confirmation - eg registration (ie a toast something that dismisses after 5-10s) - .3 fix the Project-location-selection map display to not show on top of bottom icons (and any other UI tweaks on the map flow) assignee-group:ui @@ -51,6 +55,7 @@ tasks: - 08 convert to cleaner implementation (maybe Drie -- https://github.com/janvorisek/drie) - Release Minimum Viable Product : + - generate new webpush.db entries, data/webpush.db private_key_hex & subscription_info & vapid_claims email - .5 deploy endorser.ch server above Dec 1 (to get plan searches by names as well as descriptions) - 08 thorough testing for errors & edge cases - 01 ensure ability to recover server remotely, and add redundant access diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 10fdb72..af00edc 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -104,7 +104,7 @@ class="border-b border-dashed border-slate-400 text-orange-400 pb-2 mb-2 font-bold uppercase text-sm" v-if="record.jwtId == feedLastViewedId" > - You've seen all claims below: + You've seen all the following before
diff --git a/src/views/ImportAccountView.vue b/src/views/ImportAccountView.vue index 397c370..6e87a74 100644 --- a/src/views/ImportAccountView.vue +++ b/src/views/ImportAccountView.vue @@ -76,7 +76,7 @@ import { MASTER_SETTINGS_KEY } from "@/db/tables/settings"; components: {}, }) export default class ImportAccountView extends Vue { - UPORT_DERIVATION_PATH = "m/7696500'/0'/0'/0'"; + UPORT_DERIVATION_PATH = "m/7696500'/0'/0'/0'"; // for legacy imports, likely never used mnemonic = ""; address = "";