Skip to content

feat: enhance GenerateTranscriptForm and GenerateResultAPI to include detailed batch information and dynamic filename generation for downloads#1921

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:prod/acad-react
Jun 17, 2026
Merged

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

This pull request enhances the batch and grade export APIs in the examination module to provide more detailed and context-aware information. The main improvements include enriching batch data returned by the API and generating more descriptive filenames for exported grade spreadsheets.

API Response Enhancements:

  • The batch list in the API response now includes separate fields for name, discipline (with a normalized format combining acronym and specialization if present), and year, in addition to the existing label.

Export Functionality Improvements:

  • The filename for the exported student grades spreadsheet is now dynamically generated to include the program, discipline (with specialization if available), semester, and academic year, making it more descriptive and easier to identify.
  • The Content-Disposition header for the download response uses the new dynamic filename, and the Access-Control-Expose-Headers header is set to allow client-side access to the filename in CORS scenarios.

… detailed batch information and dynamic filename generation for downloads
@vikrantwiz02
vikrantwiz02 merged commit 8cb7748 into FusionIIIT:prod/acad-react Jun 17, 2026
1 check 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.

1 participant