From bb4c9e2a55da537608aad2f7f6d6e51a554a2c1c Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Mon, 13 Apr 2026 16:07:40 -0300 Subject: [PATCH] Add top bar STATUSTEXT widget with history popover Register a compact Vehicle messages widget in the app bar that listens for MAVLink STATUSTEXT, expands in place with severity coloring, and keeps a short recent history behind the message icon. Made-with: Cursor --- core/frontend/src/App.vue | 6 + core/frontend/src/widgets/Statustext.vue | 248 +++++++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 core/frontend/src/widgets/Statustext.vue diff --git a/core/frontend/src/App.vue b/core/frontend/src/App.vue index 7b087c1da3..6306fd6acd 100644 --- a/core/frontend/src/App.vue +++ b/core/frontend/src/App.vue @@ -434,6 +434,7 @@ import { TopBarWidget } from './types/common' import Cpu from './widgets/Cpu.vue' import Disk from './widgets/Disk.vue' import Networking from './widgets/Networking.vue' +import Statustext from './widgets/Statustext.vue' export default Vue.extend({ name: 'App', @@ -492,6 +493,11 @@ export default Vue.extend({ name: 'Disk', props: {}, }, + { + component: Statustext, + name: 'Vehicle messages', + props: {}, + }, ] // lets filter out docker, veth, and zerotier interfaces if (!system_information.system?.network) { diff --git a/core/frontend/src/widgets/Statustext.vue b/core/frontend/src/widgets/Statustext.vue new file mode 100644 index 0000000000..ea1ea9f854 --- /dev/null +++ b/core/frontend/src/widgets/Statustext.vue @@ -0,0 +1,248 @@ + + + + +