Code Monkey home page Code Monkey logo

roman2git / help-text-popup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lblumenfeld/help-text-popup

0.0 1.0 0.0 402 KB

The Help Text Box is a popup box that overlays a portion of the screen with HTML help text content. The box can be rendered as modal or non-modal, and can be any size, up to the height and width of the window. The help text is any HTML content that can be rendered.

License: Apache License 2.0

JavaScript 99.88% CSS 0.12%

help-text-popup's Introduction

Qlik Sense Help Text Popup

This extension displays an HTML help text popup box on a sheet in a Qlik Sense app. Users can quickly display Help Text simply by clicking a question mark help icon on the sheet. Your help text can contain any type of text or HTML. Built-in HTML sanitization enables you to safely display the HTML content and reduces the risk of cross-site scripting and other vulnerabilities.

The Help Icon is displayed as question mark. It can be placed anywhere on the sheet and can be as small as one grid box.

You can define different help text for each sheet and also use the extension in multiple places on different sections of a sheet.

Help Icon Options

  • Color - The icon color can be set to any valid color expression.
  • Size - The icon is normally displayed as 16px (default). It can also be changed to small (12px) or large (20px).

The Help Text Box is a popup box that overlays a portion of the screen with HTML help text content. The box can be rendered as modal or non-modal, and can be any size, up to the height and width of the window. The help text is any HTML content that can be rendered.

Help Box Options

  • Show box title - The help box title can be toggled on and off.
  • Help Box Title - The help box can have a custom title.
  • Width - The width of the box can be sized to any percent of the browser window.
  • Height - The height of the box can be sized to any percent of the browser window.
  • HTML Text - The actual help text is any valid HTML that can be rendered.

HTML Sanitization

The Help Text Popup includes built-in HTML sanitization in order to prevent cross-site scripting and other vulnerabilities. This feature is configurable via a file (sanitize-html-config.js) included in the extension package. By default the most commonly used safe HTML tags are allowed, but you may adjust this to suit your security requirements. All required files are included in the extension and does not require any additional installation. More information about allowing and disallowing specific tags can be found at this link.

Sample

A file named "Sample_Help_Text_For_Testing.txt" is included. This file contains some sample help text to demonstrate the features of this extension.

The image below shows the help text box displayed over a sample app from the Qlik site.

Qlik Sense Help Text Popup

This extension displays a help text popup box on a sheet in a Qlik Sense app. You can display this Help Text Box by clicking the question mark help icon on the sheet.

The Help Icon is displayed as question mark. It can be placed anywhere on the sheet and can be as small as one grid box.

Help Icon Options

  • Color - The icon color can be set to any valid color expression.
  • Size - The icon is normally displayed as 16px (default). It can also be changed to small (12px) or large (20px).

The Help Text Box is a popup box that overlays a portion of the screen with HTML help text content. The box can be rendered as modal or non-modal, and can be any size, up to the height and width of the window. The help text is any HTML content that can be rendered.

Help Box Options

  • Show box title - The help box title can be toggled on and off.
  • Help Box Title - The help box can have a custom title.
  • Width - The width of the box can be sized to any percent of the browser window.
  • Height - The height of the box can be sized to any percent of the browser window.
  • HTML Text - The actual help text is any valid HTML that can be rendered.

HTML Sanitization

The Help Text Popup includes a built-in HTML sanitization in order to prevent cross-site scripting and other vulnerabilities. This is configurable via the sanitize-html-config.js file included in the extension package. By default the most commonly used safe HTML tags are allowed, but you may adjust this to suit your security requirements. All required files are included in the extension and does not require any additional installation. More information about allowing and disallowing specific tags can be found at this link.

Sample

A file named "Sample_Help_Text_For_Testing.txt" is included. This file contains some sample help text to demonstrate the features of this extension.

The image below shows the help text box displayed over a sample app from the Qlik site.

help-text-popup's People

Contributors

lblumenfeld avatar

Watchers

 avatar

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.