From a8b4beafc2e4a1b1a9e6f6ce0498d404bda57ceb Mon Sep 17 00:00:00 2001 From: Ryan Pratt Date: Thu, 12 Dec 2024 11:08:24 -0700 Subject: [PATCH 1/6] Don't toast API errors on login page --- .../packages/openc3-vue-common/src/plugins/notify/Toast.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/plugins/notify/Toast.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/plugins/notify/Toast.vue index 8295cd2a2..2e292ebd7 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/plugins/notify/Toast.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/plugins/notify/Toast.vue @@ -73,6 +73,7 @@ export default { message: 'Overall message here', }, timeout: null, + noToastPaths: ['/login'], } }, computed: { @@ -103,6 +104,9 @@ export default { }, methods: { toast: function (toastNotification, duration) { + if (this.noToastPaths.includes(window.location.pathname)) { + return + } if (duration === undefined) { duration = 5000 } From c2eecb247d7a237d40c4c87cf72af133f7cea38b Mon Sep 17 00:00:00 2001 From: Ryan Pratt Date: Thu, 12 Dec 2024 11:08:37 -0700 Subject: [PATCH 2/6] Fix tlmviewer errored screen overlay --- .../packages/openc3-vue-common/src/components/Openc3Screen.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue index 07a56ec92..c2462a7b2 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue @@ -133,6 +133,7 @@ :model-value="errors.length !== 0" opacity="0.8" absolute + attach /> Date: Thu, 12 Dec 2024 11:16:03 -0700 Subject: [PATCH 3/6] Change cmdsender text field variants --- .../src/tools/CommandSender/CommandParameterEditor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdsender/src/tools/CommandSender/CommandParameterEditor.vue b/openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdsender/src/tools/CommandSender/CommandParameterEditor.vue index 539f74324..b06b149e2 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdsender/src/tools/CommandSender/CommandParameterEditor.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdsender/src/tools/CommandSender/CommandParameterEditor.vue @@ -28,7 +28,7 @@ @update:model-value="handleChange" hide-details density="compact" - variant="underlined" + variant="filled" data-test="cmd-param-value" />
@@ -50,7 +50,7 @@ disabled hide-details density="compact" - variant="underlined" + variant="outlined" min-width="60px" data-test="cmd-param-value" /> From 196cda95f049cb99e1ee6ac570368182b21aa256 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Fri, 13 Dec 2024 09:37:36 -0700 Subject: [PATCH 4/6] Fix TPIC for vertical layouts --- .../src/components/TargetPacketItemChooser.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/TargetPacketItemChooser.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/TargetPacketItemChooser.vue index 4e8b234a8..48b71fd6a 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/TargetPacketItemChooser.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/TargetPacketItemChooser.vue @@ -22,7 +22,7 @@
@@ -81,8 +83,9 @@ v-bind="props" @click="collapseWidth" data-test="collapse-width" - >mdi-arrow-collapse-horizontal + mdi-arrow-collapse-horizontal + @@ -91,8 +94,9 @@ v-bind="props" @click="expandWidth" data-test="expand-width" - >mdi-arrow-expand-horizontal + mdi-arrow-expand-horizontal + @@ -104,8 +108,9 @@ v-bind="props" @click="collapseHeight" data-test="collapse-height" - >mdi-arrow-collapse-vertical + mdi-arrow-collapse-vertical + @@ -114,8 +119,9 @@ v-bind="props" @click="expandHeight" data-test="expand-height" - >mdi-arrow-expand-vertical + mdi-arrow-expand-vertical + @@ -126,8 +132,9 @@ v-bind="props" @click="minMaxTransition" data-test="minimize-screen-icon" - >mdi-window-minimize + mdi-window-minimize + @@ -136,8 +143,9 @@ v-bind="props" @click="minMaxTransition" data-test="maximize-screen-icon" - >mdi-window-maximize + mdi-window-maximize + @@ -147,8 +155,9 @@ v-bind="props" @click="$emit('close-graph')" data-test="close-graph-icon" - >mdi-close-box + mdi-close-box + @@ -185,7 +194,7 @@ - Errors + Errors @@ -251,19 +260,19 @@ Edit Clear Delete @@ -280,24 +289,24 @@ > - Legend Top + + Legend Top + - Legend Bottom + + Legend Bottom + - Legend Left + + Legend Left + - Legend RIght + + Legend RIght + @@ -308,7 +317,7 @@ location="top" > @@ -1100,7 +1109,7 @@ export default { height = height / 2.0 + 10 // 5px padding top and bottom } } - let width = viewWidth - 50 // padding left and right + let width = viewWidth - 68 // padding left and right if (!this.fullWidth) { width = width / 2.0 - 10 // 5px padding left and right }