-
Notifications
You must be signed in to change notification settings - Fork 3.3k
misc: Add Cursor IDE to Cypress recognized file editors #31691
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
Conversation
cypress
|
Project |
cypress
|
Branch Review |
expand-ide-recognition
|
Run status |
|
Run duration | 18m 58s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
13
|
|
1232
|
|
0
|
|
32159
|
View all changes introduced in this branch ↗︎ |
UI Coverage
45.83%
|
|
---|---|
|
190
|
|
165
|
Accessibility
92.74%
|
|
---|---|
|
3 critical
9 serious
2 moderate
2 minor
|
|
697
|
@@ -95,7 +95,7 @@ const icons: Record<string, FunctionalComponent<SVGAttributes, {}>> = { | |||
const customEditor = { id: 'custom', icon: Terminal, name: 'Custom', binary: 'custom' } | |||
|
|||
const editorOptions = computed(() => { | |||
const editors = props.gql.localSettings.availableEditors?.map((x) => ({ ...x, icon: icons[x.id] })) || [] | |||
const editors = props.gql.localSettings.availableEditors?.map((x) => ({ ...x, icon: icons[x.id] ?? icons['custom'] })) || [] |
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.
Is it not possible to utilize a Cursor icon?
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 couldn't find one in the icon library that we're currently using. It just doesn't seem worth the effort to track down and get in. The icons in our vue components are pretty gnarly.
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
I realized Cypress doesn't look for Cursor IDE when selecting an IDE to open files with - and didn't want to find the Application's install path. So I added Cursor as supported.
I couldn't find a logo for cursor that was within our existing icon dependency, so I just defaulted to a generic icon which I think is better than notthing.
Steps to test
yarn cypress:open
with yourpreferredEditorBinary
cleared from your__global__
preferences.How has the user experience changed?
Before
After
PR Tasks
cypress-documentation
?type definitions
?