Problem/Motivation

Event listings can be cancelled, but there is no visual indication of that on the "All Events" listing at https://www.drupal.org/community/events/upcoming-events.

Steps to reproduce

- Create an event
- Mark it as "Status: Cancelled"
- Visit https://www.drupal.org/community/events/upcoming-events

Proposed resolution

Do not show cancelled events in the upcoming events listing, add/update a View filter for this.

Optional, can be a followup - on an individual event page, add visual styling to “Status: cancelled” events.

Remaining tasks

Decide on a style and implement it.

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
Upcoming_events___Drupal_org.png43.86 KBfroboy

Issue fork drupalorg-3268373

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

froboy created an issue. See original summary.

leslieg’s picture

@froboy. Thinking this is a feature request rather than a bug report. Wondering if a section below "Proposed Events" is a better solution as a Cancelled event is really not an Upcoming event.

froboy’s picture

Category: Bug report » Feature request

@leslieg updating the issue. I'm not sure there would be enough cancelled events to warrant their own section, but I'd be fine with that.

crawleyhost’s picture

Project: Event Organizers Working Group » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: D.o Events Page » Code
Assigned: Unassigned » crawleyhost
leslieg’s picture

@froboy. I do not think we need a new section for cancelled events on the Community Events page, either. I now see that cancelled events do not appear in the "Upcoming Camps" section, which is the expected functionality. They do however appear when you choose "See All" from the Upcoming camps section. That is not expected functionality.

The change that I think should be made to take care of this issue is that Cancelled events should not appear in the results when a user selects "See all" from the Upcoming Camps section on the community events page.

drumm’s picture

Agreed this should not be a new section. We don’t need to showcase what is not happening.

the cancelled event should have some visual indication of being canceled. Either something like text-decoration: line-through; or else a decrease in opacity much like a disabled button.

Only a visual indication would lack accessibility. This would need to be a <strong>Canceled</strong> label or similar so there is text for screen readers, also to explain what any additional visual difference is to everyone.

However, I don’t think we should do that. For the same reason, we don’t need to showcase what is not happening.

The change that I think should be made to take care of this issue is that Cancelled events should not appear in the results when a user selects "See all" from the Upcoming Camps section on the community events page.

I agree with leslieg. We can add a filter to remove canceled events from https://www.drupal.org/community/events/upcoming-events

froboy’s picture

That works for me. Thanks @drumm. I'm updating the title to be more descriptive.

One other note on cancelled events, the detail page does indicate "Status: Cancelled" but it seems to be relatively easily overlooked. On MidCamp I added "Cancelled" to the title as a more significant indicator, but wondering if it might make sense for some kind of change there too.

drumm’s picture

Issue summary: View changes

Updating the proposed resolution in the issue summary.

  • drumm committed 9fa8690 on 7.x-3.x authored by crawleyhost
    Issue #3268373 by crawleyhost, froboy, leslieg, drumm: Do not show...
drumm’s picture

The bulk of this is deployed, https://www.drupal.org/community/events/upcoming-events?field_event_form... no longer shows cancelled events.

#3271300: Event cancellation should be visually indicated on Event nodes will also make the cancelled status harder to miss on individual event pages.

  • drumm committed f288257 on 7.x-3.x
    Issue #3268373 by crawleyhost, drumm: Add class for event status
    
drumm’s picture

Status: Active » Fixed

Individual event pages now have a clear indication when they are cancelled.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

froboy’s picture

Thanks @drumm @crawleyhost. This looks great!