You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I determined that the effort required to implement this on the existing live site is too significant, considering that we're doing massive rewrites anyway. Instead, we should implement this here from the beginning.
There are a couple things this would involve:
lists of trips will come from the db.getTripsFromCampus() method and the db.getTripsFromAirport() method. These methods were written before the AddToCampusOrAirport enum was created (this enum is poorly named- it's used as an indication for what kind of trip is being worked on). The first step should be to combine these into a single method; possibly just use the getTrips() method, and add a tripType parameter in the style of searchTrips().
Not all the code to manage retrieving trips is present yet, but I should get it in at some point tomorrow. Nothing I mentioned above should change though.
On the trip page, entries are sorted by how close they are to the user's arrival time.
The text was updated successfully, but these errors were encountered: