Repository navigation
[PM-40544] Default trial-initiation length to 14 days - #8810
sbrown-livefront wants to merge 4 commits into
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR raises |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8810 +/- ##
=======================================
Coverage 68.48% 68.48%
=======================================
Files 2750 2750
Lines 117618 117618
Branches 10781 10781
=======================================
Hits 80554 80554
Misses 34524 34524
Partials 2540 2540 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-40544
https://bitwarden.atlassian.net/browse/PM-46435
📔 Objective
Updates the default trial length for the trial-initiation flow from 7 to 14 days, to match the new standard for sales-initiated and marketing trials.
TrialInitiationConstants.DefaultTrialLengthDaysis the fallback theaccounts/trial/send-verification-emailendpoint uses when a request does not specify a trial length.Also fixes PM-46435: the Admin Portal Send Sales-Assisted Trial Invitation form pre-filled Trial Length (Days) with a hard-coded
30, so sales-assisted invitations never picked up the 14-day default. The form's initial-GET default now usesTrialInitiationConstants.DefaultTrialLengthDays. Explicit lengths entered by a sales user still pass through unchanged.