rename title and many places to "Gift Economies"

This commit is contained in:
2026-01-21 20:16:03 -07:00
parent 077f45f900
commit a04730cd64
9 changed files with 33 additions and 48 deletions

View File

@@ -1,9 +1,9 @@
{ {
"name": "timesafari", "name": "timesafari",
"version": "1.1.6-beta", "version": "1.1.6-beta",
"description": "Time Safari Application", "description": "Gift Economies Application",
"author": { "author": {
"name": "Time Safari Team" "name": "Gift Economies Team"
}, },
"scripts": { "scripts": {
"lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src",

View File

@@ -486,7 +486,7 @@ export default class MembersList extends Vue {
informAboutAdmission() { informAboutAdmission() {
this.notify.info( this.notify.info(
"This is to register people in Time Safari and to admit them to the meeting. A (+) symbol means they are not yet admitted and you can register and admit them. A (-) symbol means you can remove them, but they will stay registered.", "This is to register people in the app and to admit them to the meeting. A (+) symbol means they are not yet admitted and you can register and admit them. A (-) symbol means you can remove them, but they will stay registered.",
TIMEOUTS.VERY_LONG, TIMEOUTS.VERY_LONG,
); );
} }

View File

@@ -24,7 +24,7 @@
<div v-if="visible" class="dialog-overlay"> <div v-if="visible" class="dialog-overlay">
<div v-if="page === OnboardPage.Home" class="dialog"> <div v-if="page === OnboardPage.Home" class="dialog">
<h1 class="text-xl font-bold text-center mb-4 relative"> <h1 class="text-xl font-bold text-center mb-4 relative">
Welcome to Time Safari Welcome to {{ AppString.APP_NAME }}
<br /> <br />
- Showcase Impact & Magnify Time - Showcase Impact & Magnify Time
<div :class="closeButtonClasses" @click="onClickClose(true)"> <div :class="closeButtonClasses" @click="onClickClose(true)">
@@ -199,7 +199,7 @@
import { Component, Vue } from "vue-facing-decorator"; import { Component, Vue } from "vue-facing-decorator";
import { Router } from "vue-router"; import { Router } from "vue-router";
import { NotificationIface } from "../constants/app"; import { AppString, NotificationIface } from "../constants/app";
import { OnboardPage } from "../libs/util"; import { OnboardPage } from "../libs/util";
import { PlatformServiceMixin } from "@/utils/PlatformServiceMixin"; import { PlatformServiceMixin } from "@/utils/PlatformServiceMixin";
@@ -226,6 +226,13 @@ export default class OnboardingDialog extends Vue {
return OnboardPage; return OnboardPage;
} }
/**
* Returns AppString enum for template access
*/
get AppString() {
return AppString;
}
/** /**
* CSS classes for primary action buttons (blue gradient) * CSS classes for primary action buttons (blue gradient)
*/ */

View File

@@ -6,8 +6,8 @@
export enum AppString { export enum AppString {
// This is used in titles and verbiage inside the app. // This is used in titles and verbiage inside the app.
// There is also an app name without spaces, for packaging in the package.json file used in the manifest. // There is also an app name without spaces, for packaging in the package.json file used in the manifest.
APP_NAME = "Time Safari", APP_NAME = "Gift Economies",
APP_NAME_NO_SPACES = "TimeSafari", APP_NAME_NO_SPACES = "GiftEconomies",
PROD_ENDORSER_API_SERVER = "https://api.endorser.ch", PROD_ENDORSER_API_SERVER = "https://api.endorser.ch",
TEST_ENDORSER_API_SERVER = "https://test-api.endorser.ch", TEST_ENDORSER_API_SERVER = "https://test-api.endorser.ch",

View File

@@ -1055,8 +1055,8 @@ export class CapacitorPlatformService
// Offer to share the file // Offer to share the file
try { try {
await Share.share({ await Share.share({
title: "TimeSafari Backup", title: "Backup",
text: "Here is your TimeSafari backup file.", text: "Here is your backup file.",
url: writeResult.uri, url: writeResult.uri,
dialogTitle: "Share your backup", dialogTitle: "Share your backup",
}); });
@@ -1100,8 +1100,8 @@ export class CapacitorPlatformService
// Then share the file to let user choose where to save it // Then share the file to let user choose where to save it
try { try {
await Share.share({ await Share.share({
title: "TimeSafari Backup", title: "Backup",
text: "Here is your TimeSafari backup file.", text: "Here is your backup file.",
url: writeResult.uri, url: writeResult.uri,
dialogTitle: "Save your backup", dialogTitle: "Save your backup",
}); });
@@ -1180,7 +1180,7 @@ export class CapacitorPlatformService
}); });
await Share.share({ await Share.share({
title: "TimeSafari Backup", title: "Backup",
text: "Here is your backup file.", text: "Here is your backup file.",
url: uri, url: uri,
dialogTitle: "Share your backup file", dialogTitle: "Share your backup file",

View File

@@ -5,7 +5,7 @@
<!-- Sub View Heading --> <!-- Sub View Heading -->
<div id="SubViewHeading" class="flex gap-4 items-start mb-8"> <div id="SubViewHeading" class="flex gap-4 items-start mb-8">
<h1 class="grow text-xl text-center font-semibold leading-tight"> <h1 class="grow text-xl text-center font-semibold leading-tight">
Redirecting to Time Safari Redirecting to app
</h1> </h1>
</div> </div>
@@ -15,11 +15,11 @@
<p v-if="isMobile"> <p v-if="isMobile">
{{ {{
isIOS isIOS
? "Opening Time Safari app on your iPhone..." ? "Opening on your iPhone..."
: "Opening Time Safari app on your Android device..." : "Opening on your Android device..."
}} }}
</p> </p>
<p v-else>Opening Time Safari app...</p> <p v-else>Opening the app...</p>
<p class="text-sm mt-2"> <p class="text-sm mt-2">
<span v-if="isMobile" <span v-if="isMobile"
>If the app doesn't open automatically, use one of these >If the app doesn't open automatically, use one of these
@@ -36,8 +36,8 @@
class="inline-block bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors" class="inline-block bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors"
@click="handleDeepLinkClick" @click="handleDeepLinkClick"
> >
<span v-if="isMobile">Open in Time Safari App</span> <span v-if="isMobile">Open in App</span>
<span v-else>Try Opening in Time Safari App</span> <span v-else>Try Opening in App</span>
</a> </a>
</div> </div>
@@ -61,8 +61,7 @@
<code class="bg-gray-100 px-2 py-1 rounded">{{ deepLinkUrl }}</code> <code class="bg-gray-100 px-2 py-1 rounded">{{ deepLinkUrl }}</code>
</p> </p>
<p v-else> <p v-else>
If you have the Time Safari app installed, you can also copy this If you have the app installed, you can also copy this link:
link:
<code class="bg-gray-100 px-2 py-1 rounded">{{ deepLinkUrl }}</code> <code class="bg-gray-100 px-2 py-1 rounded">{{ deepLinkUrl }}</code>
</p> </p>
</div> </div>
@@ -177,13 +176,13 @@ export default class DeepLinkRedirectView extends Vue {
"Fallback deep link failed: " + errorStringForLog(error), "Fallback deep link failed: " + errorStringForLog(error),
); );
this.pageError = this.pageError =
"Redirecting to the Time Safari app failed. Please use a manual option below."; "Redirecting to the app failed. Please use a manual option below.";
} }
}, 100); }, 100);
} catch (error) { } catch (error) {
logger.error("Deep link redirect failed: " + errorStringForLog(error)); logger.error("Deep link redirect failed: " + errorStringForLog(error));
this.pageError = this.pageError =
"Unable to open the Time Safari app. Please use a manual option below."; "Unable to open the app. Please use a manual option below.";
} }
} }

View File

@@ -234,7 +234,7 @@
</p> </p>
<p> <p>
Here are instructions to uninstall the app and clear out caches and storage. Here are instructions to uninstall the app and clear out caches and storage.
Note that you should first ensure check that the browser tabs with Time Safari are closed. Note that you should first ensure check that the browser tabs with this app are closed.
(If any are open then that will interfere with your refresh.) (If any are open then that will interfere with your refresh.)
</p> </p>
<ul class="ml-4 list-disc"> <ul class="ml-4 list-disc">

View File

@@ -6,7 +6,7 @@
<!-- Sub View Heading --> <!-- Sub View Heading -->
<div id="SubViewHeading" class="flex gap-4 items-start mb-8"> <div id="SubViewHeading" class="flex gap-4 items-start mb-8">
<h1 class="grow text-xl text-center font-semibold leading-tight"> <h1 class="grow text-xl text-center font-semibold leading-tight">
Time Safari Onboarding Instructions Onboarding Instructions
</h1> </h1>
</div> </div>
@@ -80,27 +80,6 @@
4) Add yourself to their Contacts <font-awesome icon="users" /> 4) Add yourself to their Contacts <font-awesome icon="users" />
</p> </p>
</div> </div>
<h1 class="font-bold text-xl">Install</h1>
<div>
<p>
Have them visit TimeSafari.app in a browser, preferably Chrome or Safari,
and then look for the "Install" selection which adds this app to their desktop.
This enables other things, like the ability to "share" a photo from their
device directly to Time Safari, and it makes notifications more reliable.
</p>
</div>
<h1 class="font-bold text-xl">Enable Notifications</h1>
<div>
<p>
Enable notifications from the Account page <font-awesome icon="circle-user" />.
Those notifications might show up on the device depending on your settings.
For the most reliable habits, set an alarm or do some other ritual to record gratitude
every day.
</p>
</div>
</div> </div>
<!-- eslint enable --> <!-- eslint enable -->
</section> </section>

View File

@@ -442,9 +442,9 @@
browser window and look at the version there. browser window and look at the version there.
</li> </li>
<li> <li>
Close all tabs that have Time Safari open; it can be difficult to find them all, Close all tabs that have this site open; it can be difficult to find them all,
and you may have to close all your tabs. In addition, it may be running as an and you may have to close all your tabs. In addition, it may be running as an
installed app, so look for any Time Safari app that may be running outside a browser. installed app, so look for any app that may be running outside a browser.
</li> </li>
<li> <li>
There may be a problem with your identity. Go to the Identity There may be a problem with your identity. Go to the Identity
@@ -467,7 +467,7 @@
<a href="https://duckduckgo.com/?q=unregister+service+worker" target="_blank" class="text-blue-500">Search</a> <a href="https://duckduckgo.com/?q=unregister+service+worker" target="_blank" class="text-blue-500">Search</a>
for instructions for other browsers.</li> for instructions for other browsers.</li>
</ul> </ul>
Then reload Time Safari. Then reload the page.
</li> </li>
</ul> </ul>
<p> <p>