[WIP] Investigate issues with adjudication_queue page launch#29
Draft
[WIP] Investigate issues with adjudication_queue page launch#29
Conversation
- Fixed Tabs component to actually switch tabs and show/hide content - Added status filter parameter to API request (was missing) - Enhanced backend schema to include subject_name and triggered_rules - Updated adjudication queue endpoint to load subject relationship and populate computed fields Co-authored-by: teoat <68715844+teoat@users.noreply.github.com>
Co-authored-by: teoat <68715844+teoat@users.noreply.github.com>
Copilot stopped work on behalf of
teoat due to an error
December 7, 2025 04:29
Owner
|
retry again and add screenshot of the page |
teoat
approved these changes
Dec 9, 2025
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.
Investigation Plan for Adjudication Queue Page Issues
Issues Found and Fixed
1. Critical: Tabs Component Not Functional⚠️
File:
frontend/src/components/ui/Tabs.tsxProblem: The Tabs component was a non-functional shell - tabs didn't switch on click and all content was rendered simultaneously.
Fix:
2. Status Filter Not Applied⚠️
File:
frontend/src/pages/AdjudicationQueue.tsxProblem: The status filter (all/pending/flagged) was in the React Query key but wasn't being sent to the API, so filtering didn't work.
Fix: Added status parameter to URLSearchParams when statusFilter !== 'all'
3. Data Contract Mismatch⚠️
Files:
backend/app/schemas/mens_rea.py,backend/app/api/v1/endpoints/adjudication.pyProblem: Frontend expected
subject_nameandtriggered_rulesfields, but backend schema and endpoint didn't provide them.Fix:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.