Merge pull request #19036 from overleaf/jdt-labs-alpha-only

feat: only allow alpha users on labs page currently
GitOrigin-RevId: 5136d77789fa27a0bd9fe6f17c8937998bc74259
This commit is contained in:
Jimmy Domagala-Tang 2024-06-21 09:58:26 -04:00 committed by Copybot
parent 94694a6385
commit 790f90e97d
3 changed files with 4 additions and 3 deletions

View file

@ -544,8 +544,8 @@ const _ProjectController = {
const showAiErrorAssistant =
userId &&
(!Features.hasFeature('saas') ||
(user.features && user.features.aiErrorAssistant))
Features.hasFeature('saas') &&
(user.features?.aiErrorAssistant || user.alphaProgram)
const template =
detachRole === 'detached'

View file

@ -66,7 +66,7 @@ export interface Meta {
'ol-cannot-link-google-sso': boolean
'ol-cannot-link-other-third-party-sso': boolean
'ol-cannot-reactivate-subscription': boolean
'ol-cannot-use-ai': boolean
'ol-countryCode': PricingFormState['country']
'ol-couponCode': PricingFormState['coupon']
'ol-createdAt': Date

View file

@ -111,6 +111,7 @@
"all_projects_will_be_transferred_immediately": "All projects will be transferred to the new owner immediately.",
"all_templates": "All Templates",
"all_the_pros_of_our_standard_plan_plus_unlimited_collab": "All the pros of our standard plan, plus unlimited collaborators per project.",
"all_these_experiments_are_available_exclusively": "All these experiments are available exclusively to members of the Labs program. If you sign up, you can choose which experiments you want to try.",
"already_have_an_account": "Already have an account?",
"already_have_sl_account": "Already have an __appName__ account?",
"already_subscribed_try_refreshing_the_page": "Already subscribed? Try refreshing the page.",