Skip to content
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

Data Feed / Widget results reflect canceled events as if they were still confirmed #163

Open
kyletcook opened this issue Jun 20, 2023 · 0 comments

Comments

@kyletcook
Copy link

kyletcook commented Jun 20, 2023

Background

RSS/Widget creates a set of events to be displayed on other web pages. This display does not have the status field of the event considered in the logic. Result being that events marked 'canceled' or 'tentative' in Bedework, do not display any different from confirmed events. The cancelation is not reflected in the set of results. Nor, are they excluded from the count number defined by the subscription. Without the Bedework 'canceled' prepending the event title, user is led to think event is confirmed, in error.

Steps to Reproduce

  1. Create a widget using the exportSubscribePopup.
  2. Place widget on a separate html webpage.
  3. Mark one or more of the events as canceled.

Expected Behavior

Set of events should only include confirmed events. Events should not include tentative or canceled events.

Actual Results

Set of events display all events that fit the criteria from the exportSubscribePopup, including events as canceled. User does not see any visual indicator that the canceled event has been canceled; they must click through to the calendar proper where Bedework theme supplies a 'canceled' designation prepending the title.
Also, because of canceled events are not excluded from the count, any widget displaying a list of 3 'upcoming events' will only show 2 events, due to the Bedework CSS workaround being used.

Environment

https://library.nashville.org/locations/bellevue-branch (when there is a canceled event. There is a canceled even on Jun 23, 2023)

Goal

If we have a event widget, I want canceled events to NOT show in the feed and to NOT count as one of the items for the number of events we specified when setting up the feed.

Example: We made an event feed for all [topical area] and said we wanted to display 5 items.
Of the next 5 events, three are happening and two are canceled.
I want to still see a feed with 5 items (active events) and exclude the two canceled events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant