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" },
"confirm-gift": { name: "confirm-gift" },
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-setup": { name: "onboard-meeting-setup" },
project: { name: "project" },

View File

@@ -354,7 +354,7 @@ export default class ContactQRScanFull extends Vue {
group: "alert",
type: "danger",
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;
}
@@ -402,7 +402,7 @@ export default class ContactQRScanFull extends Vue {
group: "alert",
type: "danger",
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;
}

View File

@@ -473,7 +473,7 @@ export default class ContactQRScanShow extends Vue {
group: "alert",
type: "danger",
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;
}
@@ -521,7 +521,7 @@ export default class ContactQRScanShow extends Vue {
group: "alert",
type: "danger",
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;
}

View File

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

View File

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