Skip to content

Allow searching by multiple tags & profiles with "and"/"or" options for tags #2717

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

Merged
merged 18 commits into from
Jul 12, 2025

Conversation

emma-sg
Copy link
Member

@emma-sg emma-sg commented Jul 8, 2025

Closes #2716
Closes #2715

Changes

  • Adds new profileId field that accepts multiple items
  • Deprecates profileid field that does not accept multiple items
  • Adds tagMatch field that accepts "or" | "and"

Testing

Tested locally with curl — all fields seem to work!

Next Steps

Frontend PR is #2727

emma-sg added 4 commits July 8, 2025 16:41
`profileIdMatch` and `tagMatch` fields for match type (and vs or) rename
internal params to use consistent naming, and use annotations for
aliases, deprecations, descriptions, etc
crawl configs can only have one profile id, so using "and" to search for
multiple profile ids is never going to return any results
@emma-sg emma-sg self-assigned this Jul 8, 2025
@emma-sg emma-sg changed the title Allow searching by multiple tags & profiles with "and"/"or" options per field Allow searching by multiple tags & profiles with "and"/"or" options for tags Jul 8, 2025
@ikreymer
Copy link
Member

Looks good overall, though I think we don't need the deprecation of 'profileid' as it was never released and just added.
Mixed feelings on the annotations, as it makes it more verbose, then just keeping params as is..

@ikreymer ikreymer marked this pull request as ready for review July 11, 2025 04:49
@emma-sg emma-sg requested a review from ikreymer July 11, 2025 22:38
Copy link
Member

@ikreymer ikreymer left a comment

Choose a reason for hiding this comment

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

Tested with frontend, seems to be working well!

@emma-sg emma-sg merged commit f91bfda into main Jul 12, 2025
25 of 27 checks passed
@emma-sg emma-sg deleted the filter-workflows-by-profile-id-multiple branch July 12, 2025 02:35
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.

[Task]: Add "and/or" switch for tag filtering [Task]: Disjunctive profile ID filtering for workflows
2 participants