From 152fd52d10aec2ed9729fc8ed3ad26491d68d532 Mon Sep 17 00:00:00 2001 From: Julian Jones Date: Sun, 6 Apr 2025 21:26:18 +0100 Subject: [PATCH 1/3] added support for linux --- gcs/src/components/dashboard/tabsSection.jsx | 2 +- run.bash | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 run.bash diff --git a/gcs/src/components/dashboard/tabsSection.jsx b/gcs/src/components/dashboard/tabsSection.jsx index 9128515e6..002a971b3 100644 --- a/gcs/src/components/dashboard/tabsSection.jsx +++ b/gcs/src/components/dashboard/tabsSection.jsx @@ -7,7 +7,7 @@ import { Tabs } from "@mantine/core" // Tab Componenents -import CameraTabsSection from "./tabsSectionTabs/CameraTabsSection" +import CameraTabsSection from "./tabsSectionTabs/cameraTabsSection" import ActionTabsSection from "./tabsSectionTabs/actionTabsSection" import MissionTabsSection from "./tabsSectionTabs/missionTabsSection" import DataTabsSection from "./tabsSectionTabs/dataTabsSection" diff --git a/run.bash b/run.bash new file mode 100755 index 000000000..97dc3696d --- /dev/null +++ b/run.bash @@ -0,0 +1,2 @@ +source radio/venv/bin/activate +concurrently "python radio/app.py" "cd gcs && yarn dev" -n "backend,frontend" -c "red,blue" \ No newline at end of file From 1c0ac6bed8d0d666556a32777e16bb11d398be8f Mon Sep 17 00:00:00 2001 From: Julian Jones Date: Sun, 6 Apr 2025 21:51:57 +0100 Subject: [PATCH 2/3] added update --- run.bash | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/run.bash b/run.bash index 97dc3696d..39ecb076f 100755 --- a/run.bash +++ b/run.bash @@ -1,2 +1,13 @@ +#!/bin/sh + source radio/venv/bin/activate -concurrently "python radio/app.py" "cd gcs && yarn dev" -n "backend,frontend" -c "red,blue" \ No newline at end of file + +# Check for updates +if [ -z "$1" ]; then + concurrently "python radio/app.py" "cd gcs && yarn dev" -n "backend,frontend" -c "red,blue" +else + cd radio + pip install -r requirements.txt + cd ../ + concurrently "python radio/app.py" "cd gcs && yarn dev" -n "backend,frontend" -c "red,blue" +fi \ No newline at end of file From 5dea095b3495eb2e63d6765458d91263fd5b6302 Mon Sep 17 00:00:00 2001 From: Kwashie A <104215256+Kwash67@users.noreply.github.com> Date: Sun, 6 Apr 2025 23:27:42 +0100 Subject: [PATCH 3/3] resolving github warning --- gcs/src/components/spotlight/actions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcs/src/components/spotlight/actions.jsx b/gcs/src/components/spotlight/actions.jsx index 440bafe58..9e7b863f2 100644 --- a/gcs/src/components/spotlight/actions.jsx +++ b/gcs/src/components/spotlight/actions.jsx @@ -12,7 +12,7 @@ import tailwindConfig from "../../../tailwind.config" const tailwindColors = resolveConfig(tailwindConfig).theme.colors const badgeColor = tailwindColors.falcongrey[600] -export let actions = [] +let actions = [] function AddSpotlightAction( id, label,