Skip to content

Commit 6d444c7

Browse files
author
Eunsoo Lee
committed
Minor changes
- Disabled input field option - Chat icon in PlanPage - AI-generated type fixed - Fluent foreground color on user message light mode
1 parent 28acfa9 commit 6d444c7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/frontend_react/src/coral/modules/ChatInput.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ const ChatInput: React.FC<ChatInputProps> = ({
6262
position: "relative",
6363
boxSizing: "border-box",
6464
overflow: "hidden",
65+
66+
opacity: disabledChat ? 0.3 : 1,
67+
pointerEvents: disabledChat ? "none" : "auto",
6568
}}
6669
>
6770
<textarea
@@ -143,7 +146,7 @@ const ChatInput: React.FC<ChatInputProps> = ({
143146
textAlign: "center",
144147
}}
145148
>
146-
<Caption1>AI-Generated content may be incorrect</Caption1>
149+
<Caption1>AI-generated content may be incorrect</Caption1>
147150
</div>
148151
</div>
149152
);

src/frontend_react/src/pages/PlanPage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import {
1818
CheckmarkCircle24Regular,
1919
AlertUrgent24Regular,
2020
Sparkle20Filled,
21+
ChatMultipleRegular,
22+
ChatMultiple20Regular,
2123
} from "@fluentui/react-icons";
2224
import "../styles/PlanPage.css";
2325
import CoralShellColumn from "../coral/components/Layout/CoralShellColumn";
@@ -190,7 +192,7 @@ const PlanPage: React.FC = () => {
190192
<>
191193
<ContentToolbar
192194
panelTitle={planData?.plan?.initial_goal || "Plan Details"}
193-
panelIcon={<Sparkle20Filled />}
195+
panelIcon={<ChatMultiple20Regular />}
194196
>
195197
<PanelRightToggles>
196198
<ToggleButton

src/frontend_react/src/styles/Chat.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127
.user {
128128
background-color: var(--colorBrandBackground2);
129-
color: var(--colorNeutralForegroundOn2);
129+
color: var(--colorNeutralForeground1);
130130
align-self: flex-end;
131131
padding: 2px 16px;
132132
border-radius: 6px;

0 commit comments

Comments
 (0)