Skip to content

Commit eeae475

Browse files
wip
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 4fc5d1d commit eeae475

File tree

12 files changed

+1334
-730
lines changed

12 files changed

+1334
-730
lines changed

core/frontend/src/components/logs/LogManager.vue

Lines changed: 0 additions & 183 deletions
This file was deleted.

core/frontend/src/components/wifi/WifiTrayMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default Vue.extend({
8585
},
8686
mounted() {
8787
commander.getEnvironmentVariables().then((environment_variables) => {
88-
this.disabled_services = ((environment_variables?.BLUEOS_DISABLE_SERVICES as string) ?? '').split(',') as string[]
88+
this.disabled_services = (environment_variables?.BLUEOS_DISABLE_SERVICES as string ?? '').split(',') as string[]
8989
})
9090
},
9191
})

core/frontend/src/menus.ts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ const menus = [
5151
text: 'Visualize disk usage and delete files/folders.',
5252
},
5353
{
54-
title: 'Log Browser',
55-
icon: 'mdi-math-log',
56-
route: '/vehicle/logs',
54+
title: 'Missions',
55+
icon: 'mdi-folder-play',
56+
route: '/vehicle/missions',
5757
advanced: false,
58-
text: 'Allow browsing the Telemetry (.tlog) and Binary (.bin) logs generated by your vehicle. Bin logs are'
59-
+ ' currently only supported for Navigator boards.',
58+
text: 'Browse missions with associated flight logs and recorded videos. Manage and download mission data.',
6059
},
6160
{
6261
title: 'MAVLink Endpoints',
@@ -131,13 +130,6 @@ const menus = [
131130
advanced: false,
132131
text: 'Manage your video devices and video streams.',
133132
},
134-
{
135-
title: 'Records',
136-
icon: 'mdi-filmstrip',
137-
route: '/tools/records',
138-
advanced: false,
139-
text: 'Browse, preview, and download recorded MP4 sessions.',
140-
},
141133
{
142134
title: 'Zenoh Inspector',
143135
icon: 'mdi-chart-areaspline',

core/frontend/src/router/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { defineAsyncComponent } from 'vue'
2-
import Vue from 'vue'
1+
import Vue, { defineAsyncComponent } from 'vue'
32
import VueRouter, { RouteConfig } from 'vue-router'
43

54
import ExtensionView from '../views/ExtensionView.vue'
65
import Main from '../views/MainView.vue'
76
import PageNotFound from '../views/PageNotFound.vue'
7+
88
Vue.use(VueRouter)
99

1010
const routes: Array<RouteConfig> = [
@@ -28,10 +28,14 @@ const routes: Array<RouteConfig> = [
2828
name: 'Pings',
2929
component: defineAsyncComponent(() => import('../views/Pings.vue')),
3030
},
31+
{
32+
path: '/vehicle/missions',
33+
name: 'Missions',
34+
component: defineAsyncComponent(() => import('../views/MissionsView.vue')),
35+
},
3136
{
3237
path: '/vehicle/logs',
33-
name: 'Log Browser',
34-
component: defineAsyncComponent(() => import('../views/LogView.vue')),
38+
redirect: '/vehicle/missions',
3539
},
3640
{
3741
path: '/vehicle/endpoints',
@@ -65,8 +69,7 @@ const routes: Array<RouteConfig> = [
6569
},
6670
{
6771
path: '/tools/records',
68-
name: 'Records',
69-
component: defineAsyncComponent(() => import('../views/RecordsView.vue')),
72+
redirect: '/vehicle/missions',
7073
},
7174
{
7275
path: '/tools/bridges',

0 commit comments

Comments
 (0)