Skip to content

[CAT-1069] - Refactor report assessment ID handling to use API-provided data directly - #610

Merged
themiszamani merged 1 commit into
FC4E-CAT:develfrom
EPantelaios:refactor/CAT-1069
Nov 11, 2025
Merged

[CAT-1069] - Refactor report assessment ID handling to use API-provided data directly#610
themiszamani merged 1 commit into
FC4E-CAT:develfrom
EPantelaios:refactor/CAT-1069

Conversation

@EPantelaios

Copy link
Copy Markdown
Collaborator

⚠️ This PR should not be merged before CAT-1067 is merged.

This PR refactors the reports feature to utilize assessment data directly from API responses and centralizes role management in the authentication context

  • Removed separate assessment data fetching logic from ReportsContainer
  • Implemented direct assessment ID extraction from report data for navigation links using Link component
  • Added roles array to AuthContext for centralized role management
  • Updated AssessmentView to use roles from authentication context

@themiszamani
themiszamani merged commit 947396e into FC4E-CAT:devel Nov 11, 2025
3 checks passed
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.

2 participants