Actions

Question attributes redesign: Difference between revisions

From LimeSurvey Manual

Line 17: Line 17:
== Scenarios ==
== Scenarios ==


All use-cases go here.
* Get potential question attribute from core
 
* Question class is clearly a Theme related attribute. Not linked to specific question
* 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)
* All expression part (min value , max number) are done in LimeExpressionManager : totally unrelated to QuestoinTheme
 
---
 
I was thinking basically all use-cases can be summarized to:
 
* Import question attribute from XML/question theme
* Import question attribute from XML/question theme
* Save question attribute value
* 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
 
* Load question attributes for question type/question id for a single language (for qanda/QuestionTheme and SurveyTheme)
[[User:Olle|Olle]] ([[User talk:Olle|talk]]) 17:14, 3 February 2020 (CET)
* …
 
Question attributes '''redesign''' : redesign is redesing.
 
If you talk of re design : must be a real redesign . I move my previous comment to Notes :) in next edition
 
[[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 17:19, 3 February 2020 (CET)


== Notes ==
== Notes ==


TODO
TODO

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