Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE Let integrator hide a tour #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pixelbrackets
Copy link

@pixelbrackets pixelbrackets commented Feb 23, 2018

See #10

Add a TSconfig option to hide a tour to editors.

Use case:

  • integrators may build and activate or disable different guided tours for different users (eg. regular user/ advanced user)
  • integrators may remove tours provided by third party extensions which are not relavant for editors

Example:
Remove the tour “TemplateModule” by adding this line to the Tsconfig of a backend user:

mod.guide.tours.TemplateModule.hide = 1

Before:
tours-available

After:
tours-hidden

@pixelbrackets pixelbrackets changed the title Let integrator hide a tour FEATURE Let integrator hide a tour Feb 26, 2018
Each tour may be hidden from the user permanently
using the option »hide = 1«.

To hide the AboutModule tour for a special user,
just add the following code to his User-TSconfig:

    mod.guide.tours.AboutModule.hide = 1

Refs tdeuling#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant