Actions

Question attributes redesign: Difference between revisions

From LimeSurvey Manual

Line 28: Line 28:


TODO
TODO
== Future evolution and remark ==
* Question class is clearly a Theme related attribute. Not linked to specific question [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]])
* Can we remove timer attribute from core please !  https://manual.limesurvey.org/Question_type_-_Short_free_text#Timer : remind : Not only for on,e question, didn't update any HTML/CSS part (only js)  [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]])
* All expression part (min value , max number) are done in LimeExpressionManager : totally unrelated to QuestionTheme  [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]])

Revision as of 18:22, 3 February 2020

Question attribute code saw a rise in complexity between LS3 and LS4. This page will take a step back and analyze if it can be simplified.

Domain diagram

Domain diagram

Class diagram

TODO

Database design

TODO.

Will not change.

Scenarios

  • Get potential question attribute from core
  • Import question attribute from XML/question theme
  • Add (replace ?) question attribute from plugins
  • Save question attribute value (for all language or not)
  • Load question attributes for question type/question id
  • Load question attributes for question type/question id for a single language (for qanda/QuestionTheme and SurveyTheme)

Notes

TODO

Future evolution and remark