Slight improvement in the tags display functionality ?

Slight improvement in the tags display functionality ?

by S G -
Number of replies: 1

@Tim Hunt @Marcus Green @Emma Richardson

Thought of suggesting a small change in the tags display functionality - in the 'Add questions' screen for quizzes - for the next iteration of Moodle. (This suggestion is based on 3.10)

When adding questions from a category, the tags from other categories are also displayed in the drop down list.

If many tags have been used across several categories, the drop down list tends to become very long.

Limiting the display of tags only to that category would make the drop-down list shorter and easier to use? Especially since selecting the out-of-category tag results in no questions being displayed anyways.

Also, the system seems to take some time in pulling up tags from other categories - limiting tag display to that category only may reduce load on the system / database?

-------- Example ------

Category 1
   - Question 1 [tag:1] [tag:2]
   - Question 2 [tag:2] [tag:3]

Category 2
   - Question 1 [tag:4] [tag:5]
   - Question 2 [tag:5] [tag:6]

When questions are being added to a quiz from question bank 'category 1', - [tag:4] [tag:5] and [tag:6] also get displayed in the tags drop down box. Even though none of the questions in 'category 1' have those tags.

The tags drop down box gets displayed much later; after all the questions have been displayed. Which seems to be because the system is going through all the tags and requires some resources to process them for the drop down.

Limiting the tags to the specific category of questions only may improve usability and reduce resource requirement for the quiz add-questions function.

*** Caveat *** 

Since the tags functionality seems to be common for various features - i.e. [tag:1] can be used for other elements apart from questions, not sure if changing the tags display affects any other feature.

This suggestion is probably valid only for the adding questions screens.

Average of ratings: Useful (1)
In reply to S G

Re: Slight improvement in the tags display functionality ?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This probably would be a nice tweak, if it was possible, but I really don't know the tags code very well. As you say, it is a core system that the quiz just uses, which limits how much control we have.