fix the invite-one setup, fix adeep link, and tweak other verbiage & error info

This commit is contained in:
2025-06-18 02:32:47 -06:00
parent 911028849b
commit 9cbd3bbdde
5 changed files with 9 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ export class DeepLinkHandler {
"claim-cert": { name: "claim-cert" }, "claim-cert": { name: "claim-cert" },
"confirm-gift": { name: "confirm-gift" }, "confirm-gift": { name: "confirm-gift" },
did: { name: "did", paramKey: "did" }, did: { name: "did", paramKey: "did" },
"invite-one-accept": { name: "invite-one-accept" }, "invite-one-accept": { name: "invite-one-accept", paramKey: "jwt" },
"onboard-meeting-members": { name: "onboard-meeting-members" }, "onboard-meeting-members": { name: "onboard-meeting-members" },
"onboard-meeting-setup": { name: "onboard-meeting-setup" }, "onboard-meeting-setup": { name: "onboard-meeting-setup" },
project: { name: "project" }, project: { name: "project" },

View File

@@ -354,7 +354,7 @@ export default class ContactQRScanFull extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Invalid QR Code", title: "Invalid QR Code",
text: "This QR code does not contain valid contact information. Please scan a TimeSafari contact QR code.", text: "This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.",
}); });
return; return;
} }
@@ -402,7 +402,7 @@ export default class ContactQRScanFull extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "Could not determine the type of contact info. Please try again.", text: "Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.",
}); });
return; return;
} }

View File

@@ -473,7 +473,7 @@ export default class ContactQRScanShow extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Invalid QR Code", title: "Invalid QR Code",
text: "This QR code does not contain valid contact information. Please scan a TimeSafari contact QR code.", text: "This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.",
}); });
return; return;
} }
@@ -521,7 +521,7 @@ export default class ContactQRScanShow extends Vue {
group: "alert", group: "alert",
type: "danger", type: "danger",
title: "Error", title: "Error",
text: "Could not determine the type of contact info. Please try again.", text: "Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.",
}); });
return; return;
} }

View File

@@ -523,9 +523,7 @@ export default class DiscoverView extends Vue {
} }
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (e: any) { } catch (e: any) {
logger.error("Error with search all:", e); logger.error("Error with search all: " + errorStringForLog(e));
// this sometimes gives different information
logger.error("Error with search all (error added): " + e);
this.$notify( this.$notify(
{ {
group: "alert", group: "alert",
@@ -617,7 +615,7 @@ export default class DiscoverView extends Vue {
} }
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (e: any) { } catch (e: any) {
logger.error("Error with search local:", e); logger.error("Error with search local: " + errorStringForLog(e));
this.$notify( this.$notify(
{ {
group: "alert", group: "alert",

View File

@@ -83,7 +83,7 @@
<span <span
v-else v-else
class="text-center text-slate-500 cursor-pointer" class="text-center text-slate-500 cursor-pointer"
:title="inviteLink(invite.jwt)" :title="invite.inviteIdentifier"
@click=" @click="
showInvite( showInvite(
invite.inviteIdentifier, invite.inviteIdentifier,
@@ -324,7 +324,7 @@ export default class InviteOneView extends Vue {
); );
await axios.post( await axios.post(
this.apiServer + "/api/userUtil/invite", this.apiServer + "/api/userUtil/invite",
{ inviteIdentifier, inviteJwt, notes, expiresAt }, { inviteJwt, notes, expiresAt },
{ headers }, { headers },
); );
const newInvite = { const newInvite = {