Skip to content

Chore/wire ops queue view to domain queue builder#88

Merged
AAdewunmi merged 4 commits intomainfrom
chore/wire-ops-queue-view-to-domain-queue-builder
Feb 17, 2026
Merged

Chore/wire ops queue view to domain queue builder#88
AAdewunmi merged 4 commits intomainfrom
chore/wire-ops-queue-view-to-domain-queue-builder

Conversation

@AAdewunmi
Copy link
Owner

Summary

This PR wires the Ops queue page to the shared domain queue builder and updates docs/UI to reflect the current project state and roadmap.

What changed

  • Merged policylens/apps/ops/views.py to use build_queue_queryset(...) for queue ordering/filtering parity with the API.
  • Added queue filter handling in view context:
    • status
    • priority
    • sla
  • Added computed queue_rank for stable ranked display in the UI.
  • Added claim_detail_view(...) scaffold with optimised related loading (select_related/prefetch_related) for upcoming detail page work.
  • Merged policylens/apps/ops/templates/ops/queue.html:
    • Added filter form + reset
    • Added empty-state block
    • Added ranked queue table with SLA badges
    • Added claim links pointing to ops:claim-detail
  • Updated README.md to clearly separate Implemented vs Planned work with explicit milestone/date labels and corrected current-state setup details.

Why

  • Ensures Ops queue behaviour matches canonical domain/API ordering rules.
  • Improves operational visibility with filterable, ranked queue UI.
  • Reduces README drift by distinguishing shipped functionality from roadmap items.

Notes / follow-ups

  • ops:claim-detail is referenced in the queue template and claim_detail_view exists, but URL wiring/template completion is follow-up work if not included in this PR.
  • Local lint/test execution was limited in this environment (missing host ruff, Docker daemon unavailable).

@AAdewunmi AAdewunmi self-assigned this Feb 17, 2026
@AAdewunmi AAdewunmi added the week-5-ui-domain Wire ops queue view to domain queue builder label Feb 17, 2026
@AAdewunmi AAdewunmi linked an issue Feb 17, 2026 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 80.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
policylens/apps/ops/views.py 80.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@AAdewunmi AAdewunmi merged commit d30661e into main Feb 17, 2026
2 checks passed
@AAdewunmi AAdewunmi deleted the chore/wire-ops-queue-view-to-domain-queue-builder branch February 17, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

week-5-ui-domain Wire ops queue view to domain queue builder

Projects

Development

Successfully merging this pull request may close these issues.

Wire ops queue view to domain queue builder

1 participant

Comments