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

select client certificate dialog #1011

Merged

Conversation

corinagum
Copy link
Contributor

still missing:

  • styling
  • unit tests
  • e2e hookup

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1044

  • 4 of 31 (12.9%) changed or added relevant lines in 4 files are covered.
  • 471 unchanged lines in 19 files lost coverage.
  • Overall coverage decreased (-2.8%) to 43.426%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/app/client/src/commands/uiCommands.ts 0 2 0.0%
packages/app/client/src/ui/dialogs/clientCertSelectDialog/clientCertSelectDialogContainer.tsx 2 4 50.0%
packages/app/client/src/ui/dialogs/clientCertSelectDialog/clientCertSelectDialog.tsx 0 9 0.0%
packages/emulator/core/src/utils/oauthLinkEncoder.ts 2 16 12.5%
Files with Coverage Reduction New Missed Lines %
testSetup.js 1 66.67%
packages/app/client/src/data/action/azureAuthActions.ts 1 83.33%
packages/app/client/src/data/action/endpointServiceActions.ts 1 83.33%
packages/sdk/shared/built/ipc/channel.js 1 85.71%
packages/app/client/src/ipc.ts 1 41.67%
packages/sdk/shared/built/utils/bot.js 1 94.12%
packages/app/client/src/platform/commands/commandServiceImpl.ts 1 44.44%
packages/app/shared/built/utils.js 1 53.13%
packages/app/client/src/data/editorHelpers.ts 2 0.0%
packages/app/client/src/data/action/connectedServiceActions.ts 4 50.0%
Totals Coverage Status
Change from base Build 1021: -2.8%
Covered Lines: 3171
Relevant Lines: 6528

💛 - Coveralls

@justinwilaby
Copy link
Contributor

Once this is merged into select-client-certificate, we need to get unit tests in place and perform some general cleanup.

Copy link
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

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

Approved to merge into select-client-certificate. Changes will be required before this can be merged into v4

@@ -0,0 +1,47 @@
//
Copy link
Contributor

Choose a reason for hiding this comment

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

The file extension should be .ts here

@@ -0,0 +1,81 @@
import { Certificate } from 'electron';
Copy link
Contributor

Choose a reason for hiding this comment

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

Unit tests?

@@ -133,4 +135,9 @@ export function registerCommands(commandRegistry: CommandRegistry) {
commandRegistry.registerCommand(UI.UpdateProgressIndicator, (value: ProgressIndicatorPayload) => {
store.dispatch(updateProgressIndicator(value));
});

commandRegistry.registerCommand(UI.ShowSelectCertDialog, (certs: Certificate[]) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Unit test?

@corinagum corinagum merged commit 51fb31c into select-client-certificate Oct 22, 2018
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.

None yet

4 participants