Skip to content

[BLOCKED] Update logic for calendar link in the More times accordion on recurring events #19717

Open
@laflannery

Description

@laflannery

Description

Currently on event detail pages on recurring events, there is an "Add to calendar" link for each instance in the "View more times" accordion. However, this link simply refreshes the page, rather than downloading an .ics file that will add the event to the user's calendar. Also, having this link present for past events doesn't make sense anyway - why would a person want to add a past event to their calendar.

  • For past events, we shouldn't need to worry about this too much because we have a longer term plan of removing past events entirely
  • However, for the upcoming events UX had proposed removing the "Add to calendar" link and instead linking the date and time to the specific detail page for the event. This solves 2 problems:

Engineering notes / background

I am not sure that each recurrence has a specific detail page, and if it does not we wouldn't be able to add a link to each page. In that cause, there may be technical limitations for this approach and it might need to be rethought

Analytics considerations

Testing & QA

Scope / Impact analysis

What, if anything, could break as a result of this change?
Engineer should assess this when approaching PR.

Roles / assignments

After functional testing, code review, accessibility review, and design review can happen in parallel.

Acceptance criteria

ACs should capture expected behavior, to inform test plans. Consider devices, documentation updates including KBs, change management, and content model when applicable.

  • the "Add to calendar" link for each instance in the "View more times" accordion no longer displays.
  • each date and time in the "View more times" accordion links to the specific detail page for the event.
  • accessibility review

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BlockedIssues that are blocked on factors other than blocking issues.Eventsproduct maintained by Public Websites teamNeeds refiningIssue statusPublic WebsitesScrum team in the Sitewide crewVA.gov frontendCMS team practice areanext-buildFE Repository that will replace content-build. Uses NextJS, builds static pages.sitewide

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions