refactor(node): fetch device links from the API, drop the bundled matcher (#5765)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
James Rich
2026-06-10 16:25:27 -05:00
committed by James Rich
parent 4f1d32c7b9
commit f2ee694566
23 changed files with 5643 additions and 1701 deletions

View File

@@ -191,21 +191,21 @@ private fun DeviceLinksSectionPreview() {
listOf(
org.meshtastic.core.model.DeviceLink(
shortCode = "heltec-v3",
originalUrl = "https://heltec.org",
description = "Heltec V3",
isVendor = true,
targets = listOf("heltec-v3"),
),
org.meshtastic.core.model.DeviceLink(
shortCode = "rokland-heltec-v3",
originalUrl = "https://rokland.com",
description = "Rokland",
regions = listOf("US"),
targets = listOf("heltec-v3"),
),
org.meshtastic.core.model.DeviceLink(
shortCode = "heltec-v3_aliexpress",
originalUrl = "https://aliexpress.com",
description = "AliExpress",
regions = emptyList(),
targets = listOf("heltec-v3"),
),
)
AppTheme { Surface { DeviceLinksSection(links = links) } }