change(ui) - sb config, and removed logs

This commit is contained in:
Shekar Siri 2023-01-03 12:29:21 +01:00
parent 66ca70d83e
commit 2683d570e8
8 changed files with 5 additions and 13 deletions

View file

@ -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;
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/,

View file

@ -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();

View file

@ -4,7 +4,6 @@ export const renderClickmapThumbnail = () => {
// @ts-ignore
window.html2canvas = html2canvas;
const element = document.querySelector<HTMLIFrameElement>('#clickmap-render * iframe').contentDocument.body
console.log(element)
if (element) {
const dimensions = element.getBoundingClientRect()
return html2canvas(

View file

@ -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)
}

View file

@ -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 (
<div className={stl.wrapper} style={{ width: '480px', maxHeight: '380px', overflowY: 'auto'}}>
<div className={searchQuery && !isResultEmpty ? 'mb-6' : ''} style={{ columns: matchingCategories.length > 1 ? 'auto 200px' : 1 }}>

View file

@ -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))

View file

@ -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:

View file

@ -26,7 +26,6 @@ export default class WebPlayer extends Player {
private targetMarker: TargetMarker
constructor(protected wpState: Store<typeof WebPlayer.INITIAL_STATE>, session: any, live: boolean) {
console.log(session.events, session.stackEvents, session.resources, session.errors)
let initialLists = live ? {} : {
event: session.events,
stack: session.stackEvents,