Skip to content

Commit dd52021

Browse files
[Fix] FE UI Label changes (#816)
changed UI Labels Co-authored-by: Deepak K <89829542+Deepak-Kesavan@users.noreply.github.com>
1 parent 32b211d commit dd52021

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function ManageLlmProfiles() {
226226
<SpaceWrapper>
227227
<div>
228228
<Typography.Text className="add-cus-tool-header">
229-
LLM Profiles Manager
229+
LLM Profile Settings
230230
</Typography.Text>
231231
</div>
232232
<div>

frontend/src/components/custom-tools/pre-and-post-amble-modal/PreAndPostAmbleModal.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ function PreAndPostAmbleModal({ type, handleUpdateTool }) {
2525

2626
useEffect(() => {
2727
if (type === fieldNames.preamble) {
28-
setTitle("Preamble");
28+
setTitle("Preamble Settings");
2929
setText(details?.preamble || "");
3030
return;
3131
}
3232

3333
if (type === fieldNames.postamble) {
34-
setTitle("Postamble");
34+
setTitle("Postamble Settings");
3535
setText(details?.postamble || "");
3636
}
3737
}, [type]);

frontend/src/components/custom-tools/settings-modal/SettingsModal.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {
3737

3838
useEffect(() => {
3939
const items = [
40-
getMenuItem("Manage LLM Profiles", 1, <CodeOutlined />),
41-
getMenuItem("Manage Grammar", 5, <MessageOutlined />),
40+
getMenuItem("LLM Profiles", 1, <CodeOutlined />),
41+
getMenuItem("Grammar", 5, <MessageOutlined />),
4242
getMenuItem("Preamble", 6, <DiffOutlined />),
4343
getMenuItem("Postamble", 7, <DiffOutlined />),
4444
];
@@ -65,7 +65,7 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {
6565
items.splice(
6666
position,
6767
0,
68-
getMenuItem("Summary Manager", 2, <FileTextOutlined />)
68+
getMenuItem("SummarizedExtraction", 2, <FileTextOutlined />)
6969
);
7070
listOfComponents[2] = (
7171
<SummarizeManager
@@ -92,7 +92,7 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {
9292
items.splice(
9393
position,
9494
0,
95-
getMenuItem("Challenge Manager", 4, <FileTextOutlined />)
95+
getMenuItem("LLMChallenge", 4, <FileTextOutlined />)
9696
);
9797
listOfComponents[4] = (
9898
<ChallengeManager handleUpdateTool={handleUpdateTool} />

0 commit comments

Comments
 (0)