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

chore(hogql): Rename PersonsQuery to ActorsQuery #19441

Merged
merged 5 commits into from
Dec 22, 2023

Conversation

webjunkie
Copy link
Contributor

@webjunkie webjunkie commented Dec 20, 2023

Problem

PersonsQuery since #19211 does not only care about persons, but also groups.

Changes

  • rename to ActorsQuery (and also all derived classes and names) as suggested by @mariusandra

How did you test this code?

  • tests

@webjunkie webjunkie marked this pull request as ready for review December 20, 2023 12:44
Copy link
Contributor

github-actions bot commented Dec 20, 2023

Size Change: -1 B (0%)

Total Size: 2 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 2 MB -1 B (0%)

compressed-size-action

Base automatically changed from chore/hogql-paginator-tests to master December 21, 2023 11:30
@webjunkie webjunkie force-pushed the chore/persons-query-rename branch from ef85ea8 to 4e1e988 Compare December 21, 2023 12:56
Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

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

Looks good, though one question about a frontend variable inline...

@@ -46,30 +46,30 @@ export const retentionModalLogic = kea<retentionModalLogicType>([
return aggregationLabel(aggregation_group_type_index)
},
],
personsQuery: [
ActorsQuery: [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be PascalCase? We usually camelCase variables and PascalCase types and classes 🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, good catch.. I thought I did case sensitive search and replace 👀

@webjunkie webjunkie merged commit d448593 into master Dec 22, 2023
78 checks passed
@webjunkie webjunkie deleted the chore/persons-query-rename branch December 22, 2023 07:08
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