diff --git a/frontend/.storybook/main.ts b/frontend/.storybook/main.ts index adf1c0504..b11d20308 100644 --- a/frontend/.storybook/main.ts +++ b/frontend/.storybook/main.ts @@ -15,13 +15,13 @@ export default { fastRefresh: true, }, webpackFinal: async (config: any) => { - // console.log('CONFIG', config); - // config.plugins.push(...); config.module = custom.module; config.resolve = custom.resolve; - config.plugins.unshift(custom.plugins[0]); - config.plugins.unshift(custom.plugins[1]); - config.plugins.unshift(custom.plugins[4]); + if (custom.plugins) { + config.plugins.unshift(custom.plugins[0]); + config.plugins.unshift(custom.plugins[1]); + config.plugins.unshift(custom.plugins[4]); + } config.module.rules.unshift({ test: /\.(svg)$/i, exclude: /node_modules/, diff --git a/frontend/app/components/Alerts/AlertForm.js b/frontend/app/components/Alerts/AlertForm.js index 2d9f26027..fd6fe3d77 100644 --- a/frontend/app/components/Alerts/AlertForm.js +++ b/frontend/app/components/Alerts/AlertForm.js @@ -61,8 +61,6 @@ const AlertForm = (props) => { const write = ({ target: { value, name } }) => props.edit({ [name]: value }); const writeOption = (e, { name, value }) => props.edit({ [name]: value.value }); const onChangeCheck = ({ target: { checked, name } }) => props.edit({ [name]: checked }); - // const onChangeOption = ({ checked, name }) => props.edit({ [ name ]: checked }) - // const onChangeCheck = (e) => { console.log(e) } useEffect(() => { props.fetchTriggerOptions(); diff --git a/frontend/app/components/Dashboard/components/WidgetForm/renderMap.ts b/frontend/app/components/Dashboard/components/WidgetForm/renderMap.ts index 411dcecdf..05aaff537 100644 --- a/frontend/app/components/Dashboard/components/WidgetForm/renderMap.ts +++ b/frontend/app/components/Dashboard/components/WidgetForm/renderMap.ts @@ -4,7 +4,6 @@ export const renderClickmapThumbnail = () => { // @ts-ignore window.html2canvas = html2canvas; const element = document.querySelector('#clickmap-render * iframe').contentDocument.body - console.log(element) if (element) { const dimensions = element.getBoundingClientRect() return html2canvas( diff --git a/frontend/app/components/Session/WebPlayer.tsx b/frontend/app/components/Session/WebPlayer.tsx index 888d5f38e..71e70bd62 100644 --- a/frontend/app/components/Session/WebPlayer.tsx +++ b/frontend/app/components/Session/WebPlayer.tsx @@ -82,7 +82,6 @@ function WebPlayer(props: any) { contextValue.player.jump(jumpTimestamp) contextValue.player.pause() contextValue.player.scaleFullPage() - console.log(jumpTimestamp, insights) setTimeout(() => { contextValue.player.showClickmap(insights) }, 250) }, 500) } diff --git a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx index 421a12837..a80219b4c 100644 --- a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx +++ b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx @@ -61,7 +61,6 @@ function FilterModal(props: Props) { const isResultEmpty = (!filterSearchList || Object.keys(filterSearchList).length === 0) && matchingCategories.length === 0 && Object.keys(matchingFilters).length === 0 - // console.log(matchingFilters) return (
1 ? 'auto 200px' : 1 }}> diff --git a/frontend/app/duck/sessions.ts b/frontend/app/duck/sessions.ts index f434faccc..3fb737156 100644 --- a/frontend/app/duck/sessions.ts +++ b/frontend/app/duck/sessions.ts @@ -93,7 +93,6 @@ const reducer = (state = initialState, action: IAction) => { const { sessions, total } = action.data; const list = sessions.map(s => new Session(s)); - console.log(sessions, list, action) return state .set('list', list) .set('sessionIds', list.map(({ sessionId }) => sessionId)) diff --git a/frontend/app/duck/user.js b/frontend/app/duck/user.js index ebb374674..40c69a26e 100644 --- a/frontend/app/duck/user.js +++ b/frontend/app/duck/user.js @@ -69,7 +69,6 @@ const reducer = (state = initialState, action = {}) => { case FETCH_ACCOUNT.FAILURE: case LOGIN.FAILURE: case DELETE: - console.log('hi') deleteCookie('jwt', '/', '.openreplay.com') return initialState; case PUT_CLIENT.REQUEST: diff --git a/frontend/app/player/web/WebPlayer.ts b/frontend/app/player/web/WebPlayer.ts index db7ae9451..567baa286 100644 --- a/frontend/app/player/web/WebPlayer.ts +++ b/frontend/app/player/web/WebPlayer.ts @@ -26,7 +26,6 @@ export default class WebPlayer extends Player { private targetMarker: TargetMarker constructor(protected wpState: Store, session: any, live: boolean) { - console.log(session.events, session.stackEvents, session.resources, session.errors) let initialLists = live ? {} : { event: session.events, stack: session.stackEvents,