closerearth / app.closer

https://dev.closer.earth/
Other
3 stars 0 forks source link

Updates to booking flow #58

Open sorokinvj opened 2 years ago

sorokinvj commented 2 years ago

Design

sorokinvj commented 2 years ago

@closerearth Questions:

  1. Did I understand correctly that the new Booking flow is the same for both guests and members, I am asking about the set of screens and elements on them - from what I see now probably $TDF payments are available only for members? so the TDF <> FIAT switch on the checkout will be only for Members?
  2. Will we need any new backend endpoints to achieve the task?
  3. Are there any limitations for Guests selector screen? Maximum number? Do we need to fetch any data here?
  4. How do I get available accomodations on "Select accomodation" screen? is it just platform.listing.find() as in current pages/listings/index.js? Do I need to select just listingId to make a final call on the checkout?
  5. Do we need to change api.post('/payment', {}) and setBooking({ ...booking, status: 'confirmed' }) with the new checkout? Will backend expect any new info like listingId?
  6. What about the desktop layout? Do we need them or just some general rules while adopting?