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

VAN-41: Add hotjar suppression to PII #98

Merged
merged 1 commit into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/DesktopHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class DesktopHeader extends React.Component {
return (
<Menu transitionClassName="menu-dropdown" transitionTimeout={250}>
<MenuTrigger
data-hj-suppress
tag="button"
aria-label={intl.formatMessage(messages['header.label.account.menu.for'], { username })}
className="btn btn-light d-inline-flex align-items-center pl-2 pr-3"
Expand Down
2 changes: 2 additions & 0 deletions src/__snapshots__/Header.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ exports[`<Header /> minimal renders correctly for authenticated users when minim
aria-haspopup="menu"
aria-label="Account menu for edX"
className="menu-trigger btn btn-light d-inline-flex align-items-center pl-2 pr-3"
data-hj-suppress={true}
onClick={[Function]}
>
<span
Expand Down Expand Up @@ -191,6 +192,7 @@ exports[`<Header /> renders correctly for authenticated users on desktop 1`] = `
aria-haspopup="menu"
aria-label="Account menu for edX"
className="menu-trigger btn btn-light d-inline-flex align-items-center pl-2 pr-3"
data-hj-suppress={true}
onClick={[Function]}
>
<span
Expand Down