Closed paulagaube closed 5 years ago
@paulagaube This is probably a symptom of brining this change in after this event was created. The "Plan to Attend" button is a feature of the Events Manager plugin that was disabled before.
Notes from sprint planning: Will try to change the button behaviour to stay active until the end time of the event instead of the start. If that doesn't work, we'll change the messaging to the user.
@kathreenriel Can you let us know what you would prefer here?
Persistent button all of the time (my preference)
Button is displayed until the event end time is in the past
Chatted with Kathreen and we decided allowing users to save events at all times is the best way foward (#1)
She'd also like to add cautioning users with a modal confirmation if the event has already finished, "This event has happened in the past, are you sure you want to add to your events" options include "cancel" and "save event".
@mandily-p My understanding is as you have described and we discussed changing the title of the button from "Plan To Attend" to "Save to myEYPD"
@kathreenriel @mandily-p This page has a few default options that I would need to override to make this button show up all the time.
Which of those needs to stay and what needs to go?
Stay: Bookings not enable
Available spaces and event has started...I"m not sure the effects of leaving those out or in.
The button will not be shown when its full booked event started is what is causing the N/A leave blank currently which is actually just a settable label
@kathreenriel @mandily-p I have reworked this page so that the button shows after an event starts and shows the modal popup. Let me know if there are any visual changes needed before I submit the pull.
@brettjforsyth yes, this looks good
Perfect. Now just waiting on Brad for a coding question.
Just curious - Did you ever find modals elsewhere on the site? I just had the thought that I'm not sure which pattern the site uses - Cancel first or second.
@brettjforsyth @kathreenriel FYI, I just created a new event as an Organizer on CERT and inadvertently entered a date for the event that was in the past (January 2018). Since I couldn't see the event anymore as the Organizer (I can't see past events that I haven't planned to attend), I went in as an Administrator and changed the event's dates to 2019, as I had originally intended. Here is the event:
Event Name: Sand, Surf and Kelp: Understanding Ocean Tides Event ID: 1779 Event PostID: 4466
Then I went back to my Organizer account and saw the Event on my myEYPD page, but when went to the event details page, and want to click the "Plan to Attend" button, instead I see "N/A leave Blank".
Since the event is now in the future, I believe the "Plan to Attend" button should still appear?
re-opening automated closure resolved via https://github.com/BCcampus/eypd/pull/599
Tested this issue and found the following items to be corrected:
@kathreenriel 1) This seems to be functionality that has always been there. It is a JS alert message. We can remove it all together but not close it automatically. 2) Is this an issue or just needed clarity? 3) I am not sure what the issue is here? different style than expected?
@brettjforsyth
@kathreenriel can you check in the bookings/Registration section what the "Booking cut-off date" is set to for your events. Based on my testing this is likely the old date and once changed will make the modal confirmation go away.
@kathreenriel 1) I have created a new ticket to address this 2) I believe will be resolved with my above comment and is not a coding related issues. 3) @mandily-p create #597 which I think is the best place to capture all the work related to buttons
Validated this issue in its original form at the top : N/A leave blank in place of "Place To Attend" appears when events that began in the past and span to a date in the future
Tested this on Chrome macbook. Added two events as an organizer that span a range of dates that start in the past and end in the future.
SavetomyEYPD button appears and when clicked on expected message appears "This event has happened in the past, are you sure you want to add to your events?"
@kathreenriel I have a couple questions about this issue that I have come across while validating. Can we discuss after lunch? I need a break.
Sure I'm on Skype let's chat when your ready
Description
Not sure if this is a bug or not. Wanted to capture what I saw.
On an Event page, the words "N/A leave blank" appear where the "Plan to Attend" button should be, just below the "Categories" and above "Target Audience".
Expected behaviour
Show the Plan to Attend button so I can add this to myEYPD as a Learner or Organizer.
Steps to reproduce the problem
I noticed this on an event I had originally created some time ago. This event spanned multiple days, and the first days of the event was in the past.
I duplicated the old event and updated the dates to the future. E.g., the button does not appear on this page: https://eypd.bccampus.ca/events/bugs-and-insects-part-4/
I created a couple NEW events with mostly the same information and the Plan to Attend button appeared: https://eypd.bccampus.ca/events/diet-and-nutrition-level-1-2/ https://eypd.bccampus.ca/events/diet-and-nutrition-level-2/
This is what I see while logged in as a Learner: