Quellcode durchsuchen

HUE-6941 [editor] Don't show a pointer cursor for the risk check spinner

Johan Ahlen vor 8 Jahren
Ursprung
Commit
4e28db044e

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css


+ 2 - 0
desktop/libs/notebook/src/notebook/static/notebook/less/notebook.less

@@ -1195,9 +1195,11 @@
     margin-bottom: 12px;
     &.empty {
       width: 1px;
+      cursor: default;
     }
     &.idle {
       color: #CCC;
+      cursor: default;
     }
     &:hover {
       opacity: 1;

+ 1 - 2
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -978,9 +978,8 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
 <script type="text/html" id="code-editor-snippet-body${ suffix }">
   <!-- ko if: HAS_OPTIMIZER && (type() == 'impala' || type() == 'hive') -->
   <div class="optimizer-container" data-bind="css: { 'active': showOptimizer }">
-    <div class="round-icon empty">&nbsp;</div>
     <!-- ko if: hasSuggestion() == null -->
-    <div class="round-icon idle">
+    <div class="round-icon idle" title="${ _ko('Checking statement for potential risks...') }">
       <i class="fa" data-bind="css: {'fa-spinner fa-spin': complexityCheckRunning}"></i>
     </div>
     <!-- /ko -->

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.