Skip to content

Conversation

@Pascal-Delange
Copy link
Contributor

@Pascal-Delange Pascal-Delange commented Jan 16, 2026

Summary of changes:

  • New file: QualificationLevelFilterMenuItem.tsx - Filter component with color-coded labels
  • Modified models/cases.ts - Added qualificationLevels and QualificationLevel types
  • Modified get-cases.ts - Added qualificationLevel to filters schema
  • Modified InboxPage.tsx - Added to ALLOWED_FILTERS
  • Modified DisplayFilterMenuItem.tsx - Added filter menu option
  • Modified ActivatedFilterItem.tsx - Added display and edit support
  • Modified FilterLabel.tsx - Added label mapping
  • Added translations in en/cases.json, fr/cases.json, ar/cases.json

To do

  • check the "person" icon => new "user" icon, as used by Maud in the Figma file
  • confirm translations

Screenshots

Capture d’écran 2026-01-18 à 21 04 17 Capture d’écran 2026-01-18 à 21 04 11 Capture d’écran 2026-01-19 à 10 56 28

Copy link
Contributor

@Djauron Djauron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgfm

Pascal-Delange and others added 8 commits January 19, 2026 21:40
Add a new filter option that allows filtering cases by "qualification level"
which combines review_level and outcome fields:
- Green: probable_false_positive OR false_positive
- Orange: investigate OR valuable_alert
- Red: escalate OR confirmed_risk

The backend filtering logic will be implemented separately in marble-backend PR #1468.

Co-Authored-By: Claude Opus 4.5 <[email protected]>

rm
- Add qualificationLevel to CaseFilters type in repository
- Add qualification_level parameter to OpenAPI spec
- Regenerate marble-api client

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add review_level field to CaseDto in OpenAPI spec
- Add CaseReviewLevelDto enum (probable_false_positive, investigate, escalate)
- Update Case model and adaptCase to include reviewLevel
- Update CasesList to show icon + colored tag for review status:
  - Person icon for human outcome
  - Wand icon for AI review level
  - Color-coded tags (green/orange/red)
- Add translations for review levels (en, fr, ar)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Pascal-Delange Pascal-Delange force-pushed the pascal/qualification-level-filter branch from 7f370ed to f2f532f Compare January 19, 2026 20:40
@Pascal-Delange Pascal-Delange enabled auto-merge (rebase) January 19, 2026 20:40
@Pascal-Delange Pascal-Delange merged commit a468a00 into main Jan 19, 2026
4 of 5 checks passed
@Pascal-Delange Pascal-Delange deleted the pascal/qualification-level-filter branch January 19, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants