-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: openInIDE for failed debug spec #25691
Conversation
af4dcef
to
6f36895
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall functionality looks good, just some particular UI items to address.
<OpenFileInIDE | ||
v-slot="{onClick}" | ||
:file-path="specData.fullPath" | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the user opens the IDE and then returns to the app, the tooltip reshows itself. Can this be closed on click or I saw there is an auto-hide
prop for the tooltip component we are using.
Screen.Recording.2023-02-03.at.10.15.51.AM.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this is expected behavior. The tooltip shows on hover/focus, when you click back into the app the browser restores focus to the button, causing the tooltip to appear. You could probably workaround it, but I don't think the workaround would be worth the investment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one comment about the style, but the code and feature looks good. I won't block, since the comment is more style than anything else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to establish more standards on UI interactions, like for tooltips in this story, so we can build them into components, etc and not have to continuously address them in PRs. The functionality here works as defined, so not going to hold up this PR at this time.
* develop: (28 commits) chore: update changelog validation example (#25742) fix: Improve error handling around calls to `this.next` in middleware (#25702) chore: debug page tooltip distance and artifact border (#25727) fix: update newProject ref when switching between organizations in SelectCloudProjectModal (#25730) misc: Add max widths to debug page message states (#25725) chore: export types (#25714) chore: release @cypress/webpack-preprocessor-v5.16.3 chore: release @cypress/vue-v5.0.4 chore: release @cypress/grep-v3.1.4 chore: Fix flaky test (#25726) dependency(deps): update dependency debug to ^4.3.4 🌟 (#25699) feat: openInIDE for failed debug spec (#25691) test: fix flaky CT test by relying on query (#25706) test: fix flaky migration test (#25672) misc: style change for responsiveness (#25687) misc: set min widths for icons (#25684) chore(deps): update dependency markdown-it to v11.0.1 🌟 (#25698) chore: Fix flaky origin .wait() test (#25693) chore: unskip tests (#25676) chore: release @cypress/webpack-preprocessor-v5.16.2 ...
Additional details
Reuse the
OpenFileInIDE
component to launch the file if it is found locally, otherwise render the "disabled" tooltip.Steps to test
Component test in
DebugSpec.cy.tsx
and e2e test indebug.cy.ts
. I created a test-project locally with some run failures to fully test against.How has the user experience changed?
Screen.Recording.2023-02-02.at.1.05.39.PM.mov
PR Tasks
cypress-documentation
?type definitions
?