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

Sidecar debugging - Milestone 0.9 #1400

Merged
merged 35 commits into from
Apr 22, 2019
Merged

Conversation

justinwilaby
Copy link
Contributor

"Sidecar" Debugger progress

@justinwilaby
Copy link
Contributor Author

image

Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

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

I'll need to give this a functional whirl, but I did have some comments.

packages/extensions/botState/src/index.ts Outdated Show resolved Hide resolved
packages/extensions/botState/src/index.ts Outdated Show resolved Hide resolved
packages/app/client/src/data/sagas/chatSagas.ts Outdated Show resolved Hide resolved
packages/app/client/src/data/sagas/chatSagas.ts Outdated Show resolved Hide resolved
packages/app/main/src/botFrameworkService.ts Outdated Show resolved Hide resolved
@justinwilaby justinwilaby force-pushed the jwilaby/auto-connect-emulator branch from 5a9590d to f02db84 Compare April 5, 2019 15:42
Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

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

I'm a little concerned that the diffing is tightly coupled to the presentation logic. It is pretty brittle at the moment. See my comment about moving the presentational logic into the extension itself.

Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

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

Can you share a screenshot of the json view with diff mode enabled?

@justinwilaby justinwilaby force-pushed the jwilaby/auto-connect-emulator branch 2 times, most recently from 89754c0 to 5a889d0 Compare April 12, 2019 20:27
@justinwilaby justinwilaby marked this pull request as ready for review April 15, 2019 20:51
@coveralls
Copy link

coveralls commented Apr 15, 2019

Pull Request Test Coverage Report for Build 2447

  • 518 of 665 (77.89%) changed or added relevant lines in 71 files are covered.
  • 21 unchanged lines in 12 files lost coverage.
  • Overall coverage increased (+1.3%) to 56.787%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/app/client/src/data/sagas/botSagas.ts 6 7 85.71%
packages/app/client/src/index.tsx 0 1 0.0%
packages/app/client/src/ui/shell/mdi/tabBar/tabBar.tsx 0 1 0.0%
packages/app/client/src/ui/shell/mdi/tabBar/tabBarContainer.ts 1 2 50.0%
packages/app/client/src/ui/shell/navBar/navBar.tsx 2 3 66.67%
packages/app/main/src/botHelpers.ts 5 6 83.33%
packages/app/shared/src/enums/index.ts 0 1 0.0%
packages/emulator/core/src/facility/conversationSet.ts 5 6 83.33%
packages/emulator/core/src/utils/activityVisitor.ts 1 2 50.0%
packages/app/client/src/extensions.ts 2 4 50.0%
Files with Coverage Reduction New Missed Lines %
packages/app/main/src/main.ts 1 0.0%
packages/app/main/src/commands/oauthCommands.ts 1 0.0%
packages/app/main/src/commands/emulatorCommands.ts 1 81.37%
packages/app/client/src/ui/shell/navBar/navBar.tsx 1 79.17%
packages/app/client/src/ui/editor/emulator/emulator.tsx 1 83.1%
packages/emulator/core/src/facility/conversation.ts 1 64.29%
packages/sdk/shared/src/utils/json2HTML.ts 1 0.0%
packages/emulator/cli/src/npmLogger.ts 1 0.0%
packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.tsx 2 85.96%
packages/emulator/core/src/directLine/middleware/startConversation.ts 2 61.9%
Totals Coverage Status
Change from base Build 2399: 1.3%
Covered Lines: 5241
Relevant Lines: 8676

💛 - Coveralls

@cwhitten cwhitten changed the title Jwilaby/auto connect emulator Sidecar debugging - Milestone 0.9 Apr 16, 2019
@justinwilaby justinwilaby dismissed a-b-r-o-w-n’s stale review April 17, 2019 16:09

Discussed waiting to move code until after release

endpointUrl: endpoint.endpoint,
userId: currentUserId,
conversationId,
// directLine: createDirectLine({
Copy link
Contributor Author

@justinwilaby justinwilaby Apr 17, 2019

Choose a reason for hiding this comment

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

placeholder to refactor createDirectLine out of emulator.tsx and into this command. Code is commented out but works in preliminary tests.

cwhitten
cwhitten previously approved these changes Apr 18, 2019
Copy link
Member

@cwhitten cwhitten left a comment

Choose a reason for hiding this comment

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

pending internal QA issues

tonyanziano and others added 7 commits April 19, 2019 14:03
* Allows injection of Conversation "mode" to support conversations started via connecting by url.

* Clean up the types

* Fix a test
* Changes to support saving a transcript for a conversation opened via url

* add tests for getTranscriptsPath

* Lint issue

* Add some additional typings

* Lint fixes
…BotFramework-Emulator into jwilaby/auto-connect-emulator
@cwhitten cwhitten merged commit ce2b783 into master Apr 22, 2019
@cwhitten cwhitten deleted the jwilaby/auto-connect-emulator branch April 22, 2019 21:50
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.

5 participants