Skip to content

Commit bd6adf8

Browse files
authored
Set default chatbot display mode to fullscreen (#1718)
Changed the initial state of the chatbot display mode from 'default' to 'fullscreen' to improve user experience by opening the chatbot in fullscreen mode by default.
1 parent c6a9cfa commit bd6adf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible_ai_connect_chatbot/src/AnsibleChatbot/AnsibleChatbot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const AnsibleChatbot: React.FunctionComponent = () => {
131131
} = useChatbot();
132132
const [chatbotVisible, setChatbotVisible] = useState<boolean>(true);
133133
const [displayMode, setDisplayMode] = useState<ChatbotDisplayMode>(
134-
ChatbotDisplayMode.default,
134+
ChatbotDisplayMode.fullscreen,
135135
);
136136
const [isDrawerOpen, setIsDrawerOpen] = React.useState(false);
137137
const [conversations, setConversations] = React.useState<

0 commit comments

Comments
 (0)