Moodle
  1. Moodle
  2. MDL-35993

Restore course and user Ajax settings or something similar

    Details

    • Affected Branches:
      MOODLE_23_STABLE
    • Rank:
      44754

      Description

      It seems that the removal of course and user Ajax settings has not been well-received at all e.g. https://moodle.org/mod/forum/discuss.php?d=208946, with ajax even coming up in an accessibility discussion http://moodle.org/mod/forum/discuss.php?d=212315

      "It would be wonderful if we could get back the ability to turn AJAX on/off. I have several faculty - who do not use screen readers - but have trouble moving items on the main pages of their courses. Many of them have asked to have the "move to here" boxes back rather than using the drag and drop option."

      An alternative to restoring course and user Ajax settings would be to have a drag and drop setting, as suggested by Dan P in the dev chat https://moodle.org/local/chatlogs/index.php?conversationid=11141#c384043

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Perhaps a third alternative is to have functionality linked to clicking (as opposed to dragging) the move icon on sections/blocks that leads to pages with target areas.

          Show
          Michael de Raadt added a comment - Perhaps a third alternative is to have functionality linked to clicking (as opposed to dragging) the move icon on sections/blocks that leads to pages with target areas.
          Hide
          Michael Spall added a comment -

          I like your idea Michael de Raadt. How would it effect performance? In choosing between your idea, #3, and Dan's idea of a drag-n-drop setting, #2, which would be less confusing, less prone to error, and not lead to slower JS or AJAX. Only testing can probably really tell, but what is the informed guess?

          I don't have permission to see the chat log so I don't know for sure how Dan P envisioned his idea. I could see a user setting in the profile or a link like the "Activity chooser off" and right below it, called "Ajax off" or "Drag and drop off". This of course adds more clutter to the menu. To me though, this ability to turn off Drag and drop and or AJAX is at least as important as turning the Activity chooser off, if not more so.

          Here are some questions for the community:
          Does idea #2 or idea #3 solve the accessibility / usability issues mentioned or do we need solution #1? Or are the accessibility issues solved differently and don't effect the choice of #2/#3?

          Show
          Michael Spall added a comment - I like your idea Michael de Raadt. How would it effect performance? In choosing between your idea, #3, and Dan's idea of a drag-n-drop setting, #2, which would be less confusing, less prone to error, and not lead to slower JS or AJAX. Only testing can probably really tell, but what is the informed guess? I don't have permission to see the chat log so I don't know for sure how Dan P envisioned his idea. I could see a user setting in the profile or a link like the "Activity chooser off" and right below it, called "Ajax off" or "Drag and drop off". This of course adds more clutter to the menu. To me though, this ability to turn off Drag and drop and or AJAX is at least as important as turning the Activity chooser off, if not more so. Here are some questions for the community: Does idea #2 or idea #3 solve the accessibility / usability issues mentioned or do we need solution #1? Or are the accessibility issues solved differently and don't effect the choice of #2/#3?
          Hide
          Michael Spall added a comment -

          We have discussed this at ISU and we think that the best choice would be #2. Dan Poltawski's and Martin Dougiamas's idea of having a "Drag and drop off" similar to "Activity chooser off" on the course page or on a preferences page.

          Show
          Michael Spall added a comment - We have discussed this at ISU and we think that the best choice would be #2. Dan Poltawski's and Martin Dougiamas's idea of having a "Drag and drop off" similar to "Activity chooser off" on the course page or on a preferences page.
          Hide
          Damyon Wiese added a comment -

          +1 for drag and drop off as a user preference.

          Also - we should turn it off for touchscreens (there are some javascript solutions for this here: http://stackoverflow.com/questions/3974827/detecting-touch-screen-devices-with-javascript).

          Show
          Damyon Wiese added a comment - +1 for drag and drop off as a user preference. Also - we should turn it off for touchscreens (there are some javascript solutions for this here: http://stackoverflow.com/questions/3974827/detecting-touch-screen-devices-with-javascript ).
          Hide
          Dan Poltawski added a comment -

          I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.
          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          Dan Poltawski added a comment - I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment
          Hide
          E. John Love added a comment -

          I love the idea (thanks Michael Spall) re: allowing Drag 'n Drop to be toggled on or off, like the Activity Chooser. This is brilliant, and would also locate this feature in an easy-to-find location: the Administration menu. Martin D and team, please do this. Cheers, from Vancouver Community College.

          Show
          E. John Love added a comment - I love the idea (thanks Michael Spall) re: allowing Drag 'n Drop to be toggled on or off, like the Activity Chooser. This is brilliant, and would also locate this feature in an easy-to-find location: the Administration menu. Martin D and team, please do this. Cheers, from Vancouver Community College.
          Hide
          Marina Glancy added a comment -

          As an example of solution:
          We have callback in course formats format_base::supports_ajax(). Course formats (including topics and weeks) can have additional logic there.
          1) have a course option that toggles it.
          2) Add an item in navigation and have a user preference
          But this callback affects both drag&drop AND activity chooser.

          Show
          Marina Glancy added a comment - As an example of solution: We have callback in course formats format_base::supports_ajax(). Course formats (including topics and weeks) can have additional logic there. 1) have a course option that toggles it. 2) Add an item in navigation and have a user preference But this callback affects both drag&drop AND activity chooser.

            People

            • Votes:
              18 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated: