From 4f2a95a29796dd29da4bbc42d7a993b9b9f940b1 Mon Sep 17 00:00:00 2001 From: wess Date: Tue, 6 Feb 2024 13:23:24 -0500 Subject: [PATCH 1/2] Adds link to providers --- .../project-[project]/messaging/providers/store.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/routes/console/project-[project]/messaging/providers/store.ts b/src/routes/console/project-[project]/messaging/providers/store.ts index 59a652b9f9..ba3095a64e 100644 --- a/src/routes/console/project-[project]/messaging/providers/store.ts +++ b/src/routes/console/project-[project]/messaging/providers/store.ts @@ -20,6 +20,7 @@ type ProvidersMap = { [key in Providers]?: { imageIcon: string; title: string; + link: string; description: string; configure: { label: string; @@ -44,6 +45,7 @@ export const providers: ProvidersMap = { [Providers.FCM]: { imageIcon: 'firebase', title: 'FCM', + link: 'https://firebase.google.com/', description: 'Firebase Cloud Messaging', configure: [ { @@ -63,6 +65,7 @@ export const providers: ProvidersMap = { [Providers.APNS]: { imageIcon: 'apple', title: 'APNS', + link: 'https://idmsa.apple.com/IDMSWebAuth/signin?appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757&path=%2Faccount%2F&rv=1', description: 'Apple Push Notification Service', configure: [ { @@ -143,6 +146,7 @@ export const providers: ProvidersMap = { [Providers.Mailgun]: { imageIcon: 'mailgun', title: 'Mailgun', + link: 'https://signup.mailgun.com/new/signup', description: '', configure: [ { @@ -203,6 +207,7 @@ export const providers: ProvidersMap = { [Providers.Sendgrid]: { imageIcon: 'sendgrid', title: 'Sendgrid', + link: 'https://login.sendgrid.com/login/identifier?_gl=1*3vtcwz*_ga*MTMzODgwNDQ5OC4xNzA2MjAxMDUz*_ga_8W5LR442LD*MTcwNjIwMTA1My4xLjAuMTcwNjIwMTA1My4wLjAuMA..', description: '', configure: [ { @@ -253,6 +258,7 @@ export const providers: ProvidersMap = { [Providers.Twilio]: { imageIcon: 'twilio', title: 'Twilio', + link: 'https://login.twilio.com/u/signup?state=hKFo2SBaQktjdzI0ZHdKdm44QUc5YzBRXzlNMmlyTExkRWVTTaFur3VuaXZlcnNhbC1sb2dpbqN0aWTZIHpwNUVrWDJzeFRJdUczVU5LTk16X0FHWEQ3dHU0S3hko2NpZNkgTW05M1lTTDVSclpmNzdobUlKZFI3QktZYjZPOXV1cks', description: '', configure: [ { @@ -291,6 +297,7 @@ export const providers: ProvidersMap = { [Providers.Msg91]: { imageIcon: 'msg91', title: 'MSG91', + link: 'https://control.msg91.com/signin/', description: '', configure: [ { @@ -325,6 +332,7 @@ export const providers: ProvidersMap = { [Providers.Telesign]: { imageIcon: 'telesign', title: 'Telesign', + link: 'https://www.telesign.com/', description: '', configure: [ { @@ -350,6 +358,7 @@ export const providers: ProvidersMap = { [Providers.Textmagic]: { imageIcon: 'textmagic', title: 'Textmagic', + link: 'https://app.textmagic.com/login', description: '', configure: [ { @@ -380,6 +389,7 @@ export const providers: ProvidersMap = { [Providers.Vonage]: { imageIcon: 'vonage', title: 'Vonage', + link: 'https://www.vonage.com/?bypassgeoloc=true', description: '', configure: [ { From 0a825c4691b0e3cc60e4b557622c2886dc0cb0b0 Mon Sep 17 00:00:00 2001 From: wess Date: Wed, 7 Feb 2024 09:50:11 -0500 Subject: [PATCH 2/2] Adds link to all provider tooltipss that opens provider page in new tab --- .../messaging/providers/store.ts | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/routes/console/project-[project]/messaging/providers/store.ts b/src/routes/console/project-[project]/messaging/providers/store.ts index ba3095a64e..68366371e7 100644 --- a/src/routes/console/project-[project]/messaging/providers/store.ts +++ b/src/routes/console/project-[project]/messaging/providers/store.ts @@ -55,7 +55,7 @@ export const providers: ProvidersMap = { allowedFileExtensions: ['json'], placeholder: 'Enter service account JSON', popover: [ - 'How to get the FCM service account JSON?', + 'How to get the FCM service account JSON?', 'Head to Project settings -> Service accounts -> Generate new private key.', 'Generating the new key will result in the download of a JSON file.' ] @@ -75,7 +75,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter team ID', popover: [ 'How to get the team ID?', - 'Head to Apple Developer Member Center -> Membership details -> Team ID.' + 'Head to Apple Developer Member Center -> Membership details -> Team ID.' ] }, { @@ -85,7 +85,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter bundle ID', popover: [ 'How to get the bundle ID?', - 'Head to Apple Developer Member Center -> Certificates, Identifiers & Profiles -> Identifiers.', + 'Head to Apple Developer Member Center -> Certificates, Identifiers & Profiles -> Identifiers.', `How to get the auth key ID?', - 'Head to Apple Developer Member Center -> Certificates, Identifiers & Profiles -> Keys.', + 'Head to Apple Developer Member Center -> Certificates, Identifiers & Profiles -> Keys.', 'Click on your key to view details.' ] }, @@ -125,7 +125,7 @@ export const providers: ProvidersMap = { allowedFileExtensions: ['p8'], popover: [ 'How to get the authentication key?', - 'Head to Apple Developer Member Center (under Program resources) -> Certificates, Identifiers & Profiles -> Keys.', + 'Head to Apple Developer Member Center (under Program resources) -> Certificates, Identifiers & Profiles -> Keys.', 'Create a key and give it a name. Enable the Apple Push Notifications service (APNS), and register your key.' ] } @@ -156,7 +156,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter API key', popover: [ 'How to get the API key?', - 'Create an account in Mailgun.', + 'Create an account in Mailgun.', 'Head to Profile -> API Security -> Add new key.' ] }, @@ -168,7 +168,7 @@ export const providers: ProvidersMap = { popover: [ 'How to create a domain?', 'Head to Sending -> Domains -> Add new domain.', - 'Follow Mailgun instructions to verify the domain name.' + 'Follow Mailgun instructions to verify the domain name.' ] }, { @@ -217,7 +217,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter API key', popover: [ 'How to get the API key?', - 'Create an account in Mailgun.', + 'Create an account in Sendgrid.', 'Head to Profile -> API Security -> Add new key.' ] }, @@ -268,7 +268,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter Account SID', popover: [ 'How to get the Account SID?', - 'Head to Twilio console -> Account info -> Account SID.' + 'Head to Twilio console -> Account info -> Account SID.' ] }, { @@ -278,7 +278,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter Auth token', popover: [ 'How to get the Auth token?', - 'Head to Twilio console -> Account info -> Auth Token.' + 'Head to Twilio console -> Account info -> Auth Token.' ] }, { @@ -288,8 +288,8 @@ export const providers: ProvidersMap = { placeholder: 'Enter phone', popover: [ 'How to get sender number?', - 'Head to Twilio console -> Account info -> My Twilio phone number.', - 'If you have multiple Twilio phone numbers, you can select one as the default number.' + 'Head to Twilio console -> Account info -> My Twilio phone number.', + 'If you have multiple Twilio phone numbers, you can select one as the default number.' ] } ] @@ -307,7 +307,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter auth key', popover: [ 'How to get the Auth key?', - 'Create an account in MSG91.', + 'Create an account in MSG91.', 'Click to open the Username dropdown -> Authkey -> Verify your mobile number -> Create Authkey.' ] }, @@ -318,7 +318,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter sender ID', popover: [ 'How to create a Sender ID?', - 'Head to MSG91 dashboard -> SMS -> Sender ID -> Create sender ID.' + 'Head to MSG91 dashboard -> SMS -> Sender ID -> Create sender ID.' ] }, { @@ -368,8 +368,8 @@ export const providers: ProvidersMap = { placeholder: 'Enter API key', popover: [ 'How to get the API key?', - 'Create an account in Textmagic.', - 'Head to TextMagic dashboard -> API Settings -> Add new API key.' + 'Create an account in Textmagic.', + 'Head to TextMagic dashboard -> API Settings -> Add new API key.' ] }, { @@ -400,7 +400,7 @@ export const providers: ProvidersMap = { popover: [ 'How to get the API key?', 'Create an account in Vonage.', - 'Head to Vonage dashboard and copy the API key.' + 'Head to Vonage dashboard and copy the API key.' ] }, { @@ -410,7 +410,7 @@ export const providers: ProvidersMap = { placeholder: 'Enter API secret', popover: [ 'How to get the API secret?', - 'Head to Vonage dashboard and copy the API secret.' + 'Head to Vonage dashboard and copy the API secret.' ] }, {