Răsfoiți Sursa

HUE-7153 [core] Log usage of presentation mode

Romain Rigaux 8 ani în urmă
părinte
comite
74452ac

+ 3 - 0
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -3216,6 +3216,9 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
         wasResultFullScreenMode = false;
         togglePresentation(newValue);
         viewModel.togglePresentationMode();
+        if (newValue) {
+          hueAnalytics.convert('editor', 'presentation');
+        }
       });
 
       huePubSub.subscribe('assist.set.manual.visibility', function () {