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-17688] - generator dialog - add missing button label i18n keys. fix logic for disabling button #13140

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

jaasen-livefront
Copy link
Collaborator

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-17688

📔 Objective

This PR fixes an issue with missing i18n keys for the username generator dialog. It also adds some logic for disabling the action button if the user hasn't selected an algorithm and/or generated a value.

📸 Screenshots

Screen.Recording.2025-01-29.at.12.50.07.PM.mov

⏰ 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

@jaasen-livefront jaasen-livefront requested a review from a team as a code owner January 29, 2025 20:51
@jaasen-livefront jaasen-livefront requested review from gbubemismith and audreyality and removed request for gbubemismith January 29, 2025 20:51
Copy link
Contributor

github-actions bot commented Jan 29, 2025

Logo
Checkmarx One – Scan Summary & Details36b9591d-2c11-4a1f-9569-df700667911d

Great job, no security vulnerabilities found in this Pull Request

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 35.38%. Comparing base (aef8121) to head (d3237e0).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...app/vault/credential-generator-dialog.component.ts 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13140      +/-   ##
==========================================
+ Coverage   35.37%   35.38%   +0.01%     
==========================================
  Files        3010     3010              
  Lines       91176    91150      -26     
  Branches    16996    16983      -13     
==========================================
+ Hits        32251    32254       +3     
+ Misses      56419    56394      -25     
+ Partials     2506     2502       -4     

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

Co-authored-by: ✨ Audrey ✨ <[email protected]>
@jaasen-livefront
Copy link
Collaborator Author

@audreyality Thanks for the quick review! I updated the comment which dismissed your approval. Would you mind re-approving? Thanks!

@jaasen-livefront jaasen-livefront merged commit 4b45029 into main Jan 29, 2025
86 checks passed
@jaasen-livefront jaasen-livefront deleted the PM-17688 branch January 29, 2025 22:06
audreyality added a commit that referenced this pull request Jan 30, 2025
…ix logic for disabling button (#13140)

* add missing button label i18n keys. fix logic for displaying button label

* Update comment

Co-authored-by: ✨ Audrey ✨ <[email protected]>

---------

Co-authored-by: ✨ Audrey ✨ <[email protected]>
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