Skip to content

Commit

Permalink
#1806 Fix AT readout of botCreationDialog secret buttons (#1921)
Browse files Browse the repository at this point in the history
* #1806 Fix AT readout of botCreationDialog

* Update CHANGELOG.md

* Update aria-label and placeholder text
  • Loading branch information
corinagum authored Oct 9, 2019
1 parent 2a14fe6 commit 4ec726f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1916](https://github.com/microsoft/BotFramework-Emulator/pull/1916)
- [1917](https://github.com/microsoft/BotFramework-Emulator/pull/1917)
- [1918](https://github.com/microsoft/BotFramework-Emulator/pull/1918)
- [1921](https://github.com/microsoft/BotFramework-Emulator/pull/1921)

- [client] Fixed an issue with the transcripts path input inside of the resource settings dialog in PR [1836](https://github.com/microsoft/BotFramework-Emulator/pull/1836)
- [client] Implemented HTML app menu for Windows in PR [1893](https://github.com/microsoft/BotFramework-Emulator/pull/1893)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,12 @@ export class BotCreationDialog extends React.Component<BotCreationDialogProps, B
</Row>
<Row align={RowAlignment.Bottom} justify={RowJustification.Left}>
<TextField
aria-label="Bot encryption key"
inputContainerClassName={dialogStyles.key}
inputRef={this.setSecretInputRef}
label="Secret "
value={secret}
placeholder="Your keys are not encrypted"
placeholder={encryptKey ? '' : 'Your keys are not encrypted'}
disabled={true}
id="key-input"
type={revealSecret ? 'text' : 'password'}
Expand All @@ -208,7 +209,12 @@ export class BotCreationDialog extends React.Component<BotCreationDialogProps, B
</LinkButton>
</li>
<li>
<LinkButton className={dialogStyles.dialogLink} disabled={!encryptKey} onClick={this.onCopyClick}>
<LinkButton
ariaLabel="Copy secret"
className={dialogStyles.dialogLink}
disabled={!encryptKey}
onClick={this.onCopyClick}
>
Copy
</LinkButton>
</li>
Expand Down
3 changes: 2 additions & 1 deletion packages/app/client/src/ui/dialogs/dialogStyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
}

.actions-list {
display: flex;
list-style: none;
padding: 0;
margin: 0 0 15px 0;
margin: 0 0 10px 0;

li {
display: inline;
Expand Down

0 comments on commit 4ec726f

Please sign in to comment.