Skip to content

PM-38122 resolved fastmail checkbox#21465

Open
bmbitwarden wants to merge 5 commits into
mainfrom
PM-38122-Add-checkbox-to-Generator-page-to-specify-Fastmail-website-prefix
Open

PM-38122 resolved fastmail checkbox#21465
bmbitwarden wants to merge 5 commits into
mainfrom
PM-38122-Add-checkbox-to-Generator-page-to-specify-Fastmail-website-prefix

Conversation

@bmbitwarden

Copy link
Copy Markdown
Contributor

🎟️ Tracking

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

📔 Objective

Add checkbox to Generator page to specify Fastmail website prefix

📸 Screenshots

image

@bmbitwarden bmbitwarden requested a review from a team as a code owner June 24, 2026 16:38
@bmbitwarden bmbitwarden added needs-qa Marks a PR as requiring QA approval ai-review Request a Claude code review labels Jun 24, 2026
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

Reviewed the Fastmail website-prefix feature: the new prefix checkbox in ForwarderSettingsComponent, the sentinel-string↔boolean conversions, the prefixEnabled() helper on ForwarderContext, the emailPrefix derivation in the Fastmail integration, and the i18n keys across all four apps. The previously reported CRITICAL (null from Utils.getDomain crashing .toLowerCase()) is resolved via the ?? "" guard, and tests now cover the prefix-enabled-but-empty-website case. The emailPrefix transformation (lowercase, replace non-compliant chars with _, collapse runs, truncate to 64) matches Fastmail's documented constraints.

Code Review Details

No outstanding findings. The previously flagged CRITICAL on libs/tools/generator/core/src/integration/fastmail.ts is resolved and verified.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.33%. Comparing base (095beec) to head (375c841).
⚠️ Report is 33 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21465      +/-   ##
==========================================
+ Coverage   49.31%   49.33%   +0.01%     
==========================================
  Files        4085     4096      +11     
  Lines      128373   128874     +501     
  Branches    19681    19779      +98     
==========================================
+ Hits        63306    63574     +268     
- Misses      60387    60589     +202     
- Partials     4680     4711      +31     

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcamirault mcamirault left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One change needed so the behavior matches the description

Comment thread libs/tools/generator/core/src/integration/fastmail.ts Outdated
Comment thread libs/tools/generator/core/src/integration/fastmail.ts
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review needs-qa Marks a PR as requiring QA approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants