Преглед изворни кода

HUE-7153 [core] Log usage of presentation mode

Romain Rigaux пре 8 година
родитељ
комит
74452ace50
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 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 () {