Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jan 29, 2026

Summary

When attempting to select text inside Vue node Markdown widget's textarea (edit mode), the node would drag instead of text being selected.

Root cause: WidgetMarkdown.vue's Textarea only had @click.stop and @keydown.stop, but was missing pointer event modifiers. The pointerdown event bubbled up to LGraphNode.vue which initiated node drag.

Fix: Add @pointerdown.capture.stop, @pointermove.capture.stop, and @pointerup.capture.stop to match the pattern used in WidgetTextarea.vue.

┆Issue is synchronized with this Notion page by Unito

…selection

When attempting to select text inside Vue node Markdown widget's textarea
(edit mode), the node would drag instead of text being selected.

Root cause: WidgetMarkdown.vue's Textarea only had @click.stop and
@keydown.stop, but was missing pointer event modifiers. The pointerdown
event bubbled up to LGraphNode.vue which initiated node drag.

Fix: Add @pointerdown.capture.stop, @pointermove.capture.stop, and
@pointerup.capture.stop to match the pattern used in WidgetTextarea.vue.

Fixes text selection in Markdown widgets for FE 1.35.9 and FE 1.37.3.

Amp-Thread-ID: https://ampcode.com/threads/T-019c082d-5d8e-7532-95d5-77163b51aabc
Co-authored-by: Amp <amp@ampcode.com>
@christian-byrne christian-byrne requested a review from a team as a code owner January 29, 2026 07:00
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 29, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 29, 2026

📝 Walkthrough

Walkthrough

This PR adds pointer event handling to the WidgetMarkdown component by adding stop-propagation modifiers to the textarea element for pointerdown, pointermove, and pointerup events. Corresponding tests verify that these events don't propagate to parent handlers.

Changes

Cohort / File(s) Summary
Pointer Event Propagation in WidgetMarkdown
src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue, src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.test.ts
Added stop-propagation modifiers (.stop.capture) for pointer events (pointerdown, pointermove, pointerup) on the textarea element in edit mode. Added three test cases to verify pointer events are contained within the textarea and do not reach parent element handlers during text selection.

Possibly related PRs

  • #7953: Modifies pointer/mouse event propagation in other vueNodes widget components (WidgetDOM, WidgetLegacy) with similar stop-propagation handlers.
  • #6834: Adds pointer-event propagation control on textarea components with similar stop/capture modifiers for pointermove and pointerup events.

Suggested reviewers

  • jtydhr88
  • AustinMroz
  • DrJKL
✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Jan 29, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/29/2026, 07:01:22 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 29, 2026

🎭 Playwright Tests: ⚠️ Passed with flaky tests

Results: 505 passed, 0 failed, 1 flaky, 8 skipped (Total: 514)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 493 / ❌ 0 / ⚠️ 1 / ⏭️ 8)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 9 / ❌ 0 / ⚠️ 0 / ⏭️ 0)

@github-actions
Copy link

Bundle Size Report

Summary

  • Raw size: 22.1 MB baseline 22.1 MB — 🔴 +60 B
  • Gzip: 4.6 MB baseline 4.6 MB — 🟢 -81 B
  • Brotli: 3.41 MB baseline 3.41 MB — 🔴 +67 B
  • Bundles: 173 current • 173 baseline • 82 added / 82 removed

Category Glance
Other 🔴 +67 B (7.05 MB) · Panels & Settings 🟢 -8 B (471 kB) · Data & Services 🔴 +1 B (2.7 MB) · Vendor & Third-Party ⚪ 0 B (10.7 MB) · Graph Workspace ⚪ 0 B (973 kB) · Views & Navigation ⚪ 0 B (80.7 kB) · + 5 more

Per-category breakdown
App Entry Points — 26 kB (baseline 26 kB) • ⚪ 0 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-BVJUuB_s.js (removed) 26 kB 🟢 -26 kB 🟢 -7.5 kB 🟢 -6.61 kB
assets/index-CuPgoDqp.js (new) 26 kB 🔴 +26 kB 🔴 +7.5 kB 🔴 +6.62 kB

Status: 1 added / 1 removed

Graph Workspace — 973 kB (baseline 973 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CHsDyyeT.js (removed) 973 kB 🟢 -973 kB 🟢 -197 kB 🟢 -148 kB
assets/GraphView-DSx6Wx0K.js (new) 973 kB 🔴 +973 kB 🔴 +197 kB 🔴 +148 kB

Status: 1 added / 1 removed

Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-2xtSSt-M.js (removed) 17.1 kB 🟢 -17.1 kB 🟢 -3.6 kB 🟢 -3.05 kB
assets/CloudSurveyView-BpdXsEKs.js (new) 17.1 kB 🔴 +17.1 kB 🔴 +3.6 kB 🔴 +3.05 kB
assets/CloudLoginView-CWoycnvF.js (removed) 11.8 kB 🟢 -11.8 kB 🟢 -3.09 kB 🟢 -2.71 kB
assets/CloudLoginView-DhVZTkCx.js (new) 11.8 kB 🔴 +11.8 kB 🔴 +3.09 kB 🔴 +2.71 kB
assets/UserCheckView-C2dziRIH.js (removed) 10.5 kB 🟢 -10.5 kB 🟢 -2.45 kB 🟢 -2.13 kB
assets/UserCheckView-DE0qVmq_.js (new) 10.5 kB 🔴 +10.5 kB 🔴 +2.45 kB 🔴 +2.13 kB
assets/CloudLayoutView-B2Bj2yn3.js (removed) 8.54 kB 🟢 -8.54 kB 🟢 -2.24 kB 🟢 -1.96 kB
assets/CloudLayoutView-ev3TY6wX.js (new) 8.54 kB 🔴 +8.54 kB 🔴 +2.24 kB 🔴 +1.95 kB
assets/CloudSignupView-BTO3SP_l.js (new) 8.18 kB 🔴 +8.18 kB 🔴 +2.33 kB 🔴 +2.02 kB
assets/CloudSignupView-DPLn5nK9.js (removed) 8.18 kB 🟢 -8.18 kB 🟢 -2.33 kB 🟢 -2.02 kB
assets/CloudForgotPasswordView-3YfghHjV.js (new) 6.26 kB 🔴 +6.26 kB 🔴 +1.93 kB 🔴 +1.69 kB
assets/CloudForgotPasswordView-DZTeGFX-.js (removed) 6.26 kB 🟢 -6.26 kB 🟢 -1.93 kB 🟢 -1.69 kB
assets/UserSelectView-BfJqB-KP.js (new) 5.28 kB 🔴 +5.28 kB 🔴 +1.76 kB 🔴 +1.57 kB
assets/UserSelectView-BshHNhs2.js (removed) 5.28 kB 🟢 -5.28 kB 🟢 -1.76 kB 🟢 -1.57 kB
assets/CloudSubscriptionRedirectView-CDJpWjkz.js (removed) 5.27 kB 🟢 -5.27 kB 🟢 -1.73 kB 🟢 -1.54 kB
assets/CloudSubscriptionRedirectView-Dj3pkiTA.js (new) 5.27 kB 🔴 +5.27 kB 🔴 +1.73 kB 🔴 +1.54 kB
assets/CloudAuthTimeoutView-BVPTVngW.js (removed) 5.24 kB 🟢 -5.24 kB 🟢 -1.71 kB 🟢 -1.48 kB
assets/CloudAuthTimeoutView-CVQBXZDA.js (new) 5.24 kB 🔴 +5.24 kB 🔴 +1.71 kB 🔴 +1.48 kB
assets/CloudSorryContactSupportView-n5f-fGMz.js 1.97 kB 1.97 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/layout-V93lMUpe.js 500 B 500 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 removed

Panels & Settings — 471 kB (baseline 471 kB) • 🟢 -8 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WorkspacePanel-CoJFyRXy.js (removed) 29.8 kB 🟢 -29.8 kB 🟢 -5.89 kB 🟢 -5.13 kB
assets/WorkspacePanel-DrDwRofb.js (new) 29.8 kB 🔴 +29.8 kB 🔴 +5.89 kB 🔴 +5.14 kB
assets/LegacyCreditsPanel-BPXqxFt5.js (new) 23.8 kB 🔴 +23.8 kB 🔴 +5.94 kB 🔴 +5.23 kB
assets/LegacyCreditsPanel-CLEBpbnL.js (removed) 23.8 kB 🟢 -23.8 kB 🟢 -5.95 kB 🟢 -5.23 kB
assets/SubscriptionPanel-BVCRp4P-.js (removed) 21 kB 🟢 -21 kB 🟢 -5.05 kB 🟢 -4.46 kB
assets/SubscriptionPanel-CeQwhydv.js (new) 21 kB 🔴 +21 kB 🔴 +5.04 kB 🔴 +4.45 kB
assets/KeybindingPanel-Dd1SuLqX.js (new) 14.2 kB 🔴 +14.2 kB 🔴 +3.73 kB 🔴 +3.3 kB
assets/KeybindingPanel-DNWWZFHV.js (removed) 14.2 kB 🟢 -14.2 kB 🟢 -3.74 kB 🟢 -3.31 kB
assets/AboutPanel-Bp6r-4a8.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.68 kB 🟢 -2.42 kB
assets/AboutPanel-C_G177tt.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.67 kB 🔴 +2.42 kB
assets/ExtensionPanel-BWNXgvTb.js (removed) 10.2 kB 🟢 -10.2 kB 🟢 -2.71 kB 🟢 -2.4 kB
assets/ExtensionPanel-CNQIXQIF.js (new) 10.2 kB 🔴 +10.2 kB 🔴 +2.71 kB 🔴 +2.4 kB
assets/ServerConfigPanel-C6hhRy8s.js (removed) 7.23 kB 🟢 -7.23 kB 🟢 -2.16 kB 🟢 -1.94 kB
assets/ServerConfigPanel-CbDu2IHh.js (new) 7.23 kB 🔴 +7.23 kB 🔴 +2.16 kB 🔴 +1.94 kB
assets/UserPanel-CiiFi_on.js (new) 6.58 kB 🔴 +6.58 kB 🔴 +1.9 kB 🔴 +1.67 kB
assets/UserPanel-OFZYh-OR.js (removed) 6.58 kB 🟢 -6.58 kB 🟢 -1.91 kB 🟢 -1.67 kB
assets/refreshRemoteConfig-CBQSgohe.js (removed) 1.31 kB 🟢 -1.31 kB 🟢 -570 B 🟢 -495 B
assets/refreshRemoteConfig-DGS8ocro.js (new) 1.31 kB 🔴 +1.31 kB 🔴 +571 B 🔴 +497 B
assets/config-CzWba9Od.js (removed) 1.16 kB 🟢 -1.16 kB 🟢 -610 B 🟢 -536 B
assets/config-aPbpM2Ut.js (new) 1.15 kB 🔴 +1.15 kB 🔴 +602 B 🔴 +532 B
assets/cloudRemoteConfig-DsbUjEeT.js (new) 1.11 kB 🔴 +1.11 kB 🔴 +508 B 🔴 +447 B
assets/cloudRemoteConfig-qImWfL_3.js (removed) 1.11 kB 🟢 -1.11 kB 🟢 -511 B 🟢 -435 B
assets/refreshRemoteConfig-BGwdTkFu.js (new) 169 B 🔴 +169 B 🔴 +108 B 🔴 +106 B
assets/refreshRemoteConfig-CTXIWmwi.js (removed) 169 B 🟢 -169 B 🟢 -108 B 🟢 -104 B
assets/remoteConfig-B0mlVvm7.js 788 B 788 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-2UNjEj6k.js 32.9 kB 32.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-B2OMGvh7.js 31.2 kB 31.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BcujOfpn.js 29.6 kB 29.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BI09_t23.js 29.4 kB 29.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BKamuseh.js 25.8 kB 25.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BlTun9tZ.js 26.4 kB 26.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CZ62uO3e.js 30.2 kB 30.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DaK-NByz.js 35.2 kB 35.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DaS3cSXp.js 39.4 kB 39.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DWbMuaAa.js 32 kB 32 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-S7pA60Hj.js 30.4 kB 30.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 12 added / 12 removed

User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 B

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/auth-CiIvyvbp.js (new) 3.54 kB 🔴 +3.54 kB 🔴 +1.24 kB 🔴 +1.05 kB
assets/auth-D3tjR-T_.js (removed) 3.54 kB 🟢 -3.54 kB 🟢 -1.24 kB 🟢 -1.05 kB
assets/firebaseAuthStore-CkrIgFsF.js (removed) 217 B 🟢 -217 B 🟢 -136 B 🟢 -122 B
assets/firebaseAuthStore-DOY0heki.js (new) 217 B 🔴 +217 B 🔴 +136 B 🔴 +119 B
assets/auth-CPZW28Rx.js (removed) 178 B 🟢 -178 B 🟢 -142 B 🟢 -130 B
assets/auth-D1kq9qjl.js (new) 178 B 🔴 +178 B 🔴 +141 B 🔴 +131 B

Status: 3 added / 3 removed

Editors & Dialogs — 2.89 kB (baseline 2.89 kB) • ⚪ 0 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useSubscriptionDialog-BA6xtVuK.js (new) 2.71 kB 🔴 +2.71 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/useSubscriptionDialog-BXP-FGAA.js (removed) 2.71 kB 🟢 -2.71 kB 🟢 -1.29 kB 🟢 -1.14 kB
assets/useSubscriptionDialog-BFC_EHGo.js (removed) 179 B 🟢 -179 B 🟢 -110 B 🟢 -98 B
assets/useSubscriptionDialog-Cu-ekYgF.js (new) 179 B 🔴 +179 B 🔴 +110 B 🔴 +102 B

Status: 2 added / 2 removed

UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-DNOLF-gM.js (new) 9.52 kB 🔴 +9.52 kB 🔴 +2.68 kB 🔴 +2.4 kB
assets/ComfyQueueButton-n5ifMeWO.js (removed) 9.52 kB 🟢 -9.52 kB 🟢 -2.69 kB 🟢 -2.41 kB
assets/SubscribeButton-BCOBiwg9.js (new) 4.63 kB 🔴 +4.63 kB 🔴 +1.57 kB 🔴 +1.39 kB
assets/SubscribeButton-SvYhVUhB.js (removed) 4.63 kB 🟢 -4.63 kB 🟢 -1.57 kB 🟢 -1.39 kB
assets/cloudFeedbackTopbarButton-C24DGp04.js (new) 1.24 kB 🔴 +1.24 kB 🔴 +674 B 🔴 +573 B
assets/cloudFeedbackTopbarButton-DJwcSK83.js (removed) 1.24 kB 🟢 -1.24 kB 🟢 -675 B 🟢 -573 B
assets/ComfyQueueButton-77O9jmqM.js (new) 181 B 🔴 +181 B 🔴 +118 B 🔴 +107 B
assets/ComfyQueueButton-ChnE_40j.js (removed) 181 B 🟢 -181 B 🟢 -118 B 🟢 -106 B
assets/Button-Bb_i0j7c.js 3.82 kB 3.82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/CloudBadge-XMwjdY2I.js 1.85 kB 1.85 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/TopbarBadge-qACg_vGT.js 8.36 kB 8.36 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/UserAvatar-D80lITos.js 1.73 kB 1.73 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-DSv9NFvF.js 2.41 kB 2.41 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 4 added / 4 removed

Data & Services — 2.7 MB (baseline 2.7 MB) • 🔴 +1 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/dialogService-BE3v3V-g.js (removed) 2 MB 🟢 -2 MB 🟢 -424 kB 🟢 -323 kB
assets/dialogService-CecItRDW.js (new) 2 MB 🔴 +2 MB 🔴 +424 kB 🔴 +323 kB
assets/api-B1-dwnb0.js (new) 673 kB 🔴 +673 kB 🔴 +149 kB 🔴 +118 kB
assets/api-MTVv-mT6.js (removed) 673 kB 🟢 -673 kB 🟢 -149 kB 🟢 -118 kB
assets/releaseStore-C4dFOprI.js (new) 8.91 kB 🔴 +8.91 kB 🔴 +2.4 kB 🔴 +2.12 kB
assets/releaseStore-GVijsrKT.js (removed) 8.91 kB 🟢 -8.91 kB 🟢 -2.4 kB 🟢 -2.12 kB
assets/keybindingService-DKqd39bQ.js (removed) 6.78 kB 🟢 -6.78 kB 🟢 -1.74 kB 🟢 -1.52 kB
assets/keybindingService-DrginrN8.js (new) 6.78 kB 🔴 +6.78 kB 🔴 +1.74 kB 🔴 +1.52 kB
assets/bootstrapStore-BM8VqcJB.js (removed) 2.69 kB 🟢 -2.69 kB 🟢 -1.03 kB 🟢 -960 B
assets/bootstrapStore-D3Vs9WJj.js (new) 2.69 kB 🔴 +2.69 kB 🔴 +1.03 kB 🔴 +961 B
assets/userStore-BdMype0U.js (removed) 2.16 kB 🟢 -2.16 kB 🟢 -809 B 🟢 -726 B
assets/userStore-BuO4aNZD.js (new) 2.16 kB 🔴 +2.16 kB 🔴 +810 B 🔴 +725 B
assets/audioService-CfQtcLz9.js (new) 2.03 kB 🔴 +2.03 kB 🔴 +930 B 🔴 +815 B
assets/audioService-DL9SDzO4.js (removed) 2.03 kB 🟢 -2.03 kB 🟢 -931 B 🟢 -809 B
assets/releaseStore-DBjDXHMC.js (removed) 140 B 🟢 -140 B 🟢 -106 B 🟢 -107 B
assets/releaseStore-x1VnwI1a.js (new) 140 B 🔴 +140 B 🔴 +106 B 🔴 +107 B
assets/serverConfigStore-DOoqLe5c.js 2.64 kB 2.64 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 8 added / 8 removed

Utilities & Hooks — 25.3 kB (baseline 25.3 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useErrorHandling-CwkrSN2V.js (removed) 5.21 kB 🟢 -5.21 kB 🟢 -1.53 kB 🟢 -1.35 kB
assets/useErrorHandling-LJPjXpr7.js (new) 5.21 kB 🔴 +5.21 kB 🔴 +1.53 kB 🔴 +1.34 kB
assets/useWorkspaceUI-DKockH6W.js (removed) 3.42 kB 🟢 -3.42 kB 🟢 -977 B 🟢 -836 B
assets/useWorkspaceUI-DZvYGYXt.js (new) 3.42 kB 🔴 +3.42 kB 🔴 +976 B 🔴 +836 B
assets/useSubscriptionActions-CqD7e1hm.js (removed) 2.22 kB 🟢 -2.22 kB 🟢 -871 B 🟢 -761 B
assets/useSubscriptionActions-DSpPGtVm.js (new) 2.22 kB 🔴 +2.22 kB 🔴 +869 B 🔴 +761 B
assets/subscriptionCheckoutUtil-CHnlPx5C.js (new) 2.03 kB 🔴 +2.03 kB 🔴 +870 B 🔴 +762 B
assets/subscriptionCheckoutUtil-Dhj4l5Az.js (removed) 2.03 kB 🟢 -2.03 kB 🟢 -871 B 🟢 -764 B
assets/useSubscriptionCredits-BQGzQxfN.js (new) 1.39 kB 🔴 +1.39 kB 🔴 +599 B 🔴 +530 B
assets/useSubscriptionCredits-TsKeMLHF.js (removed) 1.39 kB 🟢 -1.39 kB 🟢 -600 B 🟢 -530 B
assets/audioUtils-Bhp5WYO2.js (removed) 970 B 🟢 -970 B 🟢 -549 B 🟢 -458 B
assets/audioUtils-P4AeHUy4.js (new) 970 B 🔴 +970 B 🔴 +547 B 🔴 +454 B
assets/useCurrentUser-BAeLqaT_.js (new) 145 B 🔴 +145 B 🔴 +114 B 🔴 +102 B
assets/useCurrentUser-CTnI7mpc.js (removed) 145 B 🟢 -145 B 🟢 -114 B 🟢 -105 B
assets/_plugin-vue_export-helper-DuK_Fly3.js 467 B 467 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/colorUtil-GMAsfHxw.js 7.2 kB 7.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/markdownRendererUtil-ivqHoiOs.js 1.78 kB 1.78 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/tailwindUtil-CJjrIEVR.js 488 B 488 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 7 added / 7 removed

Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-DHGfk3hn.js 408 kB 408 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-jpGqhHNG.js 4.1 MB 4.1 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-4Jj8eU28.js 3.04 MB 3.04 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-reka-ui-aCG649nF.js 263 kB 263 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-CERwhPwK.js 1.83 MB 1.83 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-BxrEVL6s.js 650 kB 650 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-Dwii0E-t.js 13.6 kB 13.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-IX6P8SWv.js 398 kB 398 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 7.05 MB (baseline 7.05 MB) • 🔴 +67 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-Dcj02HZw.js (removed) 180 kB 🟢 -180 kB 🟢 -43.4 kB 🟢 -36.2 kB
assets/core-CkIA_P_i.js (new) 180 kB 🔴 +180 kB 🔴 +43.3 kB 🔴 +36.2 kB
assets/WidgetSelect-B5RNDuCf.js (removed) 51 kB 🟢 -51 kB 🟢 -11.3 kB 🟢 -9.84 kB
assets/WidgetSelect-oml-KpAL.js (new) 51 kB 🔴 +51 kB 🔴 +11.2 kB 🔴 +9.82 kB
assets/Load3DControls-DjKI6DDW.js (new) 35.9 kB 🔴 +35.9 kB 🔴 +5.87 kB 🔴 +5.08 kB
assets/Load3DControls-yvd8sCk0.js (removed) 35.9 kB 🟢 -35.9 kB 🟢 -5.86 kB 🟢 -5.08 kB
assets/SubscriptionRequiredDialogContent-1DQumFEB.js (removed) 28.7 kB 🟢 -28.7 kB 🟢 -6.79 kB 🟢 -5.91 kB
assets/SubscriptionRequiredDialogContent-D_23GJiy.js (new) 28.7 kB 🔴 +28.7 kB 🔴 +6.79 kB 🔴 +5.92 kB
assets/CurrentUserPopoverWorkspace-CK8KO7A2.js (removed) 22.2 kB 🟢 -22.2 kB 🟢 -5 kB 🟢 -4.43 kB
assets/CurrentUserPopoverWorkspace-DeJ1JRVN.js (new) 22.2 kB 🔴 +22.2 kB 🔴 +4.99 kB 🔴 +4.43 kB
assets/Load3D-D0jXwoQa.js (new) 19.2 kB 🔴 +19.2 kB 🔴 +4.37 kB 🔴 +3.84 kB
assets/Load3D-DnTXpY9C.js (removed) 19.2 kB 🟢 -19.2 kB 🟢 -4.37 kB 🟢 -3.85 kB
assets/WidgetRecordAudio-BKS3Hdo8.js (removed) 18.3 kB 🟢 -18.3 kB 🟢 -4.97 kB 🟢 -4.44 kB
assets/WidgetRecordAudio-Crm2CTF1.js (new) 18.3 kB 🔴 +18.3 kB 🔴 +4.97 kB 🔴 +4.44 kB
assets/WidgetInputNumber-CkxBB5UT.js (new) 18.3 kB 🔴 +18.3 kB 🔴 +4.51 kB 🔴 +4.02 kB
assets/WidgetInputNumber-p5_yFNe3.js (removed) 18.3 kB 🟢 -18.3 kB 🟢 -4.51 kB 🟢 -4.01 kB
assets/SubscriptionPanelContentWorkspace-Bb9hYDg4.js (removed) 18.2 kB 🟢 -18.2 kB 🟢 -4.47 kB 🟢 -3.89 kB
assets/SubscriptionPanelContentWorkspace-CBHAADtk.js (new) 18.2 kB 🔴 +18.2 kB 🔴 +4.47 kB 🔴 +3.9 kB
assets/WidgetImageCrop-BBuiQOTv.js (removed) 17.1 kB 🟢 -17.1 kB 🟢 -4.14 kB 🟢 -3.62 kB
assets/WidgetImageCrop-VVUVGZ_f.js (new) 17.1 kB 🔴 +17.1 kB 🔴 +4.14 kB 🔴 +3.63 kB
assets/PanelTemplate-CCvehrtv.js (new) 16.2 kB 🔴 +16.2 kB 🔴 +5.45 kB 🔴 +4.8 kB
assets/PanelTemplate-CIWcL3nO.js (removed) 16.2 kB 🟢 -16.2 kB 🟢 -5.45 kB 🟢 -4.8 kB
assets/AudioPreviewPlayer-CGMUtzk_.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.98 kB 🟢 -2.66 kB
assets/AudioPreviewPlayer-Dth9yAt9.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.97 kB 🔴 +2.65 kB
assets/InviteMemberDialogContent-Eud5KVLo.js (removed) 8.36 kB 🟢 -8.36 kB 🟢 -2.5 kB 🟢 -2.17 kB
assets/InviteMemberDialogContent-nAf8ivAg.js (new) 8.36 kB 🔴 +8.36 kB 🔴 +2.5 kB 🔴 +2.17 kB
assets/WidgetWithControl-BtOyi197.js (removed) 8.07 kB 🟢 -8.07 kB 🟢 -2.68 kB 🟢 -2.4 kB
assets/WidgetWithControl-T93j1x4D.js (new) 8.07 kB 🔴 +8.07 kB 🔴 +2.68 kB 🔴 +2.42 kB
assets/CreateWorkspaceDialogContent-CqANOaCU.js (removed) 5.93 kB 🟢 -5.93 kB 🟢 -1.93 kB 🟢 -1.69 kB
assets/CreateWorkspaceDialogContent-eFKE-Soa.js (new) 5.93 kB 🔴 +5.93 kB 🔴 +1.93 kB 🔴 +1.68 kB
assets/EditWorkspaceDialogContent-CaYb8soQ.js (new) 5.7 kB 🔴 +5.7 kB 🔴 +1.88 kB 🔴 +1.64 kB
assets/EditWorkspaceDialogContent-iCatc41P.js (removed) 5.7 kB 🟢 -5.7 kB 🟢 -1.88 kB 🟢 -1.64 kB
assets/ValueControlPopover-CZZGaujh.js (new) 5.17 kB 🔴 +5.17 kB 🔴 +1.69 kB 🔴 +1.5 kB
assets/ValueControlPopover-Ww2u3u2W.js (removed) 5.17 kB 🟢 -5.17 kB 🟢 -1.68 kB 🟢 -1.49 kB
assets/DeleteWorkspaceDialogContent-CBDDffuE.js (removed) 4.59 kB 🟢 -4.59 kB 🟢 -1.56 kB 🟢 -1.35 kB
assets/DeleteWorkspaceDialogContent-DRpdx0DB.js (new) 4.59 kB 🔴 +4.59 kB 🔴 +1.56 kB 🔴 +1.35 kB
assets/LeaveWorkspaceDialogContent-CmzVmww0.js (removed) 4.41 kB 🟢 -4.41 kB 🟢 -1.5 kB 🟢 -1.31 kB
assets/LeaveWorkspaceDialogContent-vKXvwMdu.js (new) 4.41 kB 🔴 +4.41 kB 🔴 +1.5 kB 🔴 +1.31 kB
assets/RemoveMemberDialogContent-BdIgqp5s.js (removed) 4.38 kB 🟢 -4.38 kB 🟢 -1.45 kB 🟢 -1.26 kB
assets/RemoveMemberDialogContent-BjTFYaM1.js (new) 4.38 kB 🔴 +4.38 kB 🔴 +1.45 kB 🔴 +1.28 kB
assets/RevokeInviteDialogContent-BqnBqSEl.js (removed) 4.29 kB 🟢 -4.29 kB 🟢 -1.47 kB 🟢 -1.29 kB
assets/RevokeInviteDialogContent-D-w5Bi2h.js (new) 4.29 kB 🔴 +4.29 kB 🔴 +1.47 kB 🔴 +1.28 kB
assets/WidgetMarkdown-a8bZhyc5.js (new) 3.49 kB 🔴 +3.49 kB 🔴 +1.32 kB 🔴 +1.16 kB
assets/WidgetMarkdown-C95PPn5g.js (removed) 3.22 kB 🟢 -3.22 kB 🟢 -1.28 kB 🟢 -1.13 kB
assets/GlobalToast-CrLjC6rG.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.1 kB 🟢 -946 B
assets/GlobalToast-D2rjgIue.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.09 kB 🔴 +941 B
assets/SubscribeToRun-BWyqshfh.js (new) 2.96 kB 🔴 +2.96 kB 🔴 +1.15 kB 🔴 +1.01 kB
assets/SubscribeToRun-OktuPD0m.js (removed) 2.96 kB 🟢 -2.96 kB 🟢 -1.15 kB 🟢 -1.01 kB
assets/cloudSessionCookie-B0Q8W1Lx.js (new) 2.94 kB 🔴 +2.94 kB 🔴 +929 B 🔴 +806 B
assets/cloudSessionCookie-D3HTZUtR.js (removed) 2.94 kB 🟢 -2.94 kB 🟢 -929 B 🟢 -802 B
assets/BaseViewTemplate-BpBRqR5l.js (removed) 2.42 kB 🟢 -2.42 kB 🟢 -1.04 kB 🟢 -934 B
assets/BaseViewTemplate-xCpLMJI2.js (new) 2.42 kB 🔴 +2.42 kB 🔴 +1.04 kB 🔴 +945 B
assets/CloudRunButtonWrapper-Dn8TYfE5.js (new) 1.79 kB 🔴 +1.79 kB 🔴 +645 B 🔴 +563 B
assets/CloudRunButtonWrapper-Rd0NyIBN.js (removed) 1.79 kB 🟢 -1.79 kB 🟢 -644 B 🟢 -606 B
assets/cloudBadges-BVBZfiTX.js (removed) 1.08 kB 🟢 -1.08 kB 🟢 -536 B 🟢 -478 B
assets/cloudBadges-DQ5GGmGw.js (new) 1.08 kB 🔴 +1.08 kB 🔴 +537 B 🔴 +497 B
assets/graphHasMissingNodes-BNo7ov0t.js (new) 1.06 kB 🔴 +1.06 kB 🔴 +461 B 🔴 +429 B
assets/graphHasMissingNodes-pDojA8oF.js (removed) 1.06 kB 🟢 -1.06 kB 🟢 -460 B 🟢 -411 B
assets/cloudSubscription-D18JsdPE.js (new) 976 B 🔴 +976 B 🔴 +465 B 🔴 +398 B
assets/cloudSubscription-IcRAlcZI.js (removed) 976 B 🟢 -976 B 🟢 -466 B 🟢 -400 B
assets/nightlyBadges-D0RwAAs4.js (new) 595 B 🔴 +595 B 🔴 +355 B 🔴 +310 B
assets/nightlyBadges-phzKTFeV.js (removed) 595 B 🟢 -595 B 🟢 -355 B 🟢 -310 B
assets/SubscriptionPanelContentWorkspace-BeB-e30i.js (new) 266 B 🔴 +266 B 🔴 +136 B 🔴 +118 B
assets/SubscriptionPanelContentWorkspace-Cj6TPyvN.js (removed) 266 B 🟢 -266 B 🟢 -136 B 🟢 -128 B
assets/WidgetInputNumber-BnmeywBI.js (new) 186 B 🔴 +186 B 🔴 +119 B 🔴 +111 B
assets/WidgetInputNumber-DzWy3Hjq.js (removed) 186 B 🟢 -186 B 🟢 -119 B 🟢 -111 B
assets/WidgetLegacy-CdTKRm94.js (new) 164 B 🔴 +164 B 🔴 +125 B 🔴 +112 B
assets/WidgetLegacy-LZkXGEkR.js (removed) 164 B 🟢 -164 B 🟢 -125 B 🟢 -105 B
assets/Load3D-Bj4Qx2V6.js (removed) 131 B 🟢 -131 B 🟢 -107 B 🟢 -110 B
assets/Load3D-EZZPGbAd.js (new) 131 B 🔴 +131 B 🔴 +107 B 🔴 +119 B
assets/auto-DWs2ctGL.js 1.73 kB 1.73 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BEw5ErI4.js 18.5 kB 18.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BGeHkplA.js 17.9 kB 17.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BV0l36Iz.js 17.2 kB 17.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-C_Y3D6Cn.js 17.8 kB 17.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-C6piRza5.js 19.3 kB 19.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-Cf8Zq1td.js 18.8 kB 18.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CiziP3Xs.js 18 kB 18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-D1595tOr.js 19.3 kB 19.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DXauvccL.js 20.6 kB 20.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-P5QCEfZc.js 18 kB 18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-WbYP_D61.js 17 kB 17 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/i18n-BfSNaAqr.js 188 B 188 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/i18n-CU81Mahr.js 496 kB 496 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/LazyImage-DHwPdKGO.js 14.1 kB 14.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-12Ugs8uH.js 113 kB 113 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-bK51E1AF.js 133 kB 133 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BpNRRXRJ.js 151 kB 151 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-c-Kg1DWL.js 126 kB 126 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C16qe5Pa.js 144 kB 144 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C2P63O3F.js 126 kB 126 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C5b27iBR.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CcswxyNG.js 173 kB 173 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-D6eu0Wen.js 128 kB 128 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DbxHumst.js 130 kB 130 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DKTrxQrQ.js 155 kB 155 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/Media3DTop-DUmUhXD6.js 2.38 kB 2.38 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-CD66_Mw_.js 2 kB 2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-Bqe7yvm_.js 2.34 kB 2.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-De3MzVmp.js 2.82 kB 2.82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/mixpanel.module-CC2-PIpB.js 143 B 143 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-B0UaQKt6.js 363 kB 363 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-B68z80AD.js 413 kB 413 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bg1UEeRw.js 448 kB 448 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CicFSATk.js 339 kB 339 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CinCueZ7.js 373 kB 373 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DgzjkU5p.js 366 kB 366 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DKHHBXVW.js 369 kB 369 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dn1Haq99.js 342 kB 342 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DxR-7ogK.js 383 kB 383 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-qCfy7PeV.js 412 kB 412 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-xDY-sSQw.js 369 kB 369 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/OBJLoader2WorkerModule-DTMpvldF.js 109 kB 109 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/previousFullPath-CmezY7As.js 838 B 838 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/rolldown-runtime-cVp-94Rc.js 1.96 kB 1.96 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/Slider-D4lsf6Ob.js 4.21 kB 4.21 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widget-BJiJuR5i.js 518 B 518 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetBoundingBox-CUtab2CB.js 4.71 kB 4.71 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetBoundingBox-D79nBMxa.js 186 B 186 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-CiXfBVBH.js 2.79 kB 2.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetColorPicker-BxNqMlFv.js 3.71 kB 3.71 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetGalleria-DDD96zwa.js 4.57 kB 4.57 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-A6pZMGtc.js 3.79 kB 3.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetInputText-DSMUKRnt.js 2.58 kB 2.58 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetLayoutField-MDImyvc3.js 2.7 kB 2.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-ERx8czR8.js 1.31 kB 1.31 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetTextarea-CV3BoahN.js 3.87 kB 3.87 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetToggleSwitch-ZdaYkxkD.js 3.26 kB 3.26 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetTypes-KPj-zM0O.js 573 B 573 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 35 added / 35 removed

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.test.ts`:
- Around line 211-260: The tests use the clickToEdit helper which triggers a
single click but WidgetMarkdown enters edit mode on `@dblclick`, so update the
tests to actually enter edit mode: either change the clickToEdit helper to
trigger a 'dblclick' (or call wrapper.find(...).trigger('dblclick') directly in
each test) and then assert the textarea is visible (since the component uses
v-show) before firing pointer events; reference the clickToEdit helper and the
component's `@dblclick` handler in WidgetMarkdown.vue when making the change.

Comment on lines +211 to +260
it('stops pointerdown propagation to prevent node drag during text selection', async () => {
const widget = createMockWidget('# Test')
const wrapper = mountComponent(widget, '# Test')

await clickToEdit(wrapper)

const textarea = wrapper.find('textarea')
expect(textarea.exists()).toBe(true)

const parentPointerdownHandler = vi.fn()
const wrapperEl = wrapper.element as HTMLElement
wrapperEl.addEventListener('pointerdown', parentPointerdownHandler)

await textarea.trigger('pointerdown')

expect(parentPointerdownHandler).not.toHaveBeenCalled()
})

it('stops pointermove propagation during text selection', async () => {
const widget = createMockWidget('# Test')
const wrapper = mountComponent(widget, '# Test')

await clickToEdit(wrapper)

const textarea = wrapper.find('textarea')

const parentPointermoveHandler = vi.fn()
const wrapperEl = wrapper.element as HTMLElement
wrapperEl.addEventListener('pointermove', parentPointermoveHandler)

await textarea.trigger('pointermove')

expect(parentPointermoveHandler).not.toHaveBeenCalled()
})

it('stops pointerup propagation after text selection', async () => {
const widget = createMockWidget('# Test')
const wrapper = mountComponent(widget, '# Test')

await clickToEdit(wrapper)

const textarea = wrapper.find('textarea')

const parentPointerupHandler = vi.fn()
const wrapperEl = wrapper.element as HTMLElement
wrapperEl.addEventListener('pointerup', parentPointerupHandler)

await textarea.trigger('pointerup')

expect(parentPointerupHandler).not.toHaveBeenCalled()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Ensure pointer-propagation tests actually enter edit mode (dblclick).
The component enters edit mode via @dblclick (Line 2 in WidgetMarkdown.vue), but these tests call clickToEdit which triggers a single click. With v-show, the textarea still exists when not editing, so the tests can pass without exercising edit-mode behavior.

Consider switching the helper to trigger dblclick (and optionally assert visibility) so the new tests validate the real edit path.

Suggested update (outside this hunk)
const clickToEdit = async (wrapper: ReturnType<typeof mount>) => {
  const container = wrapper.find('.widget-markdown')
- await container.trigger('click')
+ await container.trigger('dblclick')
  await nextTick()
  return container
}
🤖 Prompt for AI Agents
In `@src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.test.ts`
around lines 211 - 260, The tests use the clickToEdit helper which triggers a
single click but WidgetMarkdown enters edit mode on `@dblclick`, so update the
tests to actually enter edit mode: either change the clickToEdit helper to
trigger a 'dblclick' (or call wrapper.find(...).trigger('dblclick') directly in
each test) and then assert the textarea is visible (since the component uses
v-show) before firing pointer events; reference the clickToEdit helper and the
component's `@dblclick` handler in WidgetMarkdown.vue when making the change.

@pointerdown.capture.stop
@pointermove.capture.stop
@pointerup.capture.stop
@click.stop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're stopping pointerdown, do we also need to stop click?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the purposes of extensions / API consistency?

expect(textarea.exists()).toBe(true)

const parentPointerdownHandler = vi.fn()
const wrapperEl = wrapper.element as HTMLElement
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd always rather an instanceof gate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid

@DrJKL DrJKL assigned christian-byrne and unassigned DrJKL Jan 29, 2026
@christian-byrne christian-byrne merged commit 0faf222 into main Jan 29, 2026
37 checks passed
@christian-byrne christian-byrne deleted the fix/vue-nodes/text-selection-drags-nodes branch January 29, 2026 07:18
@christian-byrne christian-byrne added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch core/1.38 Backport PRs for core 1.38 cloud/1.38 Backport PRs for cloud 1.38 labels Jan 29, 2026
github-actions bot pushed a commit that referenced this pull request Jan 29, 2026
…e to drag (#8413)

## Summary

When attempting to select text inside Vue node Markdown widget's
textarea (edit mode), the node would drag instead of text being
selected.

Root cause: WidgetMarkdown.vue's Textarea only had @click.stop and
@keydown.stop, but was missing pointer event modifiers. The pointerdown
event bubbled up to LGraphNode.vue which initiated node drag.

*Fix*: Add @pointerdown.capture.stop, @pointermove.capture.stop, and
@pointerup.capture.stop to match the pattern used in WidgetTextarea.vue.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8413-fix-dragging-e-g-when-selecting-text-in-Markdown-note-causes-node-to-drag-2f76d73d3650816dbf9bdf893775c3d4)
by [Unito](https://www.unito.io)

Co-authored-by: Subagent 5 <subagent@example.com>
Co-authored-by: Amp <amp@ampcode.com>
github-actions bot pushed a commit that referenced this pull request Jan 29, 2026
…e to drag (#8413)

## Summary

When attempting to select text inside Vue node Markdown widget's
textarea (edit mode), the node would drag instead of text being
selected.

Root cause: WidgetMarkdown.vue's Textarea only had @click.stop and
@keydown.stop, but was missing pointer event modifiers. The pointerdown
event bubbled up to LGraphNode.vue which initiated node drag.

*Fix*: Add @pointerdown.capture.stop, @pointermove.capture.stop, and
@pointerup.capture.stop to match the pattern used in WidgetTextarea.vue.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8413-fix-dragging-e-g-when-selecting-text-in-Markdown-note-causes-node-to-drag-2f76d73d3650816dbf9bdf893775c3d4)
by [Unito](https://www.unito.io)

Co-authored-by: Subagent 5 <subagent@example.com>
Co-authored-by: Amp <amp@ampcode.com>
@comfy-pr-bot
Copy link
Member

@christian-byrne Successfully backported to #8427

@comfy-pr-bot
Copy link
Member

@christian-byrne Successfully backported to #8428

@github-actions github-actions bot removed the needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch label Jan 29, 2026
AustinMroz pushed a commit that referenced this pull request Jan 29, 2026
…kdown note causes node to drag (#8427)

Backport of #8413 to `core/1.38`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8427-backport-core-1-38-fix-dragging-e-g-when-selecting-text-in-Markdown-note-causes-no-2f76d73d3650813e8e28c101270bc42f)
by [Unito](https://www.unito.io)

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
Co-authored-by: Subagent 5 <subagent@example.com>
Co-authored-by: Amp <amp@ampcode.com>
AustinMroz pushed a commit that referenced this pull request Jan 29, 2026
…rkdown note causes node to drag (#8428)

Backport of #8413 to `cloud/1.38`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8428-backport-cloud-1-38-fix-dragging-e-g-when-selecting-text-in-Markdown-note-causes-n-2f76d73d36508132b067e6cee1122dc8)
by [Unito](https://www.unito.io)

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
Co-authored-by: Subagent 5 <subagent@example.com>
Co-authored-by: Amp <amp@ampcode.com>
christian-byrne added a commit that referenced this pull request Jan 30, 2026
…e to drag (#8413)

## Summary

When attempting to select text inside Vue node Markdown widget's
textarea (edit mode), the node would drag instead of text being
selected.

Root cause: WidgetMarkdown.vue's Textarea only had @click.stop and
@keydown.stop, but was missing pointer event modifiers. The pointerdown
event bubbled up to LGraphNode.vue which initiated node drag.

*Fix*: Add @pointerdown.capture.stop, @pointermove.capture.stop, and
@pointerup.capture.stop to match the pattern used in WidgetTextarea.vue.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8413-fix-dragging-e-g-when-selecting-text-in-Markdown-note-causes-node-to-drag-2f76d73d3650816dbf9bdf893775c3d4)
by [Unito](https://www.unito.io)

Co-authored-by: Subagent 5 <subagent@example.com>
Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:vue-migration cloud/1.38 Backport PRs for cloud 1.38 core/1.38 Backport PRs for core 1.38 size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants