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-9439] Use passkey icon for items with FIDO2 credentials in search results #4541

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

SaintPatrck
Copy link
Contributor

@SaintPatrck SaintPatrck commented Jan 9, 2025

🎟️ Tracking

PM-9439

📔 Objective

Display the passkey icon for search results that contain FIDO2 credentials when the web icon is unavailable.

📸 Screenshots

Before After
image image

⏰ 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 Jan 9, 2025

Logo
Checkmarx One – Scan Summary & Detailsadc4b5cb-ecb5-4ddc-8998-0c766fa1205f

No New Or Fixed Issues Found

@@ -247,7 +248,7 @@ private fun CipherView.toIconData(
login?.uris.toLoginIconData(
baseIconUrl = baseIconUrl,
isIconLoadingDisabled = isIconLoadingDisabled,
usePasskeyDefaultIcon = false,
usePasskeyDefaultIcon = this.isActiveWithFido2Credentials,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are there any tests that need updating for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't find any that are specifically checking the fallback icon although it says it's hit in my local coverage report. I was hoping CodeCov would find something but it has gone radio silent for some reason. I'm thinking my local report is a false positive so I'm adding one explicitly for it.

@SaintPatrck SaintPatrck force-pushed the PM-9439/passkey-icon-in-search-list branch from 087e2d0 to ec7a12f Compare January 9, 2025 19:43
@SaintPatrck SaintPatrck added this pull request to the merge queue Jan 9, 2025
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.87%. Comparing base (b5d73c9) to head (ec7a12f).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4541   +/-   ##
=======================================
  Coverage   88.87%   88.87%           
=======================================
  Files         460      460           
  Lines       39940    39940           
  Branches     5691     5691           
=======================================
  Hits        35497    35497           
  Misses       2459     2459           
  Partials     1984     1984           

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

Merged via the queue into main with commit 0a8d1fa Jan 9, 2025
8 checks passed
@SaintPatrck SaintPatrck deleted the PM-9439/passkey-icon-in-search-list branch January 9, 2025 21:32
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