Code Monkey home page Code Monkey logo

extension-hierarchy-navigator-sandboxed's Introduction

Hierarchy Navigator

This extension allows you to visualize your flat/dimensional or recursive data in a Tree/Hierarchy Extension an a Tableau Dashboard.

What does it do?

  • Creates a tree menu for selection from either flat or hierarchical data
  • Enables searching the tree
  • Allows for bi-directional parameter sync
  • Enables filtering of the original sheet without impacting the extension
  • Enables mark selection on the original sheet
  • With combinations of any of the above, you dashboard expansion possibilities are limitless!

Animated Image

How to use an Extension

This extension is available as a sandboxed extension: sandboxed manifest file.

The landing page is hosted on Github.io Pages

Instructions for use

  1. Download the sample workbook with examples and directions (2018.3+ with Set Actions).
  2. Directions for setup are in the workbook on pages 10 and 11 of the story.

Customization

  1. General Tab
    • Show Search Box - show or disable the search box
    • Show Title - Show or hide the title inside the extension
    • Parameters should listen for dashboard changes - Check this box if you want other sheets to drive the selection of the hierarchy
    • Enable debug - show debug information in the extension and add console.log statements to the Developer Console (in debug mode)
  2. Colors/Fonts
    • Background Color* - Change the background color for the extension.
    • Font Color* - Change the color of the text
    • Highhlight Color* - Change the color of the currently selected element * Accepts any valid CSS color (#ffffff, rgb(x,y,z), or string literal like 'green')
    • Font Size - Accepts any valid CSS font size (12px, 2rem, etc)
    • Font Family - Valid fonts that are installed on your Tableau server
    • CSS for Items - Any valid React css (see Styling React Using CSS). This will be applied to each entry in the tree and may override other properties on this page. Property names are in camelCase, eg, min-width in a traditional file would be written as minWidth in React CSS.
  3. Icons
    • Both the open icon and closed icon can be any of:
      • Default - left facing and down angle brackets. (will respect the font color property)
      • Base64 Image - Convert an image with a Base64 image converter and past the resulting string in the box. Valid strings start with data:image/xyz;base64,.... Images should be 12px tall if you are using the 12px font size.
      • Ascii - any valid single/multiple ascii characters (will respect the font color property)

Known Bugs/Limitations

  • There is a known issues in Tableau 2018.2 running on Mac computers where the native dropdown cannot be chosen with the mouse. Please use the keyboard to select the parameter.

Dev build notes

For anyone that wants to build/modify/re-use this code here are some useful notes.

  • Build Scripts
    1. npm start - Run the local development environment (not sandboxed) with hot reload. Use the hierarchynavigator-1.0.local.trex manifest.
    2. npm run build - Compile build files in the docs directory.
    3. npm run sandbox - Run the build files in the tabextsandbox environment. Use the hierarchynavigator-1.0.local.sandboxed.trex manifest.

extension-hierarchy-navigator-sandboxed's People

Contributors

benlower avatar tagyoureit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extension-hierarchy-navigator-sandboxed's Issues

More info needed!

Hi! I think this would be super useful for a project at work. However, I am having trouble relating the heirachy navigator to any other sheet besides the source.

Any help/more detail would be appreciated!

Offline version

This extension doesn't work without an internet connection. Which data is sent and where is it sent to? How can I use this extension without sending my data somewhere?

Observations related to Hierarchy Navigator

Used the extension on tableau 2021.3.9 that interacts with Amazon Redshift database. The need is to set 5 hierarchical filters, each having 6 to 13 levels.
Below are the observations. Can you please help on this.

  1. Is Multi-value selection possible in hierarchical filters. If not currently available, is there a road map for enabling this feature?
  2. Even the data source for the filter is set as extracts, it takes few seconds for the filters to load on the dashboard.
  3. After integrating this extension to tableau dashboard, the response time is more when the value is changed in filter selection and sometimes the browser is not responding.
    Can you help on how to resolve the above mentioned issues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.