forked from trent_larson/crowd-funder-for-time-pwa
bump to v 0.2.17; add "personalized" message and better confirmation-result messages
This commit is contained in:
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- ?
|
- ?
|
||||||
|
|
||||||
|
|
||||||
## [0.2.16] - 2024.03.01
|
## [0.2.17] - 2024.03.01
|
||||||
### Added
|
### Added
|
||||||
- Shortcut page for Bountiful Voluntaryist Community
|
- Shortcut page for Bountiful Voluntaryist Community
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -32,11 +32,7 @@ npm run lint
|
|||||||
|
|
||||||
* `npx prettier --write ./sw_scripts/`
|
* `npx prettier --write ./sw_scripts/`
|
||||||
|
|
||||||
* Update the project.task.yaml & CHANGELOG.md & the version in package.json, run `npm install`, and commit. Then record the new hash in the changelog.
|
* Update the project.task.yaml & CHANGELOG.md & the version in package.json, run `npm install`.
|
||||||
|
|
||||||
* [Tag wth the new version.](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases)
|
|
||||||
|
|
||||||
... though maybe you do that after testing and release, since that isn't used in the build (and you often increment a lot during testing).
|
|
||||||
|
|
||||||
* If production: change src/constants/app.ts DEFAULT_*_SERVER to be "PROD" and package.json to remove "_Test". Also record what version is on production.
|
* If production: change src/constants/app.ts DEFAULT_*_SERVER to be "PROD" and package.json to remove "_Test". Also record what version is on production.
|
||||||
|
|
||||||
@@ -46,7 +42,12 @@ npm run lint
|
|||||||
|
|
||||||
* `rsync -azvu -e "ssh -i ~/.ssh/..." dist ubuntutest@test.timesafari.app:time-safari`
|
* `rsync -azvu -e "ssh -i ~/.ssh/..." dist ubuntutest@test.timesafari.app:time-safari`
|
||||||
|
|
||||||
* Revert src/constants/app.ts and package.json (if that was prod), edit package.json to increment version & add "-beta", `npm install`, and commit. Tag if you didn't before. Also record what version is on production.
|
* Revert src/constants/app.ts and package.json (if that was prod).
|
||||||
|
|
||||||
|
* Commit changes. Record the new hash in the changelog. Edit package.json to increment version & add "-beta", `npm install`, and commit. Tag if you didn't before. Also record what version is on production.
|
||||||
|
|
||||||
|
* [Tag wth the new version.](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "TimeSafari_Test",
|
"name": "TimeSafari_Test",
|
||||||
"version": "0.2.16",
|
"version": "0.2.17",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "TimeSafari_Test",
|
"name": "TimeSafari_Test",
|
||||||
"version": "0.2.16",
|
"version": "0.2.17",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dicebear/collection": "^5.3.5",
|
"@dicebear/collection": "^5.3.5",
|
||||||
"@dicebear/core": "^5.3.5",
|
"@dicebear/core": "^5.3.5",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "TimeSafari_Test",
|
"name": "TimeSafari_Test",
|
||||||
"version": "0.2.16",
|
"version": "0.2.17",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ tasks :
|
|||||||
- create a help-desk document & add screenshots
|
- create a help-desk document & add screenshots
|
||||||
|
|
||||||
- .1 update "offer" units to have same functionality as "give" units
|
- .1 update "offer" units to have same functionality as "give" units
|
||||||
|
- .5 add a link to any 'give' records that fulfill an offer on ClaimView
|
||||||
- 01 on home page, prompt for install check in addition to "supports notifications" check (since they won't get notified if Chrome is closed)
|
- 01 on home page, prompt for install check in addition to "supports notifications" check (since they won't get notified if Chrome is closed)
|
||||||
- 01 on Mac (& Windows?) desktop, add a help blurb so that they can find it again (since it doesn't show in Application list)
|
- 01 on Mac (& Windows?) desktop, add a help blurb so that they can find it again (since it doesn't show in Application list)
|
||||||
- bug (that is hard to reproduce) - got error adding on Firefox user #0 as contact for themselves
|
- bug (that is hard to reproduce) - got error adding on Firefox user #0 as contact for themselves
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
if (timeResult.type === "success") {
|
if (timeResult.type === "success") {
|
||||||
timeSuccess = true;
|
timeSuccess = true;
|
||||||
} else {
|
} else {
|
||||||
console.error("Error sending give:", timeResult);
|
console.error("Error sending time:", timeResult);
|
||||||
this.$notify(
|
this.$notify(
|
||||||
{
|
{
|
||||||
group: "alert",
|
group: "alert",
|
||||||
@@ -169,7 +169,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
if (attendResult.type === "success") {
|
if (attendResult.type === "success") {
|
||||||
attendedSuccess = true;
|
attendedSuccess = true;
|
||||||
} else {
|
} else {
|
||||||
console.error("Error sending give:", attendResult);
|
console.error("Error sending attendance:", attendResult);
|
||||||
this.$notify(
|
this.$notify(
|
||||||
{
|
{
|
||||||
group: "alert",
|
group: "alert",
|
||||||
@@ -187,16 +187,16 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
if (timeSuccess || attendedSuccess) {
|
if (timeSuccess || attendedSuccess) {
|
||||||
const actions =
|
const actions =
|
||||||
timeSuccess && attendedSuccess
|
timeSuccess && attendedSuccess
|
||||||
? "attendance and time have been"
|
? "Your attendance and time have been recorded."
|
||||||
: timeSuccess
|
: timeSuccess
|
||||||
? "time has been"
|
? "Your time has been recorded."
|
||||||
: "attendance has been";
|
: "Your attendance has been recorded.";
|
||||||
this.$notify(
|
this.$notify(
|
||||||
{
|
{
|
||||||
group: "alert",
|
group: "alert",
|
||||||
type: "success",
|
type: "success",
|
||||||
title: "Success",
|
title: "Success",
|
||||||
text: `Your ${actions} recorded.`,
|
text: actions,
|
||||||
},
|
},
|
||||||
-1,
|
-1,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -95,6 +95,8 @@
|
|||||||
size="20"
|
size="20"
|
||||||
class="border border-slate-400 h-6 px-2"
|
class="border border-slate-400 h-6 px-2"
|
||||||
/>
|
/>
|
||||||
|
<br />
|
||||||
|
(Everyone likes personalized messages! 😁)
|
||||||
</span>
|
</span>
|
||||||
<!-- This is to match input height to avoid shifting when hiding & showing. -->
|
<!-- This is to match input height to avoid shifting when hiding & showing. -->
|
||||||
<span v-else class="h-6">...</span>
|
<span v-else class="h-6">...</span>
|
||||||
@@ -326,7 +328,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
title: "Error",
|
title: "Error",
|
||||||
text:
|
text:
|
||||||
(giveResult as ErrorResult)?.error?.userMessage ||
|
(giveResult as ErrorResult)?.error?.userMessage ||
|
||||||
"There was an error sending the give.",
|
"There was an error sending that give.",
|
||||||
},
|
},
|
||||||
-1,
|
-1,
|
||||||
);
|
);
|
||||||
@@ -338,19 +340,20 @@ export default class QuickActionBvcBeginView extends Vue {
|
|||||||
confirmsSucceeded.length === 1 ? "confirmation" : "confirmations";
|
confirmsSucceeded.length === 1 ? "confirmation" : "confirmations";
|
||||||
const actions =
|
const actions =
|
||||||
confirmsSucceeded.length > 0 && giveSucceeded
|
confirmsSucceeded.length > 0 && giveSucceeded
|
||||||
? `${confirms} and give have been`
|
? `Your ${confirms} and that give have been recorded.`
|
||||||
: giveSucceeded
|
: giveSucceeded
|
||||||
? "give has been"
|
? "That give has been recorded."
|
||||||
: confirms +
|
: "Your " +
|
||||||
|
confirms +
|
||||||
" " +
|
" " +
|
||||||
(confirmsSucceeded.length === 1 ? "has" : "have") +
|
(confirmsSucceeded.length === 1 ? "has" : "have") +
|
||||||
" been";
|
" been recorded.";
|
||||||
this.$notify(
|
this.$notify(
|
||||||
{
|
{
|
||||||
group: "alert",
|
group: "alert",
|
||||||
type: "success",
|
type: "success",
|
||||||
title: "Success",
|
title: "Success",
|
||||||
text: `Your ${actions} recorded.`,
|
text: actions,
|
||||||
},
|
},
|
||||||
-1,
|
-1,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user