Activity Screen
Purpose
To provide parents with an engaging interface to explore and track various developmental activities for their child. The screen encourages daily play with targeted activities and supports easy navigation through child profiles and activity filters.
Key Components
-
TopBar
Displays the screen title, subtitle, and a background banner image. Includes clickable child avatars to open the child selection bottom sheet. -
HorizontalCardsScroller
Horizontally scrollable selector for different activity categories (e.g., Gross Motor). Updates the displayed activities on selection. -
ScrollView
Vertical scroll container that holds the main activity feed content with optional banner background. -
ChildActivities
Component rendering a list of activities filtered by the selected category, showing relevant content and media. -
ChildListingSheet
Bottom sheet allowing users to switch between child profiles. -
BottomSheet (Filter)
Bottom sheet for future filtering options (currently empty). -
Animation with Reanimated
Controls smooth opening animations for bottom sheets.
User Flow
- Screen loads with default activity category and today's date.
- User sees a motivational banner with child's name and a subtitle encouraging daily activities.
- User scrolls horizontally through activity categories using
HorizontalCardsScroller
. - Selecting a category updates the list of activities displayed via
ChildActivities
. - User can tap the child avatar in the top bar to open the child listing bottom sheet and switch profiles.
- User can tap the filter button (currently opening an empty bottom sheet) for potential filtering.
- Activities related to the selected category display inside a scrollable view.
- All interactions animate smoothly for enhanced user experience.