A needs-mapping statement in a multi-file batch used to live in a single global slot (layoutMapperStore), so mapping the first of several such statements silently lost the rest. Each one is now a placeholder document in extractionStore's own documents list (with a pendingMapping field carrying its file/fingerprint/candidate data), reachable via DocumentNavBar and a per-document "Map now" reminder in TransactionsTable, with a clickable notice banner linking straight to each queued statement. Also makes this survive a reload: a needs-mapping placeholder is now saved to PocketBase (documentsService.savePendingMappingDocument, pb_migrations/12 relaxes documents.result to optional and adds the pending* fields) instead of living only in memory, and useDocuments.js reconstructs it as a placeholder on load. Includes the confirm-before- remapping step for correcting an already-successful document, and the delete-flow guard for a placeholder with no PocketBase id yet. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
README.md
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.