glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Adds the possibility for GLPI users to discover features with short tutorials

Open ccailly opened this issue 2 years ago • 7 comments

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets

Adds a discovery system for GLPI functionalities.

image image image

ccailly avatar Sep 01 '23 14:09 ccailly

Note: don't forget we need a temporary branch to merge into as we want to split the development into multiple PRs.

Can somebody with write permission create the branch so we can rebase the PR onto it ?

AdrienClairembault avatar Nov 14 '23 09:11 AdrienClairembault

It seems lesson content from markdown files are not loaded correctly on my end:

image

Is there maybe a compilation step I'm missing ?

I get a 502 error after completing a lesson:

image

The lesson is marked correctly as completed.

This error occurred when lessons were not available in the user's language. Commit 3d0b9e4 corrects this problem by using English by default.

ccailly avatar Jan 03 '24 09:01 ccailly

Looks good.

Two known issue that we will handle later:

* How to handle links to GLPI's pages in markdown files

* Fix the "triangle path" issue when the next lesson step is not yet displayed (e.g. dropdown value, test the first lesson to see it live)

The "triangle path" problem has been solved in this commit 5f32045

ccailly avatar Jan 05 '24 15:01 ccailly

Besides pending reviews, could someone also create a dedicated branch in which this could be merged ? (ping @cedric-anne).

AdrienClairembault avatar Jan 16 '24 13:01 AdrienClairembault

Some lessons content can't be fetched if the locates aren't compiled.

image

I think in this case we should still be able to display the default (english) content.

Also the compile scripts doesn't seem to work on my side, can you test it again to make sure it is OK ?

I've added a fallback on the sources in case no translation exists. To run the build script, you need to be in the resources/Lessons folder. This script is temporary and will disappear or be modified.

ccailly avatar Feb 06 '24 14:02 ccailly

Any updates on this ? Some reviews are still pending.

AdrienClairembault avatar Apr 02 '24 07:04 AdrienClairembault