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

Update supportsAdvancedVisibility to check for v1.20 #1165

Merged
merged 21 commits into from
Feb 24, 2023

Conversation

Alex-Tideman
Copy link
Contributor

What was changed

Updated supportsAdvancedVisibility to check for 1.20 or newer version of Temporal. This will allow mysql/postgres visibility stores to use new filters.

If supportsAdvancedVisibility, update the DateTime query to use > instead of BETWEEN logic.

Disabled sorting UI for Start/Close Time if not using elastic search for now.

Why?

Temporal v1.20 updated mysql/postgres visibility stores to have (almost) parity with elasticsearch. This PR lets users use our new filter workflow list page if using 1.20.

  1. How was this tested:
  • Updated unit tests
  • New cypress tests for mysql only visibility store on 1.20
  • Tested locally with 1.20 with mysql/postgres and with elasticsearch
  • Tested locally with 1.19 with mysql/postgres and with elasticsearch
  • Tested locally on cloud

@vercel
Copy link

vercel bot commented Feb 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
holocene ⬜️ Ignored (Inspect) Visit Preview Feb 24, 2023 at 7:49PM (UTC)

@Alex-Tideman Alex-Tideman merged commit 7eead81 into main Feb 24, 2023
@Alex-Tideman Alex-Tideman deleted the DT-341-advanced-vis branch February 24, 2023 20:20
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.

2 participants