Skip to content

Conversation

@anish-mudaraddi
Copy link
Collaborator

@anish-mudaraddi anish-mudaraddi commented Feb 26, 2025

merge all client side handlers into one - simplifies the process to add new query presets

@anish-mudaraddi anish-mudaraddi marked this pull request as draft February 26, 2025 15:07
@anish-mudaraddi anish-mudaraddi force-pushed the refactor-client-handlers branch 2 times, most recently from 710fc3a to 511473e Compare February 28, 2025 13:17
@codecov
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.63%. Comparing base (c8ba169) to head (4d42304).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   99.52%   99.63%   +0.10%     
==========================================
  Files         114      105       -9     
  Lines        4193     3804     -389     
==========================================
- Hits         4173     3790     -383     
+ Misses         20       14       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

combine all client-side handlers into one.

- We don't get any benefits from separate client-side handlers.
- separate out client-side filter functions into standalone - found in client_side_filters.py
- makes adding new filter functions easy
- refactor client-side tests so its easier to add new ones
update docs to match change to client-side-handlers
@anish-mudaraddi anish-mudaraddi force-pushed the refactor-client-handlers branch from 511473e to 30fd90e Compare February 28, 2025 14:22
@anish-mudaraddi anish-mudaraddi force-pushed the refactor-client-handlers branch from 34bfc61 to 28dc9d3 Compare February 28, 2025 14:36
@anish-mudaraddi anish-mudaraddi marked this pull request as ready for review February 28, 2025 14:36
Comment on lines 66 to 67
# QueryPresets.CONTAINS: ["list_contains", "has"],
# QueryPresets.NOT_CONTAINS: ["list_not_contains", "has_not"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should these still be commented?

best to convert them into comma spaced strings for now
@anish-mudaraddi
Copy link
Collaborator Author

decided LIST_CONTAINS and LIST_NOT_CONTAINS is not needed at the moment

gmatthews20
gmatthews20 previously approved these changes Mar 18, 2025
@gmatthews20 gmatthews20 merged commit 02c1444 into main Mar 18, 2025
13 checks passed
@gmatthews20 gmatthews20 deleted the refactor-client-handlers branch March 18, 2025 14:29
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.

4 participants