Development¶
Adding a page¶
Add a Razor page under Pages/Admin/ with a /logistics/admin/... route (use /logistics/self/... for self-service-visible surfaces). Use AdminLayout and StatusHelper for consistent status rendering.
From stubs to a real API (PHASE-2)¶
Today the query/command services (StubDashboardQueries, StubEventOrdersCommands, etc.) read/write the shared SeedDataStore. To integrate a backend:
- Implement API-backed versions of the
I*Queries/I*Commandsinterfaces against the"LogisticsApi"HttpClient. - Register them in
AddLogisticsServices()whenUseStubLogisticsApi=false. - Keep route prefixes (
/logistics/admin,/logistics/self) so the shell continues to compose the MFE.
Seed data¶
Extend SeedDataStore to add equipment types, locations, inventory slots, event orders, broken-equipment reports, or activity-log entries for local development.
Testing¶
...UnitTests (12 MSTest files) targets the stub services (StubDashboardQueriesTests, StubEventOrdersCommandsTests, ServiceCollectionExtensionsTests). Add bUnit page tests as the UI stabilizes.