Skip to content

Create 'Add new hike' card #2

Description

@laurkikue

Summary: Give users the ability to log their hike details ahead of time and share hike details with others via sharesheet.

Requirements:

  • Add 'add new hike' card to OSAR dashboard

Behavior of card

  • when user taps on card take user to a screen where user can input hike details
  • After user fills out hike details, user can tap cta "Log hike & share"
  • User can also cancel or disregard hikes by tapping cta "cancel"
  • Show two ctas at bottom of 'add new hike" page

When user taps "cancel"

  • User can also cancel or disregard hikes by tapping cta "cancel"
  • Do not log hike in "my hikes'
  • Do not save hike information
  • Take user back to dashboard

When user taps 'Log my hike & share'
BE

  • Record and store hike information
  • Add hike to 'my hikes page'

FE

  • Show snack bar or notification at top of screen "Your hike has been logged. Please share with a friend!"
  • Also automatically show share sheet where user can share hike info
  • User should be able to dismiss share sheet if they dont want to share
  • Once user shares hike or dismisses, take user back to dashboard

Adding details to 'add new hike card'

  • Details should be a fill a form format
  • Show following details:
  • Name: Add two fields here, First and last (If user has created a profile with us and filled out, are we able to autopopulate?)
  • Medical issues: Free form input, show larger box since might contain more content (If user has created a profile with us and filled out, are we able to autopopulate?)
  • Car License: Free form input
  • What trail are you starting at: Free form input, user can type in trail name
  • What trail are you ending at (if different): Free form input, user can type in trail name
  • Today's date and Start time: Can we log automatically fill this for them based on date & time at moment? If not can we add a calendar an time picker?
  • Estimated End date: can we add a calendar an time picker?
  • Emergency contact— Show two freeform fields here, Name AND phone number
  • Who am I hiking with (name & age): Similar to medical issues input, show larger box since might contain more content
  • Notes: Similar to medical issues input, show larger box since might contain more content

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions