Skip to content

Activity details#12

Open
willcyber wants to merge 27 commits intomainfrom
activity-details
Open

Activity details#12
willcyber wants to merge 27 commits intomainfrom
activity-details

Conversation

@willcyber
Copy link
Member

Summary

Created the ActivityDetail component that is fully prop-driven. Activity can be fetched by its id.

Changes

  • Created ActivityDetail component (/src/components/ActivityDetail.tsx) that accepts an Activity object as props
  • Activity is fetched by its id. Currently a method in mockActivities
  • Created NotesScreen component that is opened from the activitydetail component
  • Added toasts (notifications) when clicking the download and bookmark button

Testing

  • Ran the app through iOS simulator and made sure all components were connected properly
  • Edited the id in App.tsx to ensure that the displayed activity is based on the specified id

Screenshots (if applicable)

Activity Detail top
image

Activity Detail bottom. Prep tab
image

Play tab
image

Debrief tab
image

Other tab
image

Toast
image

Notes page
image

Checklist

  • Code follows project style guidelines
  • Self-reviewed my code
  • Tested locally
  • No new warnings or errors

@willcyber willcyber requested a review from philip-chen6 as a code owner March 1, 2026 23:17
@willcyber willcyber linked an issue Mar 1, 2026 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Activity Details

4 participants