Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Nightly fractional listing price calculation off by 1 night #2141

Closed
franckc opened this issue Apr 27, 2019 · 10 comments · Fixed by #2145
Closed

Nightly fractional listing price calculation off by 1 night #2141

franckc opened this issue Apr 27, 2019 · 10 comments · Fixed by #2145
Assignees
Labels
bug Something isn't working as intended dapp feature javascript P1 Large amount of significant user impact, a meaningful feature is broken ui/ux

Comments

@franckc
Copy link
Contributor

franckc commented Apr 27, 2019

Reproduction steps:

See screenshot below.

  • Checkin date is Mon June 3
  • Checkout date is Wed June 5
  • That's a total of 2 nights so I would expect price to be $0.10 * 2 = $0.20 but it is $0.10

Screen Shot 2019-04-26 at 10 37 20 PM

@franckc franckc added the P1 Large amount of significant user impact, a meaningful feature is broken label Apr 27, 2019
@shahthepro
Copy link
Collaborator

@franckc Every fractional listing is treated as a nighly listing as of now. Check out this PR #2104.

@nick I guess this change is causing more confusion. Perhaps we can discuss with the team and come to a decision on this one.

@franckc
Copy link
Contributor Author

franckc commented Apr 27, 2019

@shahthepro What I'm confused about is that in the example above, checkin date (not on the calendar, on the box below the price) shows as Mon and checkout as Wed. So that's a total of 2 nights right ?

@shahthepro
Copy link
Collaborator

@franckc The checkout date should be Tuesday. It will appear as such in Offer details page. I somehow overlooked this area. Will fix it.

@franckc
Copy link
Contributor Author

franckc commented Apr 27, 2019

@shahthepro Thanks for being so on top of things :) Love it.

We could indeed update the checkout date to be Tuesday in that example...
Having said that, visually when I selected on the calendar 2 days that each had a price, I sort of expected the price would be the sum of those 2.

Also a little counter intuitive that on the calendar, whether I select 1 day or 2, there would not be any difference in the checkin/checkout date.

But maybe it's just me. I'm terrible at UX and should not be trusted to make those decisions :)

Dear fearless product visionary @micahalcorn @matthewliu do you have any thoughts ?

@shahthepro
Copy link
Collaborator

@franckc

Having said that, visually when I selected on the calendar 2 days that each had a price, I sort of expected the price would be the sum of those 2.

Also a little counter intuitive that on the calendar, whether I select 1 day or 2, there would not be any difference in the checkin/checkout date.

This makes sense to me now. Will submit a PR. We can merge or close it later when we reach a decision.

Thanks. :)

@shahthepro
Copy link
Collaborator

@franckc

Have submitted a PR that should address this issue. You can pull the branch shahthepro/fractional-listing-patch-2141 and see if it works as you expected.

@matthewliu
Copy link
Member

The confusing part is the nightly thing coupled with all the prices being set on the grid. We're not doing a true check out and check while showing many nights you are doing.

Perhaps the short-term fix is:

  1. User selects two grids in the calendar.
  2. That means two nights, and we show the sum of the two nights.
  3. In small text underneath we say 'Checking out (insert date after)

This would be overfitting for homesharing but is it possible to just add that for this subcategory?

@shahthepro
Copy link
Collaborator

@matthewliu

  1. User selects two grids in the calendar.
  2. That means two nights, and we show the sum of the two nights.

PR #2145 will make the behavior exactly like this.

  1. In small text underneath we say 'Checking out (insert date after)

Where exactly should the text appear? Any Zeplin screens for this one?

This would be overfitting for homesharing but is it possible to just add that for this subcategory?

@nick had suggested adding a new listing type NightlyListing when it becomes necessary. If all existing subcategories for fractional listing require nightly pricing, I think we can keep this change for now.

@lucadgtrip
Copy link

I reported this in #1439 a few days ago

@matthewliu
Copy link
Member

No Zeplin link for this. I'd just add in small point font below the two dates and above the Total Price, probably in a shade of gray.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working as intended dapp feature javascript P1 Large amount of significant user impact, a meaningful feature is broken ui/ux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants