Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2663

Helium vizualisations do not appear in the list of builtInt visualizations in paragraph

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None
    • None

    Description

      I'd guess that it is a duplicate of ZEPPELIN-2656, but with a little bit of debug on top of the bug.

      the list of available visualizations is defined by this code:

        <div ng-if="type == 'TABLE' || type == 'NETWORK'" class="btn-group">
          <button type="button" class="btn btn-default btn-sm"
                  ng-repeat="viz in builtInTableDataVisualizationList track by $index"
                  ng-if="viz.supports.indexOf(type) > -1"
                  ng-class="{'active' : viz.id == graphMode && !config.helium.activeApp}"
                  ng-click="switchViz(viz.id)"
                  tooltip-placement="bottom" uib-tooltip="{{viz.name ? viz.name : ''}}"
                  ng-bind-html="viz.icon">
          </button>
        </div>
      

      this check: ng-if="viz.supports.indexOf(type) > -1" make it impossible for the helium visualization to appear in this list because they do not have anything in the supports. I guess helium visualizations should also have an array of supported types, but in my case it is indefined. Not even empty.

      Attachments

        Issue Links

          Activity

            People

              conker84 Andrea Santurbano
              kiryaka Kirill Butin
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: