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: remove userpilot content #6746

Merged
merged 1 commit into from
Jun 29, 2023
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
2 changes: 0 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
OverlayController,
} from 'src/overlays/components/OverlayController'
import PageSpinner from 'src/perf/components/PageSpinner'
import EngagementLink from 'src/cloud/components/onboarding/EngagementLink'
import {GlobalHeader} from 'src/identity/components/GlobalHeader/GlobalHeader'

const SetOrg = lazy(() => import('src/shared/containers/SetOrg'))
Expand Down Expand Up @@ -117,7 +116,6 @@ const App: FC = () => {
<OverlayProviderComp>
<OverlayController />
</OverlayProviderComp>
<EngagementLink />
<MainNavigation />
<Suspense fallback={<PageSpinner />}>
<Page>
Expand Down
57 changes: 0 additions & 57 deletions src/cloud/components/onboarding/EngagementLink.tsx

This file was deleted.

148 changes: 0 additions & 148 deletions src/cloud/components/onboarding/useGetUserStatus.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/homepageExperience/components/FeedbackBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ enum feedbackValue {
THUMBS_UP,
}

const USERPILOT_FEEDBACK_ID = '1650913576rUrz8532'

export default class FeedbackBar extends React.Component<OwnProps> {
constructor(props) {
super(props)
Expand All @@ -36,20 +34,12 @@ export default class FeedbackBar extends React.Component<OwnProps> {
if (this.props.selectedFeedback === null) {
event(`firstMile.${this.props.wizardEventName}.thumbsUp.clicked`)
this.props.onFeedbackSelection(feedbackValue.THUMBS_UP)

if (window.userpilot) {
window.userpilot.trigger(USERPILOT_FEEDBACK_ID)
}
}
}
private handleThumbsDownClick = () => {
if (this.props.selectedFeedback === null) {
event(`firstMile.${this.props.wizardEventName}.thumbsDown.clicked`)
this.props.onFeedbackSelection(feedbackValue.THUMBS_DOWN)

if (window.userpilot) {
window.userpilot.trigger(USERPILOT_FEEDBACK_ID)
}
}
}

Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ declare global {
interface Window {
basepath: string
dataLayer: any[]
userpilot: any
}
}

Expand Down
35 changes: 0 additions & 35 deletions src/shared/utils/mocks/usageStats.mocks.ts

This file was deleted.

Loading