[Phase 1] SLA Management UI and Configuration — Phase 1: Overview #32
Labels
No labels
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-implement
blocked:gate-plan
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-procedure
blocked:preflight
bug
feature-request
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-task
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/msp_c2#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Overview
Basic SLA tracking exists in the backend, but there's no UI for configuring SLA policies or viewing SLA compliance. This is needed for proper SLA management.
Decomposed from msp_c2#10
⏸ Needs Decision
Blocking factors:
Scope: medium Risk: low Spec: aligned Type: feature
Summary: Add SLA policy configuration UI and compliance viewing to the existing per-ticket sla_response_due/sla_resolve_due backend columns and breach detection service.
Suggestion: Create an SlaPolicy model (priority→response/resolve targets + business hours) with CRUD API under /api/v1/sla-policies, an Alembic migration, and a new frontend route/page for policy configuration. Extend the ticket detail/list views to display SLA status badges (on-track/breached) using the existing sla_breach_state service. Follow the same FastAPI CRUD + React table/form pattern used elsewhere (e.g. CatalogPage).
Rationale: Medium scope because it requires a new backend model/CRUD/API/migration (~5-6 files) plus a new frontend page (~3-4 files) but no changes to the existing ticket creation flow or core processing paths. Low risk because it's purely additive — the existing sla_response_due/sla_resolve_due columns on the Ticket model and the sla.py breach detection service are untouched. Fully aligned with the ROADMAP.md section 1.5 (SLA Management Enhancements, Phase 1, medium priority) and the project's already-planned SLA features.
Action: Review each blocking factor above. Remove
blocked:needs-decisionlabel to route back to triage.