From 5e9d520f2cf4a4b254168ccdb73679d3ca748716 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Tue, 4 Mar 2025 12:07:18 -0700 Subject: [PATCH] move chat experiece around --- .../collection/[collectionId]/page.tsx | 0 .../[chatId]/dashboard/[dashboardId]/page.tsx | 0 .../[chatId]/dataset/[datasetId]/page.tsx | 0 .../chats/[chatId]/metric/[metricId]/page.tsx | 0 .../(chat_experience)/chats/[chatId]/page.tsx | 0 .../[chatId]/reasoning/[messageId]/page.tsx | 0 .../dashboards/[dashboardId]/page.tsx | 0 .../(chat_experience)/layout.tsx | 0 .../metrics/[metricId]/page.tsx | 6 +++--- .../MetricViewChartController.tsx | 19 ------------------- 10 files changed, 3 insertions(+), 22 deletions(-) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/collection/[collectionId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/dashboard/[dashboardId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/dataset/[datasetId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/metric/[metricId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/chats/[chatId]/reasoning/[messageId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/dashboards/[dashboardId]/page.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/layout.tsx (100%) rename web/src/app/app/{ => (primary_layout)}/(chat_experience)/metrics/[metricId]/page.tsx (72%) diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/collection/[collectionId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/collection/[collectionId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/collection/[collectionId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/collection/[collectionId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/dashboard/[dashboardId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/dashboard/[dashboardId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/dashboard/[dashboardId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/dashboard/[dashboardId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/dataset/[datasetId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/dataset/[datasetId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/dataset/[datasetId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/dataset/[datasetId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/metric/[metricId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/metric/[metricId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/metric/[metricId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/metric/[metricId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/chats/[chatId]/reasoning/[messageId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/reasoning/[messageId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/chats/[chatId]/reasoning/[messageId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/chats/[chatId]/reasoning/[messageId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/dashboards/[dashboardId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/dashboards/[dashboardId]/page.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/dashboards/[dashboardId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/dashboards/[dashboardId]/page.tsx diff --git a/web/src/app/app/(chat_experience)/layout.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/layout.tsx similarity index 100% rename from web/src/app/app/(chat_experience)/layout.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/layout.tsx diff --git a/web/src/app/app/(chat_experience)/metrics/[metricId]/page.tsx b/web/src/app/app/(primary_layout)/(chat_experience)/metrics/[metricId]/page.tsx similarity index 72% rename from web/src/app/app/(chat_experience)/metrics/[metricId]/page.tsx rename to web/src/app/app/(primary_layout)/(chat_experience)/metrics/[metricId]/page.tsx index cdf1f7b59..06b0dbe4f 100644 --- a/web/src/app/app/(chat_experience)/metrics/[metricId]/page.tsx +++ b/web/src/app/app/(primary_layout)/(chat_experience)/metrics/[metricId]/page.tsx @@ -11,8 +11,8 @@ export default function MetricPage({ const embedView = embed === 'true'; return ( - // - - // + + + ); } diff --git a/web/src/controllers/MetricController/MetricViewChart/MetricViewChartController.tsx b/web/src/controllers/MetricController/MetricViewChart/MetricViewChartController.tsx index 93e154ea8..0f772168e 100644 --- a/web/src/controllers/MetricController/MetricViewChart/MetricViewChartController.tsx +++ b/web/src/controllers/MetricController/MetricViewChart/MetricViewChartController.tsx @@ -38,22 +38,3 @@ export const MetricViewChartController: React.FC = React.memo(( }); MetricViewChartController.displayName = 'MetricViewChartController'; - -/* - // return ( - // - // } - // rightChildren={} - // rightHidden={!renderSecondary} - // autoSaveId="metric-controller" - // defaultLayout={defaultLayout} - // preserveSide={'right'} - // rightPanelMinSize={250} - // rightPanelMaxSize={360} - // /> - //); -*/