francheska-vicente / cssweng

0 stars 1 forks source link

End Date can be initialized to same date as Start Date #110

Closed sophia-vista closed 3 years ago

sophia-vista commented 3 years ago

Summary:

In create forms (Reservation, Booking, Check-In), the end date can be set as the start date instead of the current date today.

Ex. Booking is created for Jan 1 2022, both Start and End Date should show Jan 1, 2022

Current Design:

image

Suggested Design:

Set End Date to Start Date

Additional Information
Platform V8 engine (Google)
Operating System Windows 10
JanjanC commented 3 years ago

Would this not potentially cause some issues in the event that the user forgot to add an end date? This may result in scenarios wherein the data that is saved to the system is different from the intended data. In such scenarios, the user may not immediately notice that the end date is incorrect. In addition, reservation and booking does not allow creation of reservations/bookings that have the same start and end date.

sophia-vista commented 3 years ago

Question: Is the date picker automatically set to today? Or can it be manually set?

Best solution is that the text entry is blank but the date picker itself is set to the same date as the start date. What I proposed was an easy alternative if this is not possible; start date is same as end date so there is less navigation needed if booking is far into the future, AND so if the user forgets to set the end date, it will be flagged as incorrect (although in hindsight, this is still a problem for check-ins).

I'm open to any other solutions naman!

JanjanC commented 3 years ago

To clarify lang, is the end date for some forms automatically initialized to today?

sophia-vista commented 3 years ago

The text field for the end date is blank, but the date picker is initialized to today

Create Reservation image

Create Booking image

Check-In image

JanjanC commented 3 years ago

Question: Is the date picker automatically set to today? Or can it be manually set?

It seems that the date picker is set to today by default.

Although in hindsight, this is still a problem for check-ins

The start date for check-in is always the same date as today. Perhaps the end date for check-in may be left blank while the end dates for the reservation and booking are set to the same date as the start date. After all, reservation and booking does not allow creation of reservations/bookings that have the same start and end date. Hence, an error will still appear indicating that the end date cannot be the same as the start date.

sophia-vista commented 3 years ago

Perhaps the end date for check-in may be left blank while the end dates for the reservation and booking are set to the same date as the start date.

Okok, sounds good!

JanjanC commented 3 years ago

Updated