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: Add "Watch" tab to the debug panel #8151

Merged
merged 48 commits into from Jun 30, 2021
Merged

feat: Add "Watch" tab to the debug panel #8151

merged 48 commits into from Jun 30, 2021

Conversation

tonyanziano
Copy link
Contributor

@tonyanziano tonyanziano commented Jun 21, 2021

Description

This PR adds the Watch tab to the debugging panel.

The Watch tab allows users to observe arbitrary variables stored in the bot's different memory scopes while interacting with the bot.

Task Item

Fixes #7978

Screenshots

Bot not yet started

image

Talking to bot

image

image

Validation

image

@tonyanziano tonyanziano changed the title Add "Watch" tab to the debug panel feat: Add "Watch" tab to the debug panel Jun 21, 2021
@cypress
Copy link

cypress bot commented Jun 21, 2021



Test summary

16 0 1 0Flakiness 0


Run details

Project Composer
Status Passed
Commit 4c7fa8c
Started Jun 30, 2021 5:55 PM
Ended Jun 30, 2021 6:02 PM
Duration 07:06 💡
OS Linux Ubuntu - 20.04
Browser Electron 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

tonyanziano and others added 5 commits June 23, 2021 14:30
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
@tonyanziano
Copy link
Contributor Author

I have addressed all of Soroush's comments and also adjusted some styles that looked off from the specs. Here is the updated tab with new "not available" message and placeholder text:

watch-tab-empty

@srinaath I still can't repro bug 4 as seen in the screenshot, but I can confirm bugs 1-3 and am working to fix these.

@srinaath
Copy link
Contributor

@tonyanziano Ignore bug 4. I just realized a bot logic error which was converting the boolean to string to on the variable. So basically it was casting to "true". So we are good on that front.
Screen Shot 2021-06-28 at 3 29 02 PM

@tonyanziano
Copy link
Contributor Author

All of the bugs / issues have been fixed and styles updated to appear more like the updated designs:

watch-tab-input-padding
watch-tab-values
watch-tab-empty-state

@mewa1024
Copy link
Contributor

@tonyanziano minor thing, can the table be slightly narrower so there is 16px of space on either side? where the pink lines are:
image

@tonyanziano
Copy link
Contributor Author

@mewa1024 Fixed spacing:

table-padding-1

table-padding-2

@tonyanziano tonyanziano dismissed srinaath’s stale review June 30, 2021 19:38

Addressed requested changes

@tonyanziano tonyanziano merged commit f9cd0cd into main Jun 30, 2021
@tonyanziano tonyanziano deleted the toanzian/watch-tab branch June 30, 2021 19:38
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.

Add "Watch" as new tab to debugging pane
6 participants