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

Fix ExecutionStatus filters not showing up on page refresh #2184

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

laurakwhit
Copy link
Contributor

@laurakwhit laurakwhit commented Jul 2, 2024

Description & motivation 💭

If multiple statues are selected, when the page was refreshed not all statues were showing up as a filter "chip" below the search input/filter button.

This PR fixes this by accounting for the possibility of a parenthesis as being the beginning of a search attribute in the tokenize util (as in the case with "(ExecutionStatus="Running" OR ExecutionStatus="TimedOut")"). It also updates several tests to have backticks for a more accurate representation of what queries look like.

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

  • Select multiple ExecutionStatus options from the Filter in the Workflows list view
    • Verify all ExecutionStatus filters show up as expected
  • Refresh the page
    • Verify all ExecutionStatus filters show up as expected

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

DT-2295

Docs

Any docs updates needed?

Copy link

vercel bot commented Jul 2, 2024

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

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 11:13pm

@Alex-Tideman Alex-Tideman merged commit 07d03a5 into main Jul 3, 2024
11 checks passed
@Alex-Tideman Alex-Tideman deleted the DT-2295-fix-tokenize-for-multiple-statuses branch July 3, 2024 13:44
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