refactor(adminui): hand /drivers routes to DriverTypePicker + DriverEditRouter

Removes both @page directives from DriverEdit.razor. The picker owns
/drivers/new; the router owns /drivers/{id} and dispatches via
DynamicComponent (currently falls back to DriverEdit for every driver
type — Phase 4 populates the type map one driver at a time).
This commit is contained in:
Joseph Doherty
2026-05-28 09:39:49 -04:00
parent 55e8bf70d9
commit 27b3a014da
@@ -1,5 +1,3 @@
@page "/clusters/{ClusterId}/drivers/new"
@page "/clusters/{ClusterId}/drivers/{DriverInstanceId}"
@* Per Q1 of the AdminUI rebuild plan — JSON editor only, typed driver editors deferred. @* Per Q1 of the AdminUI rebuild plan — JSON editor only, typed driver editors deferred.
DriverInstance is the keystone for everything downstream (Equipment, Tag, VirtualTag, DriverInstance is the keystone for everything downstream (Equipment, Tag, VirtualTag,
ScriptedAlarm all reference DriverInstanceId), so this is the second edit page after ScriptedAlarm all reference DriverInstanceId), so this is the second edit page after