Skip to content

Commit

Permalink
fix: minor styling and labeling for linting ux (#1716)
Browse files Browse the repository at this point in the history
* Minor deep-linking cleanup

* Update editor.schema label
  • Loading branch information
cwhitten authored Dec 7, 2019
1 parent 844df12 commit a0a144f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions Composer/packages/client/src/TestController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,10 @@ export const TestController: React.FC = () => {
)}
<div ref={addRef}>
{showError && (
<Fragment>
<div style={{ float: 'left' }} onClick={handleErrorButtonClick}>
<span css={errorCount}>{errorLength}</span>
<IconButton
iconProps={{ iconName: 'ErrorBadge' }}
css={errorButton}
title="Error"
ariaLabel="Error"
onClick={handleErrorButtonClick}
/>
</Fragment>
<IconButton iconProps={{ iconName: 'ErrorBadge' }} css={errorButton} title="Error" ariaLabel="Error" />
</div>
)}
<PrimaryButton
css={botButton}
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/lib/shared/src/labelMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ConceptLabels: { [key in ConceptLabelKey]?: LabelOverride } = {
title: formatMessage('Language Generation'),
},
[SDKTypes.AdaptiveDialog]: {
title: formatMessage('AdaptiveDialog'),
title: formatMessage('Adaptive dialog'),
},
[SDKTypes.AttachmentInput]: {
title: formatMessage('File or attachment'),
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/server/schemas/editor.schema
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"Microsoft.AdaptiveDialog": {
"description": "This configures a data driven dialog via a collection of events and actions.",
"title": "AdaptiveDialog",
"title": "Adaptive dialog",
"helpLink": "https://aka.ms/botframework",
"helpLinkText": "Learn more"
},
Expand Down

0 comments on commit a0a144f

Please sign in to comment.