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

4
src/views/ContactQRScanFullView.vue

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

4
src/views/ContactQRScanShowView.vue

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

6
src/views/DiscoverView.vue

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

4
src/views/InviteOneView.vue

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

Loading…
Cancel
Save