Skip to content

added powers#149

Merged
AlbaLopez552 merged 11 commits intomainfrom
feature/hotfixNotification
Feb 4, 2026
Merged

added powers#149
AlbaLopez552 merged 11 commits intomainfrom
feature/hotfixNotification

Conversation

@AlbaLopez552
Copy link
Contributor

No description provided.

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 adds support for displaying "powers" information in credential previews. The implementation includes internationalization support for three languages (English, Spanish, and Catalan), a new method to format powers data into human-readable text, and comprehensive test coverage.

Changes:

  • Added "powers" translation key to i18n files for en, es, and ca locales
  • Implemented mapPowersToHumanReadable method with normalization helpers to display powers in a formatted way
  • Updated credentialPreview interface to replace issuer field with power field

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/assets/i18n/es.json Added Spanish translation for "powers" label
src/assets/i18n/en.json Added English translation for "powers" label
src/assets/i18n/ca.json Added Catalan translation for "powers" label
src/app/services/websocket.service.ts Implemented powers display logic with formatting and normalization methods
src/app/services/websocket.service.spec.ts Added comprehensive test coverage for powers formatting functionality
src/app/interfaces/websocket-data.ts Updated credential preview interface to include power field
package.json Bumped version from 2.0.13 to 2.0.14

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

rogermiretin2
rogermiretin2 previously approved these changes Feb 3, 2026
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 7 out of 8 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/app/services/websocket.service.ts:256

  • The removal of window.location.reload() after a QR session expiration could leave the application in an inconsistent state. The page reload was likely needed to reset the session state. Consider restoring this line or implementing an alternative cleanup mechanism.
      window.location.reload();

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

@AlbaLopez552 AlbaLopez552 requested a review from Copilot February 3, 2026 12:18
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 7 out of 8 changed files in this pull request and generated 3 comments.


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

@AlbaLopez552 AlbaLopez552 requested a review from Copilot February 3, 2026 12:31
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 7 out of 8 changed files in this pull request and generated 1 comment.


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

rogermiretin2
rogermiretin2 previously approved these changes Feb 3, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

@AlbaLopez552 AlbaLopez552 merged commit 9f1b2d7 into main Feb 4, 2026
5 checks passed
@AlbaLopez552 AlbaLopez552 deleted the feature/hotfixNotification branch February 4, 2026 07:09
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.

4 participants