Widget tap relay via fuelboard:// scheme; full station names; no check-again

- WidgetKit widgets can only open their containing app — the Link URL is
  delivered to FuelBoard via onOpenURL, never opened directly in Maps. The
  widget now links to a registered fuelboard://directions?lat=&lng= URL,
  and FuelBoardApp forwards it to native maps://?daddr= directions.
  (http://maps.apple.com and raw maps:// both silently dropped in-app.)
- Widget rows (small + medium) now show the full station name (station.name)
  instead of just the brand.
- Onboarding network page: removed the 'Check again' secondary screen after
  the Local Network prompt — Open Settings remains the only retry path.
  35 tests pass.
This commit is contained in:
FuelBoard Contributor
2026-08-12 12:54:08 +01:00
parent 9ce0c83d66
commit 1ff14607c5
5 changed files with 42 additions and 13 deletions
-5
View File
@@ -297,11 +297,6 @@ struct OnboardingView: View {
}
}
.disabled(prompter.dataLoading)
if prompter.dataDenied {
Button("Check again") { prompter.requestDataAccess() }
.font(.subheadline)
.foregroundStyle(.secondary)
}
}
default:
primaryButton("Start Using FuelBoard") { finish() }