From 1c802f5eca5b98ee7fa9a034799c38643f009d0c Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Sun, 7 Dec 2025 16:59:07 -0500 Subject: [PATCH] Restore original dashboard view behavior (#2227) --- photon-client/src/types/SettingTypes.ts | 3 ++- photon-client/src/views/DashboardView.vue | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/photon-client/src/types/SettingTypes.ts b/photon-client/src/types/SettingTypes.ts index a16f52d32..b4444400c 100644 --- a/photon-client/src/types/SettingTypes.ts +++ b/photon-client/src/types/SettingTypes.ts @@ -1,6 +1,7 @@ import { type ActivePipelineSettings, DefaultAprilTagPipelineSettings } from "@/types/PipelineTypes"; import type { Pose3d } from "@/types/PhotonTrackingTypes"; import type { WebsocketCameraSettingsUpdate } from "./WebsocketDataTypes"; +import { reactive } from "vue"; export interface GeneralSettings { version?: string; @@ -274,7 +275,7 @@ export interface CameraSettingsChangeRequest { quirksToChange: Record; } -export const PlaceholderCameraSettings: UiCameraConfiguration = Object.freeze({ +export const PlaceholderCameraSettings: UiCameraConfiguration = reactive({ cameraPath: "/dev/null", nickname: "Placeholder Camera", diff --git a/photon-client/src/views/DashboardView.vue b/photon-client/src/views/DashboardView.vue index 808a3ffef..cff49b3b9 100644 --- a/photon-client/src/views/DashboardView.vue +++ b/photon-client/src/views/DashboardView.vue @@ -146,7 +146,13 @@ const showCameraSetupDialog = ref(useCameraSettingsStore().needsCameraConfigurat - + + Set up some cameras to get started!