You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an oddity for groups that has been bugging me quite a while, but I never asked whether the current behavior was intended.
The findSummary function is nice, as it can set the group's label based on the contents of the group (text of a text field or metadata title of a library). That function is used unconditionally, however. I assume it was supposed to be a fallback for when the label was not set by semantics.json - but it will even replace a group's label that was set.
This leads to at least a couple of places where a group label would be the content of the first text field that is found in the group, but that doesn't necessarily tell the user what the group is intended for.
Please see Question Set, for instance: The group label is set to "Quiz finished" which tells the user what he/she can set here. Might not be perfect (why not "Summary screen"?), but it's fine. As soon as the user replaces the default message for the "noResultMessage" field which also happens to be "Quiz finished", the group label will change to what he/she entered. A reasonable message for that field could be "You're done!", and the group would now bear the same label - which is weird.
I assume this is a bug and the findSummary function should only be used if the label was not set in semantics, but I thought I'd better ask before fixing this.
Is this a bug or in fact intended behavior?
The text was updated successfully, but these errors were encountered:
There's an oddity for groups that has been bugging me quite a while, but I never asked whether the current behavior was intended.
The
findSummary
function is nice, as it can set the group's label based on the contents of the group (text of a text field or metadata title of a library). That function is used unconditionally, however. I assume it was supposed to be a fallback for when the label was not set by semantics.json - but it will even replace a group's label that was set.This leads to at least a couple of places where a group label would be the content of the first text field that is found in the group, but that doesn't necessarily tell the user what the group is intended for.
Please see Question Set, for instance: The group label is set to "Quiz finished" which tells the user what he/she can set here. Might not be perfect (why not "Summary screen"?), but it's fine. As soon as the user replaces the default message for the "noResultMessage" field which also happens to be "Quiz finished", the group label will change to what he/she entered. A reasonable message for that field could be "You're done!", and the group would now bear the same label - which is weird.
I assume this is a bug and the
findSummary
function should only be used if the label was not set in semantics, but I thought I'd better ask before fixing this.Is this a bug or in fact intended behavior?
The text was updated successfully, but these errors were encountered: