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

feat(compass): display warning message to user when Compass cannot access credential storage COMPASS-7819 #6056

Merged

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Jul 23, 2024

Description

Use Electron's safeStorage.isEncryptionAvailable() to check if the secret storage works. If not, display a toast with a warning message.

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@github-actions github-actions bot added the feat label Jul 23, 2024
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

Left one mention of a possible issue for isEncryptionAvailable which we might want to at least call out in a comment.
Other than that lgtm!

packages/compass/src/main/application.ts Show resolved Hide resolved
@alenakhineika alenakhineika requested a review from Anemy July 25, 2024 15:51
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

lgtm, left one suggestion, not a blocker.

packages/compass/src/main/application.ts Show resolved Hide resolved
@alenakhineika alenakhineika changed the title feat: display warning message to user when Compass cannot access cred… feat(compass): display warning message to user when Compass cannot access cred… Jul 26, 2024
@alenakhineika alenakhineika merged commit 5d039d3 into main Jul 26, 2024
31 checks passed
@alenakhineika alenakhineika deleted the COMPASS-7819-warn-when-secret-storage-not-available branch July 26, 2024 09:25
@alenakhineika alenakhineika changed the title feat(compass): display warning message to user when Compass cannot access cred… feat(compass): display warning message to user when Compass cannot access credential storage COMPASS-7819 Jul 26, 2024
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.

2 participants