Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-15050] Track vault registration for CXP export in settings #4335

Merged
merged 5 commits into from
Nov 22, 2024

Conversation

SaintPatrck
Copy link
Contributor

🎟️ Tracking

PM-15050

📔 Objective

Add a new setting to track whether or not a user has previously registered their vault for export via the credential exchange protocol.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation 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

Copy link
Contributor

github-actions bot commented Nov 19, 2024

Logo
Checkmarx One – Scan Summary & Detailsc03529d6-97d8-4571-bf81-28f6b3140a99

Fixed Issues

Severity Issue Source File / Package
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 26

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 88.99%. Comparing base (d418444) to head (b05d47e).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
...data/platform/repository/SettingsRepositoryImpl.kt 81.81% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4335   +/-   ##
=======================================
  Coverage   88.99%   88.99%           
=======================================
  Files         453      453           
  Lines       39097    39117   +20     
  Branches     5510     5512    +2     
=======================================
+ Hits        34794    34812   +18     
  Misses       2377     2377           
- Partials     1926     1928    +2     

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


🚨 Try these New Features:

Add a new setting to track whether or not a user has previously registered their vault for export via the credential exchange protocol.
@SaintPatrck SaintPatrck force-pushed the PM-15050/cxp-export-registration-prefs branch from bc72465 to 6fce0b1 Compare November 19, 2024 18:36
@SaintPatrck SaintPatrck force-pushed the PM-15050/cxp-export-registration-prefs branch from 6fce0b1 to 3c22e2d Compare November 19, 2024 18:38
override fun getVaultRegisteredForExport(userId: String): Boolean =
vaultRegisteredForExport[userId] ?: false

override fun storeVaultRegisteredForExport(userId: String, registered: Boolean?) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missed the clearData on the fake

@SaintPatrck SaintPatrck added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 5d41970 Nov 22, 2024
9 checks passed
@SaintPatrck SaintPatrck deleted the PM-15050/cxp-export-registration-prefs branch November 22, 2024 15:36
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.

2 participants