issues
search
cpsc455-bugstorm
/
TravelersTea
A Trip Planning App that tailors travel itineraries based on user preferences and providing detailed information about destinations; making travel planning less daunting and more enjoyable.
https://travelerstea-906d.onrender.com
MIT License
6
stars
2
forks
source link
Trip creation error fixes
#185
Closed
Graywing13
closed
10 months ago
Graywing13
commented
10 months ago
Changes
generateTrip returns an object
generateTrip directly throws errors
When error is caught, set
isLoading
to false, and open the sidebar.
Generate a total of 25 stages max (instead of 5 days with 5 stages each)
Closes #178
Test that
Creating valid new trip works
Creating new trip with invalid location (e.g. put a random sentence) should gracefully fail
Creating new trip with invalid OpenAI API token should gracefully fail
Changes
isLoading
to false, and open the sidebar.Closes #178
Test that