Skip to content

FEATURE Let integrator hide a tour#14

Open
pixelbrackets wants to merge 2 commits intotdeuling:masterfrom
webit-de:20182023-hide-feature
Open

FEATURE Let integrator hide a tour#14
pixelbrackets wants to merge 2 commits intotdeuling:masterfrom
webit-de:20182023-hide-feature

Conversation

@pixelbrackets
Copy link
Copy Markdown

@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