mirror of
https://github.com/BloopAI/vibe-kanban-web-companion.git
synced 2026-08-23 11:58:32 +00:00
feat: support cursor editor (#88)
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
This commit is contained in:
5
.changeset/many-lies-fold.md
Normal file
5
.changeset/many-lies-fold.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"click-to-react-component": patch
|
||||
---
|
||||
|
||||
feat: support cursor
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
.DS_Store
|
||||
.turbo
|
||||
.idea
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
[Create React App](https://create-react-app.dev/),
|
||||
& [Vite](https://github.com/vitejs/vite/tree/main/packages/plugin-react)
|
||||
that use [@babel/plugin-transform-react-jsx-source](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx-source)
|
||||
- Supports `vscode` & `vscode-insiders`' [URL handling](https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls)
|
||||
- Supports `vscode` & `vscode-insiders` & `cursor` [URL handling](https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls)
|
||||
- Automatically **tree-shaken** from `production` builds
|
||||
- Keyboard navigation in context menu (e.g. <kbd>←</kbd>, <kbd>→</kbd>, <kbd>⏎</kbd>)
|
||||
- More context & faster than using React DevTools:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export { ClickToComponent } from './ClickToComponent'
|
||||
export { ClickToComponent } from './ClickToComponent';
|
||||
|
||||
export type Editor = 'vscode' | 'vscode-insiders'
|
||||
export type Editor = 'vscode' | 'vscode-insiders' | 'cursor';
|
||||
|
||||
export type PathModifier = (path: string) => string;
|
||||
|
||||
@@ -16,4 +16,4 @@ export type Target = HTMLElement
|
||||
export type ContextMenuProps = {
|
||||
onClose?: () => void;
|
||||
pathModifier?: PathModifier;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user