Add button-state specific titles and ability to overwrite title defaults

Issue #6 resolved
Stefan Topfstedt created an issue

Hi there,
Based on user feedback we’ve received on our Moodle instance, there has been some lack of understanding as to what the button does, and folks are hesitant to click on things they don’t understand.
To improve this, we’d like the button to a) display state-specific titles, and b) something more approachable like “Enter fullscreen mode (hide blocks)” or “Exit fullscreen mode (show blocks)”.

My proposal is therefore:
a) provide state-specific button titles. when in fullscreen mode, the default button title should be “Exit fullscreen content mode. (Ctrl + Alt + b )”, and when not in fullscreen mode the title should be “Enter fullscreen content mode. (Ctrl + Alt + b )”.

b) add the ability to overwrite those default titles via plugin settings.

Please let me know if this is something you would consider adding. If so then I can push up a pull request against this repo, since I’ve already taken as stab at implementing a solution.

Thank you for your time and consideration!

Best,

Stefan

Comments (7)

  1. Neill Magill

    Thanks for the feedback Stefan.

    I am currently in the middle of doing our Moodle 3.10 upgrade for the plugin so will consider having different strings depending on the fullscreen state.

    Any string can already be overridden in Moodle using the string customisation UI, so I would not think a plugin setting to do that is needed (see Site administration > Language > Language customisation).

  2. Neill Magill

    The Moodle 3.10 version of the plugin has changed the language of the string to be either:

    • Show blocks
    • Hide blocks

    Along with the keyboard toggle combination appended to it.

    The change is currently on the master branch. I will put it up into the plugin directory after we have finished out upgrade testing.

  3. Log in to comment