Code Monkey home page Code Monkey logo

extension-single-checkbox-parameters's Introduction

As-Is

Single Checkbox Parameters

This extension allows you to add a parameter to a Tableau dashboard and have the UI display in a single checkbox. This idea was originally proposed on Nov 24, 2013 and at the time had gathered 120 votes for it to be implemented.

Using the Extension from Tableau Exchange (Recommended)

See the Tableau Help topic Use Dashboard Extensions for directions. When presented with the list of available Dashboard Extensions, search for Single Checkbox Parameters to find and install this one.

Using the Single Checkbox Parameter Extension

  1. Create a parameter with a list of 2 values.
  2. Drag in a new Extension object to your dashboard.
  3. Select the manifest file you downloaded.
  4. Select the parameter you created above for the extension to manipulate.
  5. Select the options as presented.
  6. Click 'OK'.

Known Bugs

  • There is a known issues in Tableau 2018.2 running on Mac computers where the native dropdown (when selecting the parameter) cannot be chosen with the mouse. Please use the keyboard to select the parameter.
  • When selecting colors the event handler only fires the first time. You cannot make multiple choices in the color palettes without closing and opening the color picker again.

Support

Tableau customers can contact the Tableau Support team for help.

For any local build or code related questions, please post to the Issues tab here for community support.

extension-single-checkbox-parameters's People

Contributors

bcantoni avatar benlower avatar tagyoureit avatar

Stargazers

 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-single-checkbox-parameters's Issues

Question about HTTP vs HTTPS and Security...

Hello,

I was reading through code for your extension and I just noticed that in a few .trex files there was the following line of code used:

On the Tableau website, it mentioned that all URLs should utilize HTTPS for security reasons and I’m curious if you see any potential risks with having the HTTP version of this link used or if it should be modified to HTTPS. Our analysts are really interested in your extension, but they’re concerned that this line of code could possibly have security implications so they asked me to reach out to you. Any thoughts or feedback that you have is greatly appreciated.

Thank you.

GitHubIssue

Compile issue, missing modules

Hi, Im trying to build this app but it errors out.

my system
Fresh AWS AMI RH 8.5
node

[root@ip-10-177-22-152 extension-single-checkbox-parameters]# npm install

[email protected] postinstall /opt/tableau/extension-single-checkbox-parameters/node_modules/core-js
node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /opt/tableau/extension-single-checkbox-parameters/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1704 packages from 917 contributors and audited 1773 packages in 13.027s

13 packages are looking for funding
run npm fund for details

found 351 vulnerabilities (45 low, 136 moderate, 130 high, 40 critical)
run npm audit fix to fix them, or npm audit for details
[root@ip-10-177-22-152 extension-single-checkbox-parameters]# npm run build

[email protected] build /opt/tableau/extension-single-checkbox-parameters
rm -rf docs && react-scripts-ts build && mv build docs

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'enhanced-resolve/lib/createInnerCallback'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/opt/tableau/extension-single-checkbox-parameters/node_modules/tsconfig-paths-webpack-plugin/lib/plugin.js:8:29)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/opt/tableau/extension-single-checkbox-parameters/node_modules/tsconfig-paths-webpack-plugin/index.js:1:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: rm -rf docs && react-scripts-ts build && mv build docs
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-09-05T21_57_44_002Z-debug.log

The debug log mentioned ^^ says

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]prebuild: [email protected]
6 info lifecycle [email protected]
build: [email protected]
7 verbose lifecycle [email protected]build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/tableau/extension-single-checkbox-parameters/node_modules/.bin:/root/.yarn/bin:/root/.config/yarn/global/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
9 verbose lifecycle [email protected]build: CWD: /opt/tableau/extension-single-checkbox-parameters
10 silly lifecycle [email protected]
build: Args: [ '-c',
10 silly lifecycle 'rm -rf docs && react-scripts-ts build && mv build docs' ]
11 silly lifecycle [email protected]build: Returned: code: 1 signal: null
12 info lifecycle [email protected]
build: Failed to exec build script
13 verbose stack Error: [email protected] build: rm -rf docs && react-scripts-ts build && mv build docs
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /opt/tableau/extension-single-checkbox-parameters
16 verbose Linux 4.18.0-477.21.1.el8_8.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
18 verbose node v10.24.0
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: rm -rf docs && react-scripts-ts build && mv build docs
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
/root/.npm/_logs/2023-09-05T21_57_44_002Z-debug.log (END)

I tried a node install enhanced-resolve ( what it says is missing ) but it didn't change the result when I compiled again.

Thoughts ?

Feedback for Toggle

When using the extension, the Tick / cross tell me what I need to know based on the title. I don't need to have the parameter value visible. Would be great to turn that off?
Screenshot 2021-02-10 at 16 41 59

And the ability to change the green on the toggle would also be great!
Thanks
Lorna

Please add "none" to color selection to allow transparent background on single checkbox / toggle Tableau extension

Please add "none" to color selection to allow transparent background on single checkbox / toggle Tableau extension. We use this extension on most of our dashboards but I continue to have issues with it rendering differently on tableau server. it appears higher and requires a big area otherwise scrollbars appear. We need to fit it in small locations and therefore a transparent background is really needed. This is an immediate need and we are facing potentially not being able to use it in certain dashboards. if you could add this functionality it would be very helpful to overcome the limitations caused by the ability to resize the toggle smaller. Thank you for this extension!

Please add ability to size the toggle smaller.

Please add ability to size the toggle smaller. it renders on tableau server larger and often gets srollbars, if we could size it smaller that would really help. It seems to have a minimum size for the toggle image.

Extension single check boxes - Your browser does not suport extension in mobile (OS)

Hello,

I am implementing the extension on my dashboard and everything works fine for desktop but when creating the layer for mobile OS (iphone x), instead of seeing the check boxes, I see a legend that says: Your browser does not support extension. For mobile Android (example: Galaxy), everything works fine (Attach image).

Would you be so kind to tell us if you have any comments on how to solve this issue?

Thanks in advance

Iphone
image

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.