From c8d23647d165016f8a8f575e13d32583242e53ac Mon Sep 17 00:00:00 2001 From: Trent Larson <trent@trentlarson.com> Date: Sun, 24 Nov 2024 20:14:30 -0700 Subject: [PATCH] change default reminder message; show people & unnamed icons blue for clickable --- CHANGELOG.md | 6 ++++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/components/PushNotificationPermission.vue | 2 +- src/views/HomeView.vue | 10 +++++----- src/views/ProjectViewView.vue | 12 ++++++------ 7 files changed, 22 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 304cefa6c..dc4730922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.36] - 2024.11.24 +### Changed +- More friendly default reminder message +- Blue borders around people to indicate clickability + + ## [0.3.35] - 2024.11.24 - bff7d0a6320b70349185e26bfac72e3bb17f76df ### Added - Daily reliable, hard-coded notification message diff --git a/README.md b/README.md index 5e5d07881..6a6e14487 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ npm run build * Record the new hash in the changelog. Edit package.json to increment version & add "-beta", `npm install`, and commit. Also record what version is on production. -* [Tag with the new version.](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases) +* Tag with the new version, [online](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases) or `git tag 0.3.36` && `git push origin 0.3.36`. diff --git a/package-lock.json b/package-lock.json index 3b8a79eed..49237a791 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "TimeSafari", - "version": "0.3.36-beta", + "version": "0.3.36", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "TimeSafari", - "version": "0.3.36-beta", + "version": "0.3.36", "dependencies": { "@capacitor/android": "^6.1.2", "@capacitor/cli": "^6.1.2", diff --git a/package.json b/package.json index eea7cb6a7..d2e7bcaef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "TimeSafari", - "version": "0.3.36-beta", + "version": "0.3.36", "scripts": { "dev": "vite", "serve": "vite preview", diff --git a/src/components/PushNotificationPermission.vue b/src/components/PushNotificationPermission.vue index f75f011ba..8ffc98400 100644 --- a/src/components/PushNotificationPermission.vue +++ b/src/components/PushNotificationPermission.vue @@ -231,7 +231,7 @@ export default class PushNotificationPermission extends Vue { if (this.pushType === this.DIRECT_PUSH_TITLE) { this.messageInput = - "Just a friendly reminder: click and share some gratitude with the world."; + "Click to share some gratitude with the world -- even if they're unnamed."; // focus on the message input setTimeout(function () { document.getElementById("push-message")?.focus(); diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index efefc78ed..b5fb33126 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -128,10 +128,10 @@ <li @click="openDialog()"> <img src="../assets/blank-square.svg" - class="mx-auto border border-slate-300 rounded-md mb-1" + class="mx-auto border border-blue-500 rounded-md mb-1 cursor-pointer" /> <h3 - class="text-xs italic font-medium text-ellipsis whitespace-nowrap overflow-hidden" + class="text-xs text-blue-500 italic font-medium text-ellipsis whitespace-nowrap overflow-hidden cursor-pointer" > Unnamed/Unknown </h3> @@ -147,10 +147,10 @@ <EntityIcon :contact="contact" :iconSize="64" - class="mx-auto border border-slate-300 rounded-md mb-1 cursor-pointer" + class="mx-auto border border-blue-500 rounded-md mb-1 cursor-pointer" /> <h3 - class="text-xs font-medium text-ellipsis whitespace-nowrap overflow-hidden" + class="text-xs text-blue-500 font-medium text-ellipsis whitespace-nowrap overflow-hidden cursor-pointer" > {{ contact.name || contact.did }} </h3> @@ -159,7 +159,7 @@ <router-link v-if="allContacts.length >= 6" :to="{ name: 'contact-gift' }" - class="flex align-bottom text-xs text-blue-500 mt-12" + class="flex align-bottom text-xs text-blue-500 mt-12 cursor-pointer" > ... or someone else... </router-link> diff --git a/src/views/ProjectViewView.vue b/src/views/ProjectViewView.vue index 97cf3f583..745da2e31 100644 --- a/src/views/ProjectViewView.vue +++ b/src/views/ProjectViewView.vue @@ -184,9 +184,9 @@ class="grid grid-cols-4 sm:grid-cols-5 md:grid-cols-6 gap-x-3 gap-y-5 text-center mb-5" > <li @click="openGiftDialog({ name: 'you', did: activeDid })"> - <fa icon="hand" class="fa-fw text-slate-400 text-5xl" /> + <fa icon="hand" class="fa-fw text-blue-500 text-5xl cursor-pointer" /> <h3 - class="mt-5 text-xs italic font-medium text-ellipsis whitespace-nowrap overflow-hidden" + class="mt-5 text-xs text-blue-500 font-medium text-ellipsis whitespace-nowrap overflow-hidden cursor-pointer" > You </h3> @@ -194,10 +194,10 @@ <li @click="openGiftDialog()"> <img src="../assets/blank-square.svg" - class="mx-auto border border-slate-300 rounded-md mb-1" + class="mx-auto border border-blue-300 rounded-md mb-1 cursor-pointer" /> <h3 - class="text-xs italic font-medium text-ellipsis whitespace-nowrap overflow-hidden" + class="text-xs text-blue-500 italic font-medium text-ellipsis whitespace-nowrap overflow-hidden cursor-pointer" > Unnamed/Unknown </h3> @@ -210,10 +210,10 @@ <EntityIcon :contact="contact" :iconSize="64" - class="mx-auto border border-slate-300 rounded-md mb-1 cursor-pointer" + class="mx-auto border border-blue-300 rounded-md mb-1 cursor-pointer" /> <h3 - class="text-xs font-medium text-ellipsis whitespace-nowrap overflow-hidden" + class="text-xs text-blue-500 font-medium text-ellipsis whitespace-nowrap overflow-hidden cursor-pointer" > {{ contact.name || "(no name)" }} </h3>