Giter VIP home page Giter VIP logo

cuba-component-help-system's Introduction

license Build Status

CUBA Platform Component - Help system

This application component offers a context help system for your CUBA application.

Installation

  1. Add the following maven repository https://dl.bintray.com/balvi/cuba-components to the build.gradle of your CUBA application:

    buildscript {

     //...
     
     repositories {
     
         // ...
     
         maven {
             url  "https://dl.bintray.com/balvi/cuba-components"
         }
     }
     
     // ...
    

    }

  2. Select a version of the add-on which is compatible with the platform version used in your project:

Platform Version Add-on Version
6.8.x 0.3.x
6.7.x 0.2.x
6.6.x 0.1.x

The latest version is: 0.2.0

Add custom application component to your project:

  • Artifact group: de.balvi.cuba.helpsystem
  • Artifact name: help-system-global
  • Version: add-on version

Usage

Defining help texts

To use the help system, users can define help texts for certain screens (even components) of the application. These texts are stored in the databse.

Screenshot help text management

Usage of the help texts in the application

When the user uses a particular screen of your application, there is a help button on the upper right of the screen. Using that will open the help information for this particular screen.

In order to make a screen available for help text, just add the @HasHelp Annotation on your controller and extend from AnnotatableAbstract(Lookup|Editor) like this:

@HasHelp
class CustomerBrowse extends AnnotatableAbstractLookup {

}

For more information on the annotation topic, you can take a look at the declarative-controllers application component.

Now you can take a look at the screen you annotated and will see the help button on the upper right:

Screenshot context help

cuba-component-help-system's People

Contributors

bresche avatar mariodavid avatar

Watchers

 avatar  avatar  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.