Skip to content

Conversation

@mastro993
Copy link
Contributor

@mastro993 mastro993 commented Dec 13, 2025

Warning

Depends on #7735

Short description

This PR introduces the new IT-Wallet engagement banner with the new brand identity, replacing the legacy highlight banner.

List of changes proposed in this pull request

New IT-Wallet Activation/Engagement Banner:

  • Added a new ItwActivationBanner component that displays an activation prompt for eligible users and navigates them to the onboarding flow. The banner uses the new ItwEngagementBanner for consistent design and accessibility. [1] [2]
  • Updated Italian localization (index.json) with new and revised strings for the IT-Wallet engagement and upgrade banners, including activation, upgrade, expiring, and dismiss alert texts.

Component and UI Refactors:

  • Introduced ItwEngagementBanner, a reusable, accessible banner component with markdown support, custom close/dismiss logic, and a branded design.
  • Refactored ItwBrandedBox and ItwBrandedSkiaBorder components to use a consistent borderRadius prop (renamed from cornerRadius), improving customization and code clarity. Updated all usages accordingly. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Cleanup and Minor Improvements:

  • Removed the obsolete ItwHighlightBanner component and all related code, as it has been replaced by the new engagement banner.
  • Improved layout and spacing for the ItwEnvironmentAlert component by wrapping it in a view with vertical margin. [1] [2] [3]

How to test

Note

This PR does not include the banners dismissal logic. It will be implemented in a different PR.

With the L3 whitelist flag enabled, verify that the engagement banners are rendered correctly in the wallet's home screen as shown in the Figma design.
Banners should have different copy based on the wallet status (empty, with credentials or with expiring credentials).

Preview

IMG_0241 IMG_0242 IMG_0243 IMG_0244

@mastro993 mastro993 self-assigned this Dec 13, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 13, 2025

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 13, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

@mastro993 mastro993 changed the title feat(IT-Wallet) [SIW-3306] New IT-Wallet engagement banner feat(IT-Wallet): [SIW-3306] New IT-Wallet engagement banner Dec 13, 2025
@mastro993 mastro993 changed the title feat(IT-Wallet): [SIW-3306] New IT-Wallet engagement banners in wallet home screen feat(IT-Wallet): [SIW-3306] Add engagement banners to wallet home screen Dec 20, 2025
Comment on lines -54 to +56
} else if (
!isWalletValid ||
(!isITWalletValid && isNewCredential(type))
) {
} else if (isL3Enabled && !isItWalletValid) {
Copy link
Collaborator

@RiccardoMolinari95 RiccardoMolinari95 Jan 5, 2026

Choose a reason for hiding this comment

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

With Documenti su IO enabled and the user clicks on a non-new credential, the PID issuance flow is started. Instead, the issuance flow of the selected credential should be triggered.

Copy link
Contributor Author

@mastro993 mastro993 Jan 5, 2026

Choose a reason for hiding this comment

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

When Documenti su IO is enabled, tapping on a credential starts the credential issuing correctly.
When Documenti su IO is not enabled, credentials are not visibile in the list.
Can you attach a video of the issue? Just to ensure I understand correctly.

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.

3 participants