This commit is contained in:
firestar5683
2026-09-14 09:45:49 -05:00
parent 7a7b391656
commit ad1c970cdd
4 changed files with 6 additions and 6 deletions
@@ -6,7 +6,7 @@ import { Tools } from "./views/Tools.js"
import { Recordings } from "./views/Recordings.js"
import { Logs } from "./views/Logs.js"
import { Tuning } from "./views/Tuning.js"
import { Navigation } from "./views/Navigation.js"
import { Navigation } from "./views/Navigation.js?v=nav-destination-2"
import { Vehicle } from "./views/Vehicle.js"
import { Bluetooth } from "./views/Bluetooth.js"
import { SystemTools } from "./views/SystemTools.js"
@@ -108,9 +108,6 @@ export const NavigationDestinationPanel = {
}).slice(0, 10)
},
},
methods: {
secondaryLabel,
},
async mounted() {
await this.load()
},
@@ -123,6 +120,7 @@ export const NavigationDestinationPanel = {
}
},
methods: {
secondaryLabel,
async load() {
try {
const [nav, favoritePayload] = await Promise.all([
@@ -1,4 +1,4 @@
import { NavigationDestinationPanel } from "../components/NavigationDestinationPanel.js"
import { NavigationDestinationPanel } from "../components/NavigationDestinationPanel.js?v=nav-destination-2"
import { MapsPanel } from "../components/MapsPanel.js"
import { NavigationKeysPanel } from "../components/NavigationKeysPanel.js"
import { SpeedLimitsPanel } from "../components/SpeedLimitsPanel.js"
@@ -477,10 +477,12 @@ def test_ui_all_remaining_classic_tools_native_no_embed():
assert "GalaxyEmbed" not in tuning and "LateralTuningPanel" in tuning
assert _read("js/components/MapsPanel.js") and _read("js/components/NavigationKeysPanel.js")
destination = _read("js/components/NavigationDestinationPanel.js")
assert '"./views/Navigation.js?v=nav-destination-2"' in _read("js/app.js")
assert '"../components/NavigationDestinationPanel.js?v=nav-destination-2"' in _read("js/views/Navigation.js")
assert "mapboxSuggest" in destination and "mapboxRetrieve" in destination
assert "mapboxGeocode" in destination and "mapboxDirections" in destination
assert "ref=\"map\"" in destination and "setNavigation(this.destination)" in destination
assert "methods: {" in destination and "secondaryLabel," in destination
assert destination.count("methods: {") == 1 and "secondaryLabel," in destination
assert _read("js/components/LateralTuningPanel.js")
# Shared API surface added for the second batch of ported pages.