Skip to content

Commit

Permalink
feat(persons): improve persons scene copy (#27028)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr authored Dec 20, 2024
1 parent 3bb4386 commit 53133f1
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 54 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/persons.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('Persons', () => {
})

it('All tabs work', () => {
cy.get('h1').should('contain', 'People')
cy.get('h1').should('contain', 'Persons')
cy.get('[data-attr=persons-search]').type('marisol').type('{enter}').should('have.value', 'marisol')
cy.wait(200)
cy.get('[data-row-key]').its('length').should('be.gte', 0)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions frontend/src/queries/nodes/PersonsNode/PersonsSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ interface LabelType {
const labels: Record<ActorType, LabelType> = {
person: {
label: 'persons',
description:
'Search by email or Distinct ID. Email will match partially, for example: "@gmail.com". Distinct ID needs to match exactly.',
description: 'Search by name, email, Person ID or Distinct ID.',
},
group: {
label: 'groups',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ export function PersonsManagementScene(): JSX.Element {
return (
<>
<PageHeader
caption={`A catalog of your product's end users, lists of users who have something in common to use in analytics or feature flags${
showGroupsOptions ? ' and groups' : ''
}.`}
caption={
showGroupsOptions
? 'A catalog of identified persons, groups, and your created cohorts.'
: 'A catalog of identified persons and your created cohorts.'
}
buttons={activeTab?.buttons}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const personsManagementSceneLogic = kea<personsManagementSceneLogicType>(
{
key: 'persons',
url: urls.persons(),
label: 'People & groups',
label: 'Persons',
content: <Persons />,
},
{
Expand Down
47 changes: 0 additions & 47 deletions frontend/src/scenes/persons/PersonsSearch.tsx

This file was deleted.

0 comments on commit 53133f1

Please sign in to comment.