Skip to content

Commit

Permalink
feat: add a notice that cohorts are preferred (#26551)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
pauldambra and github-actions[bot] authored Nov 30, 2024
1 parent b43825f commit 9e145db
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 3 deletions.
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.
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ function TestAccountFiltersConfig(): JSX.Element {

return (
<div className="mb-4 flex flex-col gap-2">
<div className="mb-4">
<div className="mb-4 flex flex-col gap-2">
<LemonBanner type="info">
When filtering out internal users by person properties, like email, we recommend creating a Cohort
with those properties, and then adding that cohort with a "not in" operator in your ‘Filter out
internal and test users’ settings.
</LemonBanner>
{!!testAccountFilterWarningLabels && testAccountFilterWarningLabels.length > 0 && (
<LemonBanner type="warning" className="m-2">
<p>
Expand Down Expand Up @@ -141,8 +146,8 @@ export function ProjectAccountFiltersSetting(): JSX.Element {
<strong>Example filters</strong>
<ul className="list-disc pl-4 mb-2">
<li>
Add "<strong>Email</strong> does not contain <strong>yourcompany.com</strong>" to exclude your
team.
Add a cohort where "<strong>Email</strong> does not contain <strong>yourcompany.com</strong>" to
exclude your team.
</li>
<li>
Add "<strong>Host</strong> does not contain <strong>localhost</strong>" to exclude local
Expand Down

0 comments on commit 9e145db

Please sign in to comment.