mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
Move Hotjar to the editor page (#21132)
GitOrigin-RevId: efb2c7841af76084566341b6c5f0afac9a965331
This commit is contained in:
parent
620f31d6a6
commit
b5015b82c2
4 changed files with 2 additions and 8 deletions
|
@ -340,6 +340,7 @@ const _ProjectController = {
|
|||
'write-and-cite',
|
||||
'write-and-cite-ars',
|
||||
'default-visual-for-beginners',
|
||||
'hotjar',
|
||||
'spell-check-client',
|
||||
].filter(Boolean)
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import ErrorController from '../Errors/ErrorController.js'
|
|||
import SessionManager from '../Authentication/SessionManager.js'
|
||||
import { expressify } from '@overleaf/promise-utils'
|
||||
import logger from '@overleaf/logger'
|
||||
import SplitTestHandler from '../SplitTests/SplitTestHandler.js'
|
||||
|
||||
const __dirname = new URL('.', import.meta.url).pathname
|
||||
|
||||
|
@ -35,12 +34,6 @@ async function home(req, res) {
|
|||
page: req.path,
|
||||
})
|
||||
|
||||
try {
|
||||
await SplitTestHandler.promises.getAssignment(req, res, 'hotjar')
|
||||
} catch {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
res.render('external/home/website-redesign/index')
|
||||
} else {
|
||||
res.redirect('/login')
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import '../utils/webpack-public-path' // configure dynamically loaded assets (via webpack) to be downloaded from CDN
|
||||
import '../infrastructure/error-reporter' // set up error reporting, including Sentry
|
||||
import '../infrastructure/hotjar' // set up Hotjar
|
||||
import ReactDOM from 'react-dom'
|
||||
import IdeRoot from '@/features/ide-react/components/ide-root'
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import '../../marketing'
|
||||
import '../../infrastructure/hotjar' // set up Hotjar
|
||||
|
||||
function homepageAnimation(homepageAnimationEl) {
|
||||
function createFrames(word, { buildTime, holdTime, breakTime }) {
|
||||
|
|
Loading…
Reference in a new issue