KorAP / Kalamar

:octopus: Mojolicious-based Frontend for KorAP
BSD 2-Clause "Simplified" License
7 stars 2 forks source link

Improve tutorial mechanism in running examples #204

Open margaretha opened 8 months ago

margaretha commented 8 months ago

When clicking an example in a tutorial, the example will be added to the search field at the main window. When clicking GO, the tutorial window will be closed. Clicking ? button afterwards will open "KorAP: Query Languages" instead of the tutorial page.

This mechanism is not handy when going through a tutorial, because users have to open the tutorial from the start again to run every example.

Akron commented 8 months ago

We tried to "remember" the last position in the tutorial, so it should reopen there, but this seems to be broken (probably when we switched to the ql page as a default) and may not work, when you linearly go through the tutorial. But that's fixable. Making it possible to open the example in a new window should also be relatively simple, I guess.

Akron commented 8 months ago

This is partially fixed in https://github.com/KorAP/Kalamar/commit/989947be7e9c01331efcba9060894693c5b701f1