Browse Source

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

master
Trent Larson 2 days ago
parent
commit
cf33a39fbc
  1. 2
      src/services/deepLinks.ts
  2. 4
      src/views/ContactQRScanFullView.vue
  3. 4
      src/views/ContactQRScanShowView.vue
  4. 6
      src/views/DiscoverView.vue
  5. 4
      src/views/InviteOneView.vue

2
src/services/deepLinks.ts

@ -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" },

4
src/views/ContactQRScanFullView.vue

@ -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;
}

4
src/views/ContactQRScanShowView.vue

@ -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;
}

6
src/views/DiscoverView.vue

@ -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",

4
src/views/InviteOneView.vue

@ -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 = {

Loading…
Cancel
Save