-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make free coaching call url configurable and popup translatable #823
Make free coaching call url configurable and popup translatable #823
Conversation
app/client/ui/WelcomeCoachingCall.ts
Outdated
dom.on('click', () => { | ||
dismissPopup(false); | ||
logTelemetryEvent('clickedScheduleCoachingCall'); | ||
}), | ||
{ | ||
href: FREE_COACHING_CALL_URL, | ||
href: getFreeCoachingCallUrl(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
href: getFreeCoachingCallUrl(), | |
href: getGristConfig().freeCoachingCallUrl, |
This way, you don't need getFreeCoachingCallUrl
in gristUrls.ts
.
@@ -54,6 +54,7 @@ export function makeGristConfig(options: MakeGristConfigOptions): GristLoadConfi | |||
baseDomain, | |||
singleOrg: process.env.GRIST_SINGLE_ORG, | |||
helpCenterUrl: process.env.GRIST_HELP_CENTER || "https://support.getgrist.com", | |||
freeCoachingCallUrl: process.env.FREE_COACHING_CALL_URL || "https://calendly.com/grist-team/grist-free-coaching-call", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add FREE_COACHING_CALL_URL
to the list in the README? Thanks.
Thanks @georgegevoian for the review. I made the modifications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @CamilleLegeron! Just one more small comment.
Co-authored-by: George Gevoian <[email protected]>
Context
One user of our ANCT instance used the coaching call url that give a calendly link of gristlabs. So, we wanted to make it configurable by instance with the gristlabs calendly by default.