Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
import { languageListTemplates } from '../../../components/MultiLanguage';
import { navigateTo } from '../../../utils/navigation';

import { hostedControls, settingsEditor, toolbar } from './style';
import { settingsEditor, toolbar } from './style';
import { BotSettings } from './constants';

export const DialogSettings: React.FC<RouteComponentProps> = () => {
Expand Down Expand Up @@ -96,22 +96,20 @@ export const DialogSettings: React.FC<RouteComponentProps> = () => {
const editorId = [defaultLanguage, ...languages].join('-');

return botName ? (
<Stack tokens={{ childrenGap: '3rem' }}>
<Stack tokens={{ childrenGap: '1rem' }}>
<StackItem grow={0}>
<div css={hostedControls}>
<Label>{BotSettings.generalTitle}</Label>
<p>
{BotSettings.botSettingDescription}
&nbsp;
<Link href={'https://aka.ms/bf-composer-docs-publish-bot'} target="_blank">
{BotSettings.learnMore}
</Link>
</p>
</div>
<Label>{BotSettings.generalTitle}</Label>
<section>
{BotSettings.botSettingDescription}
&nbsp;
<Link href={'https://aka.ms/bf-composer-docs-publish-bot'} target="_blank">
{BotSettings.learnMore}
</Link>
</section>
</StackItem>
<StackItem>
<Label>{BotSettings.languageTitle}</Label>
<p>{BotSettings.languagesubTitle}</p>
<section>{BotSettings.languagesubTitle}</section>
<section style={{ padding: '0 50px' }}>
<div css={toolbar}>
<Dropdown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ export const hostedSettings = css`
box-sizing: border-box;
`;

export const hostedControls = css`
margin-bottom: 18px;

& > h1 {
margin-top: 0;
}
`;

export const settingsEditor = css`
flex: 1;
height: 500px;
Expand Down
1 change: 1 addition & 0 deletions Composer/packages/server/src/models/bot/luPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export class LuPublisher {
config.botName,
config.suffix,
config.fallbackLocal,
true,
false,
loadResult.multiRecognizers,
loadResult.settings
Expand Down