Extract PDF import persistence#451
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR extracts the durable import persistence helpers (
Confidence Score: 5/5This is a mechanical extraction of ~80 lines from pdf-import.js into a new focused module; all logic, public exports, and window bindings are faithfully preserved with no observable behavioral change. The refactoring moves code verbatim — snapshot/rollback, refresh, remove, and rename functions are identical to their originals. Imports and re-exports are wired correctly and no logic paths were altered. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Hide internal import date validator" | Re-trigger Greptile |
Summary
pdf-import-persistence.jsfor imported-data snapshot/rollback, post-save refresh, and remove/rename entry save flowsconfirmImportlogic inpdf-import.js, but route rollback and refresh through the shared helperpdf-import.jsexports/window bindings for settings and existing callers1.8.277Validation
node --check js/pdf-import.jsnode --check js/pdf-import-persistence.jsnode tests/test-unit-import.jsnode tests/test-audit.jsnode tests/test-correctness-phase2.jsnode tests/test-image-utils.jsnode tests/test-v1-6-shipped.jsgit diff --check./run-tests.sh