Skip to content

Conversation

@SaintPatrck
Copy link
Contributor

🎟️ Tracking

N/A

📔 Objective

This commit expands the set of supported credential types for the "Import from another app" feature.

The following credential types have been added to the import sources:

  • CREDENTIAL_TYPE_API_KEY
  • CREDENTIAL_TYPE_CUSTOM_FIELDS
  • CREDENTIAL_TYPE_DRIVERS_LICENSE
  • CREDENTIAL_TYPE_IDENTITY_DOCUMENT
  • CREDENTIAL_TYPE_NOTE
  • CREDENTIAL_TYPE_PASSPORT
  • CREDENTIAL_TYPE_PERSON_NAME
  • CREDENTIAL_TYPE_WIFI

These changes are reflected in the CredentialExchangeRegistryManager and the ImportItemsViewModel, along with their corresponding test files to ensure the new types are correctly handled.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

),
CredentialTypes.CREDENTIAL_TYPE_TOTP,
CredentialTypes.CREDENTIAL_TYPE_WIFI,
).toList(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why change it to a set if we are just changing it back?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unintentional. Good catch. Thank you.

@SaintPatrck SaintPatrck force-pushed the CXF-support-more-credential-types branch from 9501af1 to deedd94 Compare October 14, 2025 19:57
@SaintPatrck SaintPatrck enabled auto-merge October 14, 2025 20:00
@github-actions
Copy link
Contributor

github-actions bot commented Oct 14, 2025

Logo
Checkmarx One – Scan Summary & Details0f07a480-66f2-4a8d-a766-a3e5190e9b81

Great job! No new security vulnerabilities introduced in this pull request

This commit expands the set of supported credential types for the "Import from another app" feature.

The following credential types have been added to the import sources:
- `CREDENTIAL_TYPE_API_KEY`
- `CREDENTIAL_TYPE_CUSTOM_FIELDS`
- `CREDENTIAL_TYPE_DRIVERS_LICENSE`
- `CREDENTIAL_TYPE_IDENTITY_DOCUMENT`
- `CREDENTIAL_TYPE_NOTE`
- `CREDENTIAL_TYPE_PASSPORT`
- `CREDENTIAL_TYPE_PERSON_NAME`
- `CREDENTIAL_TYPE_WIFI`

These changes are reflected in the `CredentialExchangeRegistryManager` and the `ImportItemsViewModel`, along with their corresponding test files to ensure the new types are correctly handled.
@SaintPatrck SaintPatrck force-pushed the CXF-support-more-credential-types branch from deedd94 to bf9a1b0 Compare October 15, 2025 13:18
@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.72%. Comparing base (b8482de) to head (bf9a1b0).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6030      +/-   ##
==========================================
- Coverage   84.73%   84.72%   -0.01%     
==========================================
  Files         722      722              
  Lines       54686    54717      +31     
  Branches     7577     7583       +6     
==========================================
+ Hits        46336    46358      +22     
- Misses       5699     5706       +7     
- Partials     2651     2653       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SaintPatrck SaintPatrck added this pull request to the merge queue Oct 15, 2025
Merged via the queue into main with commit f7cbcd2 Oct 15, 2025
9 checks passed
@SaintPatrck SaintPatrck deleted the CXF-support-more-credential-types branch October 15, 2025 14:23
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.

3 participants