From 0f5ee6b92fdad8c6d12bbce6617bf6330416fe70 Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Tue, 10 Dec 2024 16:32:22 +0530 Subject: [PATCH] Remove console --- .../routes/[organization]/[project]/-/share/[token]/+layout.ts | 1 - .../routes/[organization]/[project]/-/share/[token]/+page.ts | 1 - .../[organization]/[project]/explore/[dashboard]/+page.ts | 1 - .../features/dashboards/url-state/DashboardURLStateSync.svelte | 1 - .../dashboards/url-state/getUpdatedUrlForExploreState.ts | 2 -- 5 files changed, 6 deletions(-) diff --git a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+layout.ts b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+layout.ts index a12b55544a22..332aea511434 100644 --- a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+layout.ts +++ b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+layout.ts @@ -51,7 +51,6 @@ export const load = async ({ new URLSearchParams(), ) : ""; - console.log(tokenData.token?.state, initExploreState, initUrlSearch); return { explore, diff --git a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.ts b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.ts index c866008743d1..8deab7e87d41 100644 --- a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.ts +++ b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.ts @@ -29,7 +29,6 @@ export const load = async ({ url, parent, params }) => { errors.push(...errorsFromConvert); urlSearchForPartial = _urlSearchForPartial; } - console.log(partialExploreState, urlSearchForPartial); return { partialExploreState, diff --git a/web-admin/src/routes/[organization]/[project]/explore/[dashboard]/+page.ts b/web-admin/src/routes/[organization]/[project]/explore/[dashboard]/+page.ts index 48e0520c4e29..caf51da99d89 100644 --- a/web-admin/src/routes/[organization]/[project]/explore/[dashboard]/+page.ts +++ b/web-admin/src/routes/[organization]/[project]/explore/[dashboard]/+page.ts @@ -15,7 +15,6 @@ export const load = async ({ url, parent, params }) => { exploreSpec, defaultExplorePreset, ); - console.log(partialExploreState, urlSearchForPartial); return { partialExploreState, diff --git a/web-common/src/features/dashboards/url-state/DashboardURLStateSync.svelte b/web-common/src/features/dashboards/url-state/DashboardURLStateSync.svelte index af073e5d5677..0d0352967ad6 100644 --- a/web-common/src/features/dashboards/url-state/DashboardURLStateSync.svelte +++ b/web-common/src/features/dashboards/url-state/DashboardURLStateSync.svelte @@ -6,7 +6,6 @@ import { metricsExplorerStore } from "@rilldata/web-common/features/dashboards/stores/dashboard-stores"; import type { MetricsExplorerEntity } from "@rilldata/web-common/features/dashboards/stores/metrics-explorer-entity"; import { convertExploreStateToURLSearchParams } from "@rilldata/web-common/features/dashboards/url-state/convertExploreStateToURLSearchParams"; - import { getUpdatedUrlForExploreState } from "@rilldata/web-common/features/dashboards/url-state/getUpdatedUrlForExploreState"; import { createQueryServiceMetricsViewSchema, type V1ExplorePreset, diff --git a/web-common/src/features/dashboards/url-state/getUpdatedUrlForExploreState.ts b/web-common/src/features/dashboards/url-state/getUpdatedUrlForExploreState.ts index 1b0fd5183ea9..69e512e008c2 100644 --- a/web-common/src/features/dashboards/url-state/getUpdatedUrlForExploreState.ts +++ b/web-common/src/features/dashboards/url-state/getUpdatedUrlForExploreState.ts @@ -1,9 +1,7 @@ import type { MetricsExplorerEntity } from "@rilldata/web-common/features/dashboards/stores/metrics-explorer-entity"; -import { TDDChart } from "@rilldata/web-common/features/dashboards/time-dimension-details/types"; import { convertExploreStateToURLSearchParams } from "@rilldata/web-common/features/dashboards/url-state/convertExploreStateToURLSearchParams"; import { FromURLParamViewMap } from "@rilldata/web-common/features/dashboards/url-state/mappers"; import { ExploreStateURLParams } from "@rilldata/web-common/features/dashboards/url-state/url-params"; -import { DashboardState_ActivePage } from "@rilldata/web-common/proto/gen/rill/ui/v1/dashboard_pb"; import type { V1ExplorePreset, V1ExploreSpec,