diff --git a/app/gui2/package.json b/app/gui2/package.json index 72281f9792be0..18e96f3709af8 100644 --- a/app/gui2/package.json +++ b/app/gui2/package.json @@ -62,6 +62,7 @@ "semver": "^7.5.4", "sucrase": "^3.34.0", "vue": "^3.3.4", + "vue-react-wrapper": "^0.3.1", "ws": "^8.13.0", "y-codemirror.next": "^0.3.2", "y-protocols": "^1.0.5", diff --git a/app/gui2/src/components/GraphEditor.vue b/app/gui2/src/components/GraphEditor.vue index 4ea7340d9a153..54e5e6e78e9e7 100644 --- a/app/gui2/src/components/GraphEditor.vue +++ b/app/gui2/src/components/GraphEditor.vue @@ -268,6 +268,8 @@ const graphBindingsHandler = graphBindings.handler({ const handleClick = useDoubleClick( (e: MouseEvent) => { + console.log('click') + toast.info('click') graphBindingsHandler(e) }, () => { diff --git a/app/gui2/src/createApp.ts b/app/gui2/src/createApp.ts index 360e5f00775c5..ee4cc3279dd2c 100644 --- a/app/gui2/src/createApp.ts +++ b/app/gui2/src/createApp.ts @@ -3,7 +3,6 @@ import '@/assets/main.css' import type { ApplicationConfig } from '@/util/config' import { createPinia } from 'pinia' import { createApp } from 'vue' -import Vue3Toastify, { type ToastContainerOptions } from 'vue3-toastify' export function mountProjectApp(rootProps: { config: ApplicationConfig @@ -13,13 +12,6 @@ export function mountProjectApp(rootProps: { }) { const app = createApp(App, rootProps) app.use(createPinia()) - app.use(Vue3Toastify, { - position: 'top-center', - theme: 'light', - closeOnClick: false, - draggable: false, - toastClassName: 'text-sm leading-170 bg-frame-selected rounded-2xl backdrop-blur-3xl', - } as ToastContainerOptions) app.mount('#app') return app } diff --git a/app/gui2/stories/CodeEditor.story.vue b/app/gui2/stories/CodeEditor.story.vue index f44c4835d151f..8bb73f8f0c57d 100644 --- a/app/gui2/stories/CodeEditor.story.vue +++ b/app/gui2/stories/CodeEditor.story.vue @@ -40,6 +40,7 @@ main = responsiveDisabled autoPropsDisabled > +
diff --git a/app/gui2/stories/GraphEditor.story.vue b/app/gui2/stories/GraphEditor.story.vue index e6ba30cb13117..5ae077dd60582 100644 --- a/app/gui2/stories/GraphEditor.story.vue +++ b/app/gui2/stories/GraphEditor.story.vue @@ -1,8 +1,11 @@