Skip to content

feat(IT-Wallet): [SIW-3291,SIW-3292,SIW-3394] Implementation of ANIST credentials#7872

Merged
MonicaRungi-EY merged 7 commits intomasterfrom
SIW-3291-anist-credentials
Apr 7, 2026
Merged

feat(IT-Wallet): [SIW-3291,SIW-3292,SIW-3394] Implementation of ANIST credentials#7872
MonicaRungi-EY merged 7 commits intomasterfrom
SIW-3291-anist-credentials

Conversation

@MonicaRungi-EY
Copy link
Copy Markdown
Collaborator

Short description

This PR introduces the ANIST credential management features for ITW users, enabling them to obtain the “titolo di studio” (Education Diploma) and “iscrizione scolastica” (Education Attendance) credentials. It also includes the related UI updates and Mixpanel tracking integration for monitoring user interactions.

List of changes proposed in this pull request

  • Added new credential types: EDUCATION_DIPLOMA and EDUCATION_ATTENDANCE.
  • Added new list items in ItwL3ScreensSection to enable testing the credentials in the playground.
  • Added mocked JSON files: edipL3.json and edatL3.json.
  • Added new cases in useThemeColorByCredentialType.
  • Added new Mixpanel credential identifiers in mixPanelCredentials: ITW_EDIP and ITW_EDAT.
  • Added new gradient backgrounds in credentialGradientColors.
  • Added new icons in credentialIconByType.

How to test

⚠️ Attention: The feature is currently testable only in PRE and by hardcoding itwLifecycleIsITWalletValidSelector to return true.

  1. Switch to the PRE environment.
  2. Obtain the wallet instance via SPID using the test SPID credentials.
  3. Hardcode itwLifecycleIsITWalletValidSelector so that it always returns true.
  4. Request the new credentials (Education Diploma and Education Attendance) and verify that they are correctly displayed in the wallet.
  5. Verify that the related Mixpanel events are correctly triggered.

Preview

EDUCATION_DIPLOMA EDUCATION_ATTENDANCE
https://github.com/user-attachments/assets/3f9c85fd-3824-47c4-932c-9481933cc98f https://github.com/user-attachments/assets/ba71affe-08f9-413b-b25e-586988a251f0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 16, 2026

Jira Pull Request Link

This Pull Request refers to Jira issues:

@github-actions
Copy link
Copy Markdown
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.32%. Comparing base (fe5a010) to head (702be6b).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...let/playgrounds/components/ItwL3ScreensSection.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7872   +/-   ##
=======================================
  Coverage   60.32%   60.32%           
=======================================
  Files        1976     1976           
  Lines       44294    44300    +6     
  Branches    10241    10178   -63     
=======================================
+ Hits        26720    26725    +5     
- Misses      17488    17499   +11     
+ Partials       86       76   -10     
Files with missing lines Coverage Δ
ts/features/itwallet/analytics/utils/types.ts 100.00% <ø> (ø)
...on/components/ItwCredentialCard/CardBackground.tsx 61.90% <ø> (ø)
...s/features/itwallet/common/utils/itwClaimsUtils.ts 70.80% <100.00%> (+0.36%) ⬆️
...atures/itwallet/common/utils/itwCredentialUtils.ts 84.90% <100.00%> (ø)
ts/features/itwallet/common/utils/itwMocksUtils.ts 100.00% <ø> (ø)
ts/features/itwallet/common/utils/itwStyleUtils.ts 76.31% <100.00%> (+1.31%) ⬆️
...rding/components/ItwOnboardingModuleCredential.tsx 89.74% <ø> (+2.56%) ⬆️
...omponents/ItwPresentationCredentialStatusAlert.tsx 77.06% <ø> (ø)
...let/playgrounds/components/ItwL3ScreensSection.tsx 6.25% <0.00%> (-0.90%) ⬇️

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe5a010...702be6b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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