Skip to content
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

Conversation

CamilleLegeron
Copy link
Collaborator

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.

@CamilleLegeron CamilleLegeron changed the title Make free coaching call url configurable Make free coaching call url configurable and popup translatable Jan 11, 2024
dom.on('click', () => {
dismissPopup(false);
logTelemetryEvent('clickedScheduleCoachingCall');
}),
{
href: FREE_COACHING_CALL_URL,
href: getFreeCoachingCallUrl(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
href: getFreeCoachingCallUrl(),
href: getGristConfig().freeCoachingCallUrl,

This way, you don't need getFreeCoachingCallUrl in gristUrls.ts.

app/client/ui/WelcomeCoachingCall.ts Outdated Show resolved Hide resolved
@@ -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",
Copy link
Contributor

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.

@CamilleLegeron
Copy link
Collaborator Author

Thanks @georgegevoian for the review. I made the modifications

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@georgegevoian georgegevoian left a 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]>
@georgegevoian georgegevoian merged commit a0a968a into gristlabs:main Feb 7, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants