Change free trial duration from 30 days to 14 days#667
Merged
Conversation
- Update TRIAL_DURATION_DAYS constant from 30 to 14 - Update fallback comment in trial-utils to reference constant name - Update all user-facing copy (create org page, no-orgs state, Slack workspace selector, teams get-started page, notifications) - Update backfill script SQL INTERVAL from 30 to 14 days - Update test assertions to reflect 14-day trial duration
Contributor
Author
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Files Reviewed (9 files)
|
Contributor
Author
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Files Reviewed (9 files)
|
jrf0110
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TRIAL_DURATION_DAYSconstant from 30 to 14 insrc/lib/constants.ts(single source of truth)trial-utils.tsto reference the constant name instead of hardcoded "30"INTERVALfrom'30 days'to'14 days'trial-utils.test.tsto reflect 14-day trial durationFiles changed
src/lib/constants.tsTRIAL_DURATION_DAYS = 30→14src/lib/organizations/trial-utils.tssrc/components/organizations/new/CreateOrganizationPage.tsxsrc/components/organizations/NoOrganizationsState.tsxsrc/app/get-started/slack/_components/WorkspaceSelector.tsxsrc/app/get-started/teams/page.tsxsrc/lib/notifications.tssrc/scripts/db/backfill-free-trial-end-at.tssrc/lib/organizations/trial-utils.test.tsNot changed (intentionally)
OssSponsorshipDialog.tsx): "30-day credit reset mechanism" refers to the billing/credit cycle, not the trial durationorganization-admin-router.ts): "created within 30 days" are admin query filters, not trial duration referencesBuilt for Alex Gold by Kilo for Slack