add hints for registration on the contact page

This commit is contained in:
2024-01-05 13:50:35 -07:00
parent 5353fe770a
commit 68f3b79983
7 changed files with 38 additions and 26 deletions

View File

@@ -13,6 +13,11 @@ export const isGlobalUri = (uri: string) => {
return uri && uri.match(new RegExp(/^[A-Za-z][A-Za-z0-9+.-]+:/));
};
// If you edit this, check that the numbers still line up on the side in the alert (on mobile, too),
// and make sure they can take all actions while the notification shows.
export const ONBOARD_MESSAGE =
"1) Check that they've entered their name. 2) Go to the scanning page: use the Contacts page and click on the QR icon at the top, and then scan and register them. 3) Have them go to that page and scan you.";
export const sendTestThroughPushServer = async (
subscription: PushSubscription,
skipFilter: boolean,