Skip to content

Commit

Permalink
Improve onboarding and track the choices people make
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed May 19, 2024
1 parent f490354 commit 8cc5a25
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 189 deletions.
2 changes: 1 addition & 1 deletion external/@worldbrain/memex-common
4 changes: 1 addition & 3 deletions src/background-script/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ class BackgroundScript {
}

private async trackInstallTime() {
await trackOnboardingPath(this.deps.analyticsBG, {
type: 'interactive',
})
return null
}

private async checkForUpdates() {
Expand Down
1 change: 1 addition & 0 deletions src/dashboard-refactor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,7 @@ export class DashboardContainer extends StatefulUIElement<
analyticsBG={this.props.analyticsBG}
bgScriptsBG={this.props.bgScriptBG}
browserAPIs={this.props.browserAPIs}
getRootElement={this.props.getRootElement}
/>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard-refactor/search-results/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ export default class SearchResultsContainer extends React.Component<
id="ResultsScrollContainer"
ref={this.ResultsScrollContainerRef}
>
{this.renderOnboardingTutorials()}
{/* {this.renderOnboardingTutorials()} */}
{this.renderTutorialBox()}
{this.renderResultsByDay()}
{this.props.areResultsExhausted &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default class DashboardResultsContainer extends StatefulUIElement<
<Onboarding
browserAPIs={browser}
navToDashboard={this.handleOnboardingComplete}
getRootElement={() => document.getElementById('app')}
/>
)
}
Expand Down
Loading

0 comments on commit 8cc5a25

Please sign in to comment.