diff --git a/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useXAxis/useXAxis.ts b/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useXAxis/useXAxis.ts index 3b13d2787..eba22e816 100644 --- a/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useXAxis/useXAxis.ts +++ b/web/src/components/ui/charts/BusterChartJS/hooks/useOptions/useXAxis/useXAxis.ts @@ -156,7 +156,6 @@ export const useXAxis = ({ | 'quarter' | 'year'; const format = DATE_FORMATS[unit]; - console.log('auto unit?', { unit, format }); return formatLabel(rawValue, { ...xColumnLabelFormat, dateFormat: format }); } const res = formatLabel(rawValue, xColumnLabelFormat); @@ -210,7 +209,6 @@ export const useXAxis = ({ const memoizedXAxisOptions: DeepPartial['scales']['x']> | undefined = useMemo(() => { if (isPieChart) return undefined; - console.log('type', { type, timeUnit, derivedTimeUnit }); return { type, offset, diff --git a/web/src/context/BusterAppLayout/AppLayoutProvider.tsx b/web/src/context/BusterAppLayout/AppLayoutProvider.tsx index 1c5bb540e..1d7d416b0 100644 --- a/web/src/context/BusterAppLayout/AppLayoutProvider.tsx +++ b/web/src/context/BusterAppLayout/AppLayoutProvider.tsx @@ -37,7 +37,6 @@ export const useAppLayout = () => { // Handle shallow routing (only updating query params) if (options?.shallow && targetPathname === currentPathname) { - console.log('shallow routing', targetPathname, currentPathname); return new Promise((resolve) => { const params = getQueryParamsFromPath(targetPath); onChangeQueryParams(params, false); diff --git a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts index 6aea98f8a..5da8a8eff 100644 --- a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts +++ b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts @@ -66,12 +66,9 @@ export const useAutoChangeLayout = ({ chatId ) { previousLastMessageId.current = lastMessageId; - // onSetSelectedFile({ id: lastMessageId, type: 'reasoning', versionNumber: undefined }); - onChangePage({ - route: BusterRoutes.APP_CHAT_ID_REASONING_ID, - chatId, - messageId: lastMessageId - }); + + onSetSelectedFile({ id: lastMessageId, type: 'reasoning', versionNumber: undefined }); + console.log('FLIP TO REASONING!', lastMessageId); }