Skip to content

2knal/triptonic-ui

Repository files navigation

triptonic-ui

Setup

  • Git clone repo
  • cd into the repo
  • npm install
  • npm start (Ensure Expo go app is installed on your phone to check for testing mobile app)
  • Have a .env ready in src/ directory with below content EXPO_PUBLIC_API_URL=<FLASK_REST_API_URL> EXPO_PUBLIC_GOOGLE_MAPS_API_KEY=<GOOGLE_MAPS_API_KEY>

Before deploying to production (building APK)

  • Add below to app.json
"config": {
  "googleMaps": {
    "apiKey": "<API_KEY>"
  }
}

TODO

  • HD Splash screen with animations (Export png from figma designs)
  • Decide upon logo using lottie animations
  • Adjust font-weight for rethink font (download different weights from googlefonts)
  • Add logo to the header
  • Rewrite all the styles using tailwind
  • Make components resusable like button, text
  • Setup constants for maps and color themes
  • Decide upon initial map zoom
  • Google map styles - https://mapstyle.withgoogle.com/
  • Decide upon loader animations - lottie
  • Add back navigation button to map view screens
  • Make the filter screen button clickables.
  • Make progress with the save page and login page.
  • Show loader when we call the API and until markers are shown on the page.
  • Integrate a state management library like redux or zustand to pass data from one page to another instead of using AsyncStorage
  • Handle trip page's navbar's absolute bottom positioning, why is it not the same as the landing page.
  • Trip page buttons, on hover circular selection color around it.
  • Add a toast notification library
  • Add custom markers and callbacks
    • Add shadows to markers and callbacks
    • Render image in callback, unable to do so
    • Enrich callback
  • Handle BottomSheet scroll
  • Handle trip-generation loader properly, there is some lag
  • onclick button color change
  • Show marker as probably numbered circles with on hover info about the place in a callout
  • arrow up/down for timeline items
    • Timeline items animation
    • Rotate settings gear icon
  • Send proper defaults from backend API route for each prompt params
  • For food-stuff send me proper cuisine, and not the food as cuisine
  • Handle multiple values for individual params
  • Day wise split, UI changes
  • Handle back navigation re-request to backend API
  • Edit Modal default value
  • Delete timeline item causing the other list to disappear
  • Button Opacity fix - use TouchableOpacity
  • Add mode of transport to path drawing
    • "DRIVING", "BICYCLING", "WALKING", and "TRANSIT" from backend
  • Add proper types for routes instead of using any
  • Add rough total cost of the trip and per person too?

Troubleshooting

  • If styles are not reflecting, do the following
    • Just comment/uncomment fontLoaded conditional in _layout.tsx to reflect the styles
    • And run: npm start --clear

About

TripTonic travel planner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published