-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(persons): improve persons scene copy #27028
Conversation
@@ -20,8 +20,7 @@ interface LabelType { | |||
const labels: Record<ActorType, LabelType> = { | |||
person: { | |||
label: 'persons', | |||
description: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is still in reference to the legacy implementation. The current query looks like this:
SELECT id, id, created_at, 1
FROM persons
WHERE or(
ilike(properties.email, '%QUERY%'),
ilike(properties.name, '%QUERY%'),
ilike(toString(id), '%QUERY%'),
in(id, (SELECT person_id FROM person_distinct_ids WHERE ilike(distinct_id, '%QUERY%')))
)
ORDER BY created_at DESC
LIMIT 101 OFFSET 0
@@ -52,7 +52,7 @@ export const personsManagementSceneLogic = kea<personsManagementSceneLogicType>( | |||
{ | |||
key: 'persons', | |||
url: urls.persons(), | |||
label: 'People & groups', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just list persons in this tab, no group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the legacy implementation that doesn't seem to be used any more.
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated6 snapshot changes in total. 0 added, 6 modified, 0 deleted:
Triggered by this commit. |
Problem
The copy on the persons page was confusing, see individual comments on the code.
Changes
Improves it. I also removed a legacy component that I think isn't used any more.
How did you test this code?
👀