-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar widget - handling single date events that have a startTime AND endTime #1182
Comments
@SyamBabu-M do you have thoughts on this, how much work would it take? Should we schedule this for after the event series work is done? |
I need to check with @AbhishekPAnil as he is working on the event series right now. Could you provide a detailed description of the changes required? With this information, I will be able to provide an estimate. |
@troughc Please test this in CMS staging. |
TEsted in staging: PASSED, the time is showing up correctly thank you! First: when I switch the widget language from French to english for Tout Culture and then try to leave the tab, I get an error for unsaved changes. However you cannot SAVE the widget settings explicitly. Expected behaviour is that you can change settings in the widget and leave the tab without seeing a save error. ALTERNATIVE APPROACH: we have to add a save button to that tab. QUESTIONS I would also like to know what happens when an event starts at 8PM one evening and ends at 12AM the same night. Thanks! |
I have made this change. Please test it here |
We would have to add this as a multiday or custom event. If we select a single-day event then we can't add this as the end time 12:00 AM is before 8:00 PM.
This event does not have an end time. Also, I don't think I follow you about the end time being on the next day when its a single day event. |
@SyamBabu-M I tested this aspect and it looks good - no save message appears: PASSED Additionally, when testing, I found a small display bug in the test build - the list doesn't appear when i first go to the widget tab. Steps to reproduce:
|
@troughc I am not able to reproduce this bug after following the steps. When I go to the widget settings page, there is always data in the listing. I will keep an eye on this issue. |
Recap of meeting with @troughc and @SyamBabu-MAs discussed, there is no scenario where a user could create a single date (or multiple dates / event series) event that has an individual event that is longer than 24 hours. With these two date types each event could only be as long as 23 hours and 45 minutes in the UI (for example, from 7 AM - 6:45 AM the next day) In process@SyamBabu-M is investigating a potential issue with multiple dates events (event series with sub events) that occurs when an single subevent goes overnight. And will make sure the CMS properly handles an event (or sub-event) that goes overnight. |
@SyamBabu-M let me know if you would like to move the above outstanding work to a new issue and deploy this one - I realize that the outstandign work it is a bit of a departure from the original request in this issue. Up to you! |
@troughc We can move this to new issue if the earlier fixed are urgent. Otherwise it ok to work on new requirement as a part of this issue. |
@SyamBabu-M let's look at this one together if possible tomorrow, I also created a test event for multidates in Tout Culture called Caitlin Test. We can review it together to make sure it works as intended in terms of how dates are displayed in the widget and in the CMS. Also, I noticed in the widget display that Some of the dates seem wonky. For example, Passe Partout dates are listed in the wrong order - backwards (i didn't touch this event, I just noticed the issue) : |
@SyamBabu-M as discussed I am going to write up a new issue with a user story describing how to handle events that go overnight. This will include a UI change suggestion. You do not need to do that work in this issue. I did a final test and there is one issue (I think we may have lost sight of the expected behaviour in the widget) Here is the original scenario and criteria to pass this issue: When a single date event has a start time AND end time, no time is displayed in the widget preview. Only the date is displayed. (single date events with start times DO display the start time in the widget preview) Tested in chrome: Did not pass Also, French time is not displayed correctly. Here is how times are displayed differently in each language |
Tested: PASSED |
Problem: when a single date event has a start time AND end time, no time is displayed in the widget preview. Only the date is displayed. (single date events with start times DO display the start time in the widget preview)
Expected behaviour: Single date events with start AND end time should display the start time in the widget preview just like single date events with ONLY start times do.
Notes
No change is required for multiple date events (event series) with times. These type of events are displayed in the widget the same way date range events are displayed (with no time included). This is acceptable.
This can be done in between other more important issues (lower priority)
The text was updated successfully, but these errors were encountered: