juacas / moodle-mod_treasurehunt

Activity module for Moodle that allows to run outdoor treasure-chases with geolocation and QR codes
GNU General Public License v3.0
6 stars 9 forks source link

After a question, display the clue #33

Closed patsej closed 4 years ago

patsej commented 4 years ago

After answering the question, a popup shows up to congratulate the player with a message like "Successful answer….".

Closing this popup, “nothing happens”, i.e. the player will be left on the map with no clue.

To know what to do next he has to click on the "burger" or the (I) button information to get the details for the next step. Could show the Clue?

patsej commented 4 years ago

Are there use cases against displaying the clue? Or can we safely show the menu?

juacas commented 4 years ago

Indeed, I agree that the "info panel" should be opened after answering the question (or after a change in the state of the stage).

patsej commented 4 years ago

Great! Is it easy to fix?

juacas commented 4 years ago

There is a fix in develop branch. You can test it.

patsej commented 4 years ago

I test it, thanks! 😁

patsej commented 4 years ago

Which commit it corresponds to? I don't see any change.

Except that new notification that contains a duplicated text image

patsej commented 4 years ago

I've found the commit: Open Info after question Issue #32 I've checked that my code is up-to-date.

In the console, the messages look good "Correct answer. first.js:134:7143 pagecontainershow first.js:233:347" but in reality the menu does not appear after the user validates the status window. Could you have a look please? Let me know if you need my help to test ;-)

patsej commented 4 years ago

I've found the commit: Open Info after question Issue #32 I've checked that my code is up-to-date.

In the console, the messages look good "Correct answer. first.js:134:7143 pagecontainershow first.js:233:347" but in reality the menu does not appear after the user validates the status window. I've tested on my phone and I get the same behavior.

Could you have a look please? Let me know if you need my help to test ;-)

juacas commented 4 years ago

After each status change (answer, stage passed, etc) the interface should open the left panel with the proper UI elments (next cluer, answer button, locking activity, etc). This is what I get in all my tests. If this is not your experience, please write down the exact sequence of actions that leads you to the problem.

patsej commented 4 years ago

It works very well, thanks!