Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#935 - added the ability to input App insights manually #1108

Merged
merged 7 commits into from Nov 20, 2018

Conversation

justinwilaby
Copy link
Contributor

@justinwilaby justinwilaby commented Nov 19, 2018

resolves #935

private onLearnMoreServicesAnchor = () => {
this.props.onAnchorClick('https://aka.ms/bot-framework-emulator-services');
private onAnchorClick = (event: MouseEvent<HTMLAnchorElement>): void => {
this.props.onAnchorClick(event.currentTarget.dataset.href);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will have to be modified to buttons, since they no longer contain href tags they are semantically no longer links. As is, they are not keyboard accessible and will not be read out by narrator.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pressed enter too soon -- should I file a bug to comb over all of these instances to do an app-wide fix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the idea of using buttons for links. Links are semantically correct HTML for their use, buttons are not.

We should evaluate whether or not it's necessary to require the main process to open an external link. This could be legacy Electron functionality. We should be able to use:

<a href="https://someurl" target="_blank">A Happy link</a>

and be done.

@coveralls
Copy link

coveralls commented Nov 19, 2018

Pull Request Test Coverage Report for Build 1389

  • 20 of 31 (64.52%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 55.819%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/app/client/src/ui/shell/explorer/servicesExplorer/connectedServiceEditor/connectedServiceEditor.tsx 10 12 83.33%
packages/app/client/src/ui/dialogs/connectServicePromptDialog/connectServicePromptDialog.tsx 6 15 40.0%
Totals Coverage Status
Change from base Build 1367: 0.2%
Covered Lines: 4487
Relevant Lines: 7234

💛 - Coveralls

tonyanziano
tonyanziano previously approved these changes Nov 19, 2018
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@justinwilaby justinwilaby merged commit 1aa9477 into master Nov 20, 2018
@justinwilaby justinwilaby deleted the jwilaby/#935-app-insights branch November 20, 2018 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emulator - add support for app insights service configuration
4 participants