Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30537

Better way to select user when millions of user are in the database

    Details

      Description

      For Administration > Plugins > Web services > Manage token > Add, we implemented a username/userid text box when the user total > 500. It's because a select box reach out of memory.

      I suggest to get an autocompletion text box a la Facebook. I created this one (you can see it when adding a token):
      https://github.com/mouneyrac/moodle/tree/wip-MDL-30140

      It needs small refactoring to have a generic version, testing, and overwritting the no-javascript work.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jerome Jérôme Mouneyrac added a comment -

              Also there is an alternative to use the user selector. Maybe make it a mform element. See comment http://tracker.moodle.org/browse/MDL-30140

              My preference goes to the simple textfield autocomplete

              Show
              jerome Jérôme Mouneyrac added a comment - Also there is an alternative to use the user selector. Maybe make it a mform element. See comment http://tracker.moodle.org/browse/MDL-30140 My preference goes to the simple textfield autocomplete
              Hide
              jerome Jérôme Mouneyrac added a comment -

              Please have look to the discussion we had with Tim in MDL-30140. At the end we concluded we should have a backend code as similar as we can between the current multiple user selector and a single user selector form element.

              Show
              jerome Jérôme Mouneyrac added a comment - Please have look to the discussion we had with Tim in MDL-30140 . At the end we concluded we should have a backend code as similar as we can between the current multiple user selector and a single user selector form element.
              Hide
              jerome Jérôme Mouneyrac 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
              jerome Jérôme Mouneyrac 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

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: