Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Expanding/collapsing display group #2447

Open
esmeetewinkel opened this issue Oct 1, 2024 · 0 comments
Open

[FEATURE] Expanding/collapsing display group #2447

esmeetewinkel opened this issue Oct 1, 2024 · 0 comments
Labels
feature Work on app features/modules needs discussion Needs discussion

Comments

@esmeetewinkel
Copy link
Collaborator

What?
A right-aligned grey button that when clicked expands to take the full screen width and displays the content inside it. When clicked again it collapses.

  • Height of the expanded component should adapt to the content and be at least the height of the round button.
  • Need an option to set whether the component is expanded or collapsed when rendered.
  • Need to make sure that the touch area for collapsing the component does not interfere with potential touch areas of contents (e.g. audio player in screenshot below). Maybe touch area should remain just the area of the face image?
  • (not essential) Expanding / collapsing could be animated.

Why?
In ParentApp for Teens TZ storybooks this component will contain the optional facilitator guidance.

How?
This should be authored on multiple sheet rows like a display group, rather than in a single row. The content that the expanded display group contains is not fixed (in the screenshot below contains an audio player and a text component).

Other details
image
image

@esmeetewinkel esmeetewinkel added the feature Work on app features/modules label Oct 1, 2024
@esmeetewinkel esmeetewinkel added the needs discussion Needs discussion label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Work on app features/modules needs discussion Needs discussion
Projects
None yet
Development

No branches or pull requests

1 participant