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

VACMS-10176: Fix Featured events when no featured event is live on Health Care Region Pages #1811

Merged
merged 7 commits into from
Nov 30, 2023

Conversation

chriskim2311
Copy link
Contributor

@chriskim2311 chriskim2311 commented Nov 28, 2023

Summary

Pulled filter logic from graphQL to the browser in drupal liquid filters. Now there is a filterAndSortEvents that we will use to take in all events for a health care region(up to 1000 events) and filter then sort the events based on most upcoming event.

Related issue(s)

department-of-veterans-affairs/va.gov-cms#10716

Testing done

Tested in tugboat env to check for event staleness. Was able to see all events are being passed through to the FE, not just 10 and most upcoming event is being shown.

@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10176-fix-featured-event November 28, 2023 21:26 Inactive
@chriskim2311 chriskim2311 changed the title 10176 fix featured event VACMS:10176- Fix Featured events Nov 28, 2023
@chriskim2311 chriskim2311 changed the title VACMS:10176- Fix Featured events VACMS-10176: Fix Featured events Nov 28, 2023
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10176-fix-featured-event November 29, 2023 20:37 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10176-fix-featured-event November 30, 2023 00:01 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10176-fix-featured-event November 30, 2023 04:57 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10176-fix-featured-event November 30, 2023 16:57 Inactive
randimays
randimays previously approved these changes Nov 30, 2023
Copy link
Contributor

@randimays randimays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@randimays randimays dismissed their stale review November 30, 2023 17:16

Approved before noticing an issue with Featured events

@chriskim2311 chriskim2311 marked this pull request as ready for review November 30, 2023 17:40
@chriskim2311 chriskim2311 requested review from a team as code owners November 30, 2023 17:40
@chriskim2311 chriskim2311 changed the title VACMS-10176: Fix Featured events VACMS-10176: Fix Featured events when no featured event is live on Health Care Region Pages Nov 30, 2023
@chriskim2311 chriskim2311 merged commit 2e90691 into main Nov 30, 2023
25 checks passed
@chriskim2311 chriskim2311 deleted the 10176-fix-featured-event branch November 30, 2023 23:40
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

Successfully merging this pull request may close these issues.

3 participants