How pair-internal/pairingexercise works
Reviewer Queue is a small web application for reviewing a prioritized queue of items. A reviewer opens the Vue workspace, which loads active items from the FastAPI service; the reviewer selects an item and can claim, approve, reject, or escalate it. The service sorts queue results, applies workflow changes to in-memory state, and loads initial state from the local JSON seed file. The README documents the frontend/API setup; the sampled source shows the UI, API calls, route behavior, and seed loading. The frontend-to-service link is supported by matching request paths and the documented API setup.
Main entry points: main.py HTTP endpoints · App.vue Queue workspace · api.ts API client · main.ts App bootstrap
Components 11
Reviewer workspace
- App bootstrap
frontend/src/main.ts - Queue workspace
frontend/src/App.vue - API client
frontend/src/api.ts
Review service
- HTTP endpoints
backend/app/main.py - Queue listing
backend/app/main.py - Item lookup
backend/app/main.py - Workflow actions
backend/app/main.py - In-memory items
backend/app/main.py - Seed loader
backend/app/main.py
Seed data
- Review item seed
data/review_items.json
Other components
- Reviewer
Connections 12
- Reviewer → Queue workspace: uses
README.md - App bootstrap → Queue workspace: mounts
frontend/src/main.ts - Queue workspace → API client: requests data
frontend/src/App.vue - API client → HTTP endpoints: calls endpoints
frontend/src/api.ts - HTTP endpoints → Queue listing: routes list
backend/app/main.py - HTTP endpoints → Item lookup: routes detail
backend/app/main.py - HTTP endpoints → Workflow actions: routes actions
backend/app/main.py - Queue listing → In-memory items: reads and sorts
backend/app/main.py - Item lookup → In-memory items: searches
backend/app/main.py - Workflow actions → In-memory items: updates
backend/app/main.py - Seed loader → Review item seed: loads
backend/app/main.py - Seed loader → In-memory items: initializes
backend/app/main.py