Skip to content

feature/PIN-8797-add-dowload-risk-analysis#1611

Merged
borgesis95 merged 9 commits intodevfrom
feature/PIN-8797-add-dowload-risk-analysis
Jan 27, 2026
Merged

feature/PIN-8797-add-dowload-risk-analysis#1611
borgesis95 merged 9 commits intodevfrom
feature/PIN-8797-add-dowload-risk-analysis

Conversation

@martinaCampoli
Copy link
Contributor

@martinaCampoli martinaCampoli commented Jan 8, 2026

Issue

PIN-8797

Description / Context / Why

  • Added download risk analysis for purpose templates
  • Updated types

@martinaCampoli martinaCampoli marked this pull request as ready for review January 27, 2026 08:22
Copilot AI review requested due to automatic review settings January 27, 2026 08:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements the download functionality for signed risk analysis documents in purpose templates, addressing ticket PIN-8797. The implementation adds a new download hook and service method, updates localization strings in both Italian and English, and enables the download button in the UI component.

Changes:

  • Added download capability for signed risk analysis documents in purpose templates
  • Updated localization files with new error and loading messages
  • Updated tests to verify the presence of the download button

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/static/locales/it/mutations-feedback.json Added Italian translations for download risk analysis loading and error messages
src/static/locales/en/mutations-feedback.json Added English translations for download risk analysis loading and error messages
src/pages/ConsumerPurposeTemplateCatalogDetailsPage/test/ConsumerPurposeTemplateCatalogDetailsTab.test.tsx Updated test to verify download button is now rendered
src/components/shared/PurposeTemplate/PurposeTemplateDetailsTab/PurposeTemplateGeneralnfoSection.tsx Implemented download button with handler using the new download hook
src/api/purposeTemplate/purposeTemplate.services.ts Added downloadSignedRiskAnalysis service function to fetch signed risk analysis documents
src/api/purposeTemplate/purposeTemplate.downloads.ts Added useDownloadSignedRiskAnalysis hook to handle download with user feedback
src/api/api.generatedTypes.ts Updated generated API types including new endpoint definitions and minor documentation updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 27, 2026 09:05
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 27, 2026 13:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@borgesis95 borgesis95 merged commit fbb2723 into dev Jan 27, 2026
10 checks passed
@borgesis95 borgesis95 deleted the feature/PIN-8797-add-dowload-risk-analysis branch January 27, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants