Remove PDF booking-sheet import and dead code #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The "Import from Booking Sheet" PDF pre-fill on the new booking page is no longer needed now that all historical bookings have been migrated. Removed
PdfImportButton, theparse-pdfroute, and its parser-only helpers (kept the two shared date-display helpers still used elsewhere).Also cleaned up while in there:
BookingRowcomponent (never imported anywhere)src/libpdf-parseandpdf2picnpm packages — neither was actually imported anywhere, even by the deleted route, which shelled out toghostscriptdirectlyvitest.config.tsto.mtsto fix a Vite config-loader ESM/CommonJS warningVerified: build clean, lint clean (0 errors, 0 unused
eslint-disabledirectives via--report-unused-disable-directives), 174/174 tests passing, and confirmed live in a running dev server that the import button is gone from/bookings/newwhile the rest of the form still renders correctly.