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

Auth/PM-13318 - AnonLayoutWrapperData Refactor to add full Translation support #11513

Merged

Conversation

JaredSnider-Bitwarden
Copy link
Contributor

@JaredSnider-Bitwarden JaredSnider-Bitwarden commented Oct 11, 2024

🎟️ Tracking

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

📔 Objective

To refactor the AnonLayoutWrapperData interface to support all possible string scenarios (untranslated string, translated string, and translated string with placeholders).

⏰ 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

…ing scenarios (untranslated string, translated string, and translated string with placeholders)
Copy link
Contributor

github-actions bot commented Oct 11, 2024

Logo
Checkmarx One – Scan Summary & Details79de8e9b-1e18-4f40-a4fa-4c4808e74704

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 781 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 781 Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 780 Attack Vector

Fixed Issues

Severity Issue Source File / Package
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 809
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 820
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts: 780

@JaredSnider-Bitwarden JaredSnider-Bitwarden marked this pull request as ready for review October 11, 2024 17:13
@JaredSnider-Bitwarden JaredSnider-Bitwarden requested review from a team as code owners October 11, 2024 17:13
@justindbaur justindbaur removed the request for review from a team October 11, 2024 17:23
justindbaur
justindbaur previously approved these changes Oct 11, 2024
@JaredSnider-Bitwarden JaredSnider-Bitwarden removed the request for review from coroiu October 11, 2024 17:23
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 21.05263% with 15 lines in your changes missing coverage. Please review.

Project coverage is 33.17%. Comparing base (f69e943) to head (9c7c13b).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...wrapper/extension-anon-layout-wrapper.component.ts 0.00% 8 Missing ⚠️
...gular/anon-layout/anon-layout-wrapper.component.ts 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11513      +/-   ##
==========================================
- Coverage   33.17%   33.17%   -0.01%     
==========================================
  Files        2779     2779              
  Lines       86223    86225       +2     
  Branches    16420    16420              
==========================================
  Hits        28604    28604              
- Misses      55353    55355       +2     
  Partials     2266     2266              

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

Copy link
Contributor

@rr-bw rr-bw left a comment

Choose a reason for hiding this comment

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

Approved with one optional and very minor nitpick.

Comment on lines +240 to +242
pageSubtitle: {
key: "checkYourEmail",
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Non-blocking nit: You could keep the non-translated version here, as you did in the AnonLayoutWrapper stories.

Copy link
Member

@audreyality audreyality left a comment

Choose a reason for hiding this comment

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

👍🏻 Tools changes LGTM!

@JaredSnider-Bitwarden JaredSnider-Bitwarden merged commit 7297d0f into main Oct 11, 2024
66 checks passed
@JaredSnider-Bitwarden JaredSnider-Bitwarden deleted the auth/pm-13318/anon-layout-translation-support branch October 11, 2024 20:02
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.

4 participants