From 0f60d1aaa6e2fa1a8f18bfc531c95d5a2c279caf Mon Sep 17 00:00:00 2001 From: jarek Date: Tue, 17 Sep 2024 09:38:36 +0200 Subject: [PATCH] Disabling tutorials (#50) Tutorials should be a hidden UI element by default in grist-desktop. Test Plan: Manual, build grist-desktop in normal way and run npm run electron:preview, tutorial card should be hidden. PR: https://github.com/gristlabs/grist-desktop/pull/50 --- ext/app/electron/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/app/electron/config.ts b/ext/app/electron/config.ts index e1195457..15e02151 100644 --- a/ext/app/electron/config.ts +++ b/ext/app/electron/config.ts @@ -109,7 +109,7 @@ export async function loadConfig() { process.env.GRIST_SERVE_SAME_ORIGIN = "true"; process.env.GRIST_DEFAULT_PRODUCT = "Free"; process.env.GRIST_ORG_IN_PATH = "true"; - process.env.GRIST_HIDE_UI_ELEMENTS = "helpCenter,billing,templates,multiSite,multiAccounts"; + process.env.GRIST_HIDE_UI_ELEMENTS = "helpCenter,billing,templates,multiSite,multiAccounts,tutorials"; process.env.GRIST_CONTACT_SUPPORT_URL = packageJson.repository + "/issues"; if (process.env.GRIST_DESKTOP_AUTH !== "mixed") { process.env.GRIST_FORCE_LOGIN = "true";