Open alackerbauer opened 6 years ago
I was working before but display slightly differently.
Question text Summary text First 100 characters of long text.. Show more button
transitioned to
Question text Summary text Long text Show less button
Its now
Question text Summary text Show more button
Transiting to
Question text Long Text Show less button
The summary and learnMore questions are intended to prevent the patient of an overwhelming amount of information. Right now, the client seems to always render the learnMore question and ignore the summary questions. The first XXX characters are shown without a need to press the "show more" button and the full text is shown in case the button was pressed.
The thought about having those questions was to initially show the summary content and when the button was pressed, show the learnMore content. So both sub-questions should be processed by the client. Especially because the text in the summary question could be different than the "beginning" of the learnMore question.
An example for that is the following structure:
It should result in the following structure: 1) Initial View: Appendectomy is the surgical removal of the appendix.
2) After show more button was pressed: Appendicitis is one of the most common surgical problems. One out of every 2,000 people has an appendectomy sometime during their lifetime. Treatment requires an operation to remove the infected appendix. Traditionally, the appendix is removed through an incision in the right lower abdominal wall.
In most laparoscopic appendectomies, surgeons operate through 3 small incisions (each ¼ to ½ inch) while watching an enlarged image of the patient’s internal organs on a television monitor. In some cases, one of the small openings may be lengthened to complete the procedure.
[Text source: sages.org]