From 109481dfa97775babdef9760158f2e694672667c Mon Sep 17 00:00:00 2001 From: Hongxin <5400599+zhx828@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:27:36 -0400 Subject: [PATCH] Add term related to AI model usage --- .../webapp/app/components/newAccountForm/NewAccountForm.tsx | 4 ++++ src/main/webapp/app/config/constants.tsx | 5 +++++ src/main/webapp/app/config/constants/terms.ts | 3 +++ src/main/webapp/app/pages/AccountPage.tsx | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 src/main/webapp/app/config/constants/terms.ts diff --git a/src/main/webapp/app/components/newAccountForm/NewAccountForm.tsx b/src/main/webapp/app/components/newAccountForm/NewAccountForm.tsx index 6b86509f7..ce476e420 100644 --- a/src/main/webapp/app/components/newAccountForm/NewAccountForm.tsx +++ b/src/main/webapp/app/components/newAccountForm/NewAccountForm.tsx @@ -44,6 +44,7 @@ import { SHORT_TEXT_VAL, TEXT_VAL, } from 'app/shared/utils/FormValidationUtils'; +import { NOT_USED_IN_AI_MODELS } from 'app/config/constants/terms'; export enum FormSection { LICENSE = 'LICENSE', @@ -746,6 +747,9 @@ export class NewAccountForm extends React.Component { {this.apiAccessRequested && (
+ + {NOT_USED_IN_AI_MODELS} + { title="Request API Access" body={ <> + {NOT_USED_IN_AI_MODELS} +
+

Please provide a justification for your API access request.