mirror of
https://github.com/BloopAI/vibe-kanban-web-companion.git
synced 2026-08-23 11:58:32 +00:00
Improve UX, prevent flicker, jump into editor seamlessly (#53)
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export function ClickToComponent({ editor = 'vscode' }) {
|
||||
const url = `${editor}://file/${path}`
|
||||
|
||||
event.preventDefault()
|
||||
window.open(url)
|
||||
window.location.assign(url)
|
||||
|
||||
setState(State.IDLE)
|
||||
}
|
||||
@@ -56,7 +56,7 @@ export function ClickToComponent({ editor = 'vscode' }) {
|
||||
function handleClose(returnValue) {
|
||||
if (returnValue) {
|
||||
const url = `${editor}://file/${returnValue}`
|
||||
window.open(url)
|
||||
window.location.assign(url)
|
||||
}
|
||||
|
||||
setState(State.IDLE)
|
||||
|
||||
Reference in New Issue
Block a user