Skip to content

feat: [IEL-339] send feedback survey data#584

Merged
Ladirico merged 3 commits intomasterfrom
IEL-339-send-feedback-survey
Mar 26, 2026
Merged

feat: [IEL-339] send feedback survey data#584
Ladirico merged 3 commits intomasterfrom
IEL-339-send-feedback-survey

Conversation

@freddi301
Copy link
Copy Markdown
Collaborator

@freddi301 freddi301 commented Mar 26, 2026

Warning

This PR depends on pagopa/io-services-metadata#1169

Short description

This PR is neeed as requirement for pagopa/io-app#7956

List of changes proposed in this pull request

  • add remote config data

@dpulls
Copy link
Copy Markdown

dpulls bot commented Mar 26, 2026

🎉 All dependencies have been resolved !

Copy link
Copy Markdown
Contributor

@Ladirico Ladirico left a comment

Choose a reason for hiding this comment

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

LGTM

@Ladirico Ladirico merged commit 33cee42 into master Mar 26, 2026
5 of 6 checks passed
@Ladirico Ladirico deleted the IEL-339-send-feedback-survey branch March 26, 2026 11:10
github-merge-queue bot pushed a commit to pagopa/io-app that referenced this pull request Mar 26, 2026
…elegate) flow (#7956)

> [!WARNING] 
> This PR depends on
pagopa/io-dev-api-server#584,
pagopa/io-services-metadata#1169

## Short description
Add a bannerwith survey link in the bottomsheet when trying to exit send
aar flow.

## List of changes proposed in this pull request
- banner added as in toher parts of the app

## How to test
- start app along with io-dev-api-server
- go to http://localhost:3000/ "SEND AAR QRCodes" section, click on the
fifth "generate" link, save the image, drag drop it into the simulator
gallery
- open the app, go to scan qrcode screen, choose upload image and
provide the one from before
- continue the flow past electronic identiy card scan
- press "X" button on the to right of the screen
- the bottomshoeet that shows up should contain the new banner
- press the action, you hsould be redirected to qualtrics survey

on simulator add this to skip card reading:
```patch
diff --git a/ts/features/pn/aar/components/SendAARCieCardReadingComponent.tsx b/ts/features/pn/aar/components/SendAARCieCardReadingComponent.tsx
index e70c6ff..269490b 100644
--- a/ts/features/pn/aar/components/SendAARCieCardReadingComponent.tsx
+++ b/ts/features/pn/aar/components/SendAARCieCardReadingComponent.tsx
@@ -10,6 +10,7 @@ import {
   CieCardReadContentProps
 } from "../../../common/components/cie/CieCardReadContent";
 import {
+  CieReadState,
   isErrorState,
   isReadingState,
   isSuccessState,
@@ -42,7 +43,25 @@ export const SendAARCieCardReadingComponent = ({
 }: SendAARCieCardReadingComponentProps) => {
   const dispatch = useIODispatch();
   const theme = useIOTheme();
-  const { startReading, readState } = useCieInternalAuthAndMrtdReading();
+  const { startReading } = useCieInternalAuthAndMrtdReading();
+
+  // TODO remove this change, it is needed only to skip card reading on simulator
+  const readState = {
+    status: ReadStatus.SUCCESS,
+    data: {
+      mrtd_data: {
+        dg1: "",
+        dg11: "",
+        sod: ""
+      },
+      nis_data: {
+        nis: "",
+        publicKey: "",
+        signedChallenge: "",
+        sod: ""
+      }
+    }
+  } as CieReadState;
 
   useTrackCieReadingEvents(readState);
 

```


https://github.com/user-attachments/assets/d4dc50d5-3ce5-4e2e-98b2-df362079b192

---------

Co-authored-by: Alice Di Rico <83651704+Ladirico@users.noreply.github.com>
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