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

feat: Diagnostics Page #4457

Merged
merged 26 commits into from
Nov 11, 2020
Merged

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Oct 21, 2020

Description

update diagnostics page to support mutli-bot

Task Item

closes #4338

Screenshots

diagno

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 55.35% when pulling 871d5be on lei9444:notificaitonpage into e8d0d55 on microsoft:main.

@cwhitten cwhitten added the Not Targetting Main a pull request created not against main label Oct 22, 2020
@lei9444 lei9444 changed the base branch from main to feature/bot-projects October 26, 2020 06:22
@lei9444 lei9444 changed the title feat: Notifications Page feat: Diagnostics Page Oct 26, 2020
@@ -59,7 +59,7 @@ export const TestController: React.FC<{ projectId: string }> = (props) => {
const [calloutVisible, setCalloutVisible] = useState(false);

const botActionRef = useRef(null);
const notifications = useNotifications(projectId);
const notifications = useRecoilValue(allDiagnosticsSelector);
Copy link
Contributor

Choose a reason for hiding this comment

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

This change needs to be ported over because of this. Based on which PR gets merged first we can decide who does the port.

https://github.com/microsoft/BotFramework-Composer/pull/4498/files#diff-7490c82b785dc2387b962672c0217d1aee42428e238de52d30cb660d8bb380f2

lei9444 and others added 2 commits October 29, 2020 20:03
* Update en-US.json

* bring in stuff from the draft branch

* make deletion work

* add error/warning icons

* read notification map for state

* fix type-checking and start on unit tests

* add sampleDialog and fix more tests

* add showAll

* rename to onAllSelected because it's a callback

* update unit tests

* fix onSelect handling in ProjectTree

* Update qna.test.tsx

* Update design.test.tsx

* add unit test

* fixes from PR comments

* restore multibots to tree

* fix links from project tree

* fix wrong IDs in URL

* yarn.lock rebuild

* update yarn.lock files

* fix action card links

* Update DesignPage.tsx

* fix unit test

* add unit test to ExpandableNode

* update ProjectTree unit tests

* Update ExpandableNode.tsx

* add rootProjectId to triggerApi

* fix creation and deletion bugs

* change mocks folder name

* Load design page only after skill project is loaded

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* fixes from CR

* fix more tests

* fix: handle the case when selection is not empty (microsoft#4561)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* delete fd (microsoft#4556)

Co-authored-by: Soroush <sorgh@microsoft.com>

* fix more unit tests

* revert: bf-orchestrator lib integration (microsoft#4568)

This reverts commit 006a589.

Co-authored-by: Andy Brown <asbrown002@gmail.com>

* fix test typol

* ci: remove code scanning workflow (microsoft#4569)

* fix: Can not add properties in "SetProperties" action (microsoft#4572)

* bug fix

* pr comment

* pr comments

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
Co-authored-by: zeye <zeye@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: taicchoumsft <61705609+taicchoumsft@users.noreply.github.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: LouisEugeneMSFT <66701106+LouisEugeneMSFT@users.noreply.github.com>
@lei9444 lei9444 requested a review from yeze322 as a code owner October 29, 2020 12:20
@lgtm-com
Copy link

lgtm-com bot commented Oct 30, 2020

This pull request introduces 1 alert when merging 26e26e4 into 296e2b8 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@srinaath
Copy link
Contributor

srinaath commented Nov 2, 2020

This PR is looking good. One functionality to add is on the DesignPage the errors and warnings across all bots needs to be surfaced. Once thats added we can merge it

@lei9444
Copy link
Contributor Author

lei9444 commented Nov 3, 2020

This PR is looking good. One functionality to add is on the DesignPage the errors and warnings across all bots needs to be surfaced. Once thats added we can merge it

Hi, @srinaath I have updated the warnings in the Design and added more unit tests.

srinaath
srinaath previously approved these changes Nov 9, 2020
@lei9444 lei9444 merged commit 1ee2ad0 into microsoft:feature/bot-projects Nov 11, 2020
alanlong9278 added a commit to alanlong9278/BotFramework-Composer that referenced this pull request Nov 12, 2020
* settingsPage:
  remove useless files
  Corrected types
  Support undo/redo for skill (microsoft#4754)
  fix UT
  feat: Diagnostics Page (microsoft#4457)
  set defaultLanguage as active language if active language is deleted
  fix: correct URL when switching page modes (microsoft#4736)
  fix: do not stub __dirname for node extensions (microsoft#4749)
  chore: bundle extensions (microsoft#4745)
  fix: Delete & Undo on actions with LG templates doesn't bring back the LG content (microsoft#4740)
  feat: update sdk package to 4.11.0 (microsoft#4741)
@lei9444 lei9444 deleted the notificaitonpage branch February 1, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not Targetting Main a pull request created not against main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Diagnostics Page
5 participants