Sprint 3 — admin quick-actions, order status, and Entra sign-in scaffold#101
Open
CarsonL15 wants to merge 8 commits into
Open
Sprint 3 — admin quick-actions, order status, and Entra sign-in scaffold#101CarsonL15 wants to merge 8 commits into
CarsonL15 wants to merge 8 commits into
Conversation
…r the admin origin
…ng handled by common IaC)
… env-derived tests deterministic
# Conflicts: # .github/workflows/AdminWebpage-Deploy-WF.yml # OrderService/OrderService/Services/IOrderService.cs # OrderService/OrderService/Services/OrderService.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sprint 3 work on the Admin & Maintenance App (#18): bot quick-actions, a customer order-status view, and a staff sign-in scaffold.
Closes #51. Closes #53. Tracks #54 (scaffolded, see below).
#51 — Quick-action a bot (recharge / toggle servicing)
admin.jsdouble-write orchestrator.powerLevelto 100 (BotNet + simulator stay in sync); partial failures surface in the banner.UpdateBotRequesthas no settable status field (documented in code).#53 — View customer order status
orders.jsclient (mock fallback like the bots page).GET /api/ordersnow returns all orders whencustomerIdis omitted (backward compatible) — the admin needs a cross-customer list. AddsGetAllOrdersAsync.#54 — Sign in as staff (Entra ID) — scaffolded, not yet enabled
@azure/msal-browser+@azure/msal-react): sign-in redirect, sign-out + user name in the nav, DeliveryBot-Admin group guard, bearer token attached to outbound API calls.VITE_ENTRA_*env vars → auth is disabled, app runs open. Once the Entra app registration exists, the three IDs get filled into the workflow env and pushed (before merge) to switch sign-in on.Go-live notes
orderservice-deploy.yml(touchedOrderService/**) andAdminWebpage-Deploy-WF.yml(touchedadmin-webapp/**) both run — path filters trigger each independently.All 20 unit tests pass; build clean.
Relates to #18.