Browse Source

change default reminder message; show people & unnamed icons blue for clickable

master
Trent Larson 2 days ago
parent
commit
c8d23647d1
  1. 6
      CHANGELOG.md
  2. 2
      README.md
  3. 4
      package-lock.json
  4. 2
      package.json
  5. 2
      src/components/PushNotificationPermission.vue
  6. 10
      src/views/HomeView.vue
  7. 12
      src/views/ProjectViewView.vue

6
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). 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 ## [0.3.35] - 2024.11.24 - bff7d0a6320b70349185e26bfac72e3bb17f76df
### Added ### Added
- Daily reliable, hard-coded notification message - Daily reliable, hard-coded notification message

2
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. * 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`.

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "TimeSafari", "name": "TimeSafari",
"version": "0.3.36-beta", "version": "0.3.36",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "TimeSafari", "name": "TimeSafari",
"version": "0.3.36-beta", "version": "0.3.36",
"dependencies": { "dependencies": {
"@capacitor/android": "^6.1.2", "@capacitor/android": "^6.1.2",
"@capacitor/cli": "^6.1.2", "@capacitor/cli": "^6.1.2",

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "TimeSafari", "name": "TimeSafari",
"version": "0.3.36-beta", "version": "0.3.36",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"serve": "vite preview", "serve": "vite preview",

2
src/components/PushNotificationPermission.vue

@ -231,7 +231,7 @@ export default class PushNotificationPermission extends Vue {
if (this.pushType === this.DIRECT_PUSH_TITLE) { if (this.pushType === this.DIRECT_PUSH_TITLE) {
this.messageInput = 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 // focus on the message input
setTimeout(function () { setTimeout(function () {
document.getElementById("push-message")?.focus(); document.getElementById("push-message")?.focus();

10
src/views/HomeView.vue

@ -128,10 +128,10 @@
<li @click="openDialog()"> <li @click="openDialog()">
<img <img
src="../assets/blank-square.svg" 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 <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 Unnamed/Unknown
</h3> </h3>
@ -147,10 +147,10 @@
<EntityIcon <EntityIcon
:contact="contact" :contact="contact"
:iconSize="64" :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 <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 }} {{ contact.name || contact.did }}
</h3> </h3>
@ -159,7 +159,7 @@
<router-link <router-link
v-if="allContacts.length >= 6" v-if="allContacts.length >= 6"
:to="{ name: 'contact-gift' }" :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... ... or someone else...
</router-link> </router-link>

12
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" 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 })"> <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 <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 You
</h3> </h3>
@ -194,10 +194,10 @@
<li @click="openGiftDialog()"> <li @click="openGiftDialog()">
<img <img
src="../assets/blank-square.svg" 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 <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 Unnamed/Unknown
</h3> </h3>
@ -210,10 +210,10 @@
<EntityIcon <EntityIcon
:contact="contact" :contact="contact"
:iconSize="64" :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 <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)" }} {{ contact.name || "(no name)" }}
</h3> </h3>

Loading…
Cancel
Save