Page MenuHomePhabricator

Expand/collapse parts of the answer on FAQ page
Closed, ResolvedPublic2 Estimated Story Points

Description

Given I am on the FAQ page
When I click on the element to expand the answer's text
then the remaining answer's text is slided down
and the link to expand the text disappears
and a link to collapse the text appears.

Given I am on the FAQ page
and I expanded an answer's text
When I click on the element to collapse the answer's text
then a portion of the answer's text is slided up
and the link to collapse the text disappears
and a link to expand the text appears.

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedNone

Event Timeline

kai.nissen set the point value for this task to 2.Aug 27 2018, 12:53 PM

@kai.nissen: Is it a requirement that the link texts for expanding are individual to the question (as seen in the mockup)? Or can we use generic texts for collapsing/expanding like "Mehr lesen" and "Antwort verbergen"?

No, that's not a requirement. Let's keep it simple and use generic link text.