From 42d6de1c775d3881f001f94cb0a64b75df8f73c5 Mon Sep 17 00:00:00 2001 From: JasonFraser Date: Tue, 13 Oct 2026 08:17:32 -0400 Subject: [PATCH] Add a confirm modal to the Move to project dropdown The dropdown worked but gave zero feedback - no confirmation, nothing visibly changed - so a successful move looked identical to a no-op (reported directly by the user). Adds a generic ConfirmModal.vue (reusable beyond this one call site) triggered on select instead of a second button next to the dropdown, per request. Switches the select from a bare :value binding to its own v-model so a cancelled move can actually revert the visible selection (a plain :value can't re-sync a ` previously used a bare +`:value` bound straight to `extractionStore.activeDocument?.project`. Switching to a +confirm-before-apply flow requires being able to REVERT the dropdown's own visible +selection when the user cancels - but a plain `:value` binding can't do that reliably, +because the browser already shows whichever option was clicked the instant the user +picks it, and Vue only re-syncs a ` is driven by its own local v-model (selectedProjectId), +// not a direct :value binding straight to the document's own project - +// a plain :value binding wouldn't let a cancelled move revert the +// dropdown's visible selection (the browser already shows the clicked +// option; Vue only re-syncs a