Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/settings/Agents/AddAgentPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function AddAgentPageContent({route, template}: AddAgentPageContentProps) {
inputStyle={[styles.flex1, styles.textAlignVerticalTop]}
/>
</View>
<Text style={[styles.textLabelSupporting]}>{translate('addAgentPage.copilotNote')}</Text>
<Text style={[styles.textLabelSupporting]}>{`${translate('addAgentPage.copilotNote')} ${translate('workspace.rules.agentRules.disclaimer')}`}</Text>
</View>
</FormProvider>
</ScreenWrapper>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/settings/Agents/Fields/EditPromptPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import InputWrapper from '@components/Form/InputWrapper';
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
import Text from '@components/Text';
import TextInput from '@components/TextInput';

import useIsInLandscapeMode from '@hooks/useIsInLandscapeMode';
Expand Down Expand Up @@ -106,6 +107,7 @@ function EditPromptPage({route}: EditPromptPageProps) {
inputStyle={[styles.flex1, styles.textAlignVerticalTop]}
/>
</View>
<Text style={[styles.textMicroSupporting, styles.textAlignCenter, styles.mt2]}>{translate('workspace.rules.agentRules.disclaimer')}</Text>
</FormProvider>
</ScreenWrapper>
);
Expand Down
2 changes: 2 additions & 0 deletions src/pages/settings/Profile/AgentAIPromptSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Button from '@components/Button';
import ErrorMessageRow from '@components/ErrorMessageRow';
import OfflineWithFeedback from '@components/OfflineWithFeedback';
import Section from '@components/Section';
import Text from '@components/Text';
import TextInput from '@components/TextInput';
import type {BaseTextInputRef} from '@components/TextInput/BaseTextInput/types';

Expand Down Expand Up @@ -232,6 +233,7 @@ function AgentAIPromptSection({accountID, parentScrollViewRef}: AgentAIPromptSec
onFocus={handleInputFocus}
/>
</OfflineWithFeedback>
<Text style={[styles.textMicroSupporting, styles.mt1, styles.mb5]}>{translate('workspace.rules.agentRules.disclaimer')}</Text>
<Button
success
text={showSavedConfirmation ? translate('profilePage.aiPromptSection.saved') : translate('common.save')}
Expand Down
Loading