Skip to content

Add Edge extension MVP for PDF-based transport autofill - #2

Open
hhhthiti wants to merge 1 commit into
mainfrom
codex/add-pdf-form-filling-extension-for-edge
Open

Add Edge extension MVP for PDF-based transport autofill#2
hhhthiti wants to merge 1 commit into
mainfrom
codex/add-pdf-form-filling-extension-for-edge

Conversation

@hhhthiti

Copy link
Copy Markdown
Owner

Motivation

  • For faster data entry on the WMS transport form, add a small tool to extract transport fields from a PDF and autofill the page form in the active tab.

Description

  • Add a MV3 Edge extension under edge-extension/ including manifest.json, popup.html and popup.js providing a popup UI to upload a PDF and trigger extraction.
  • Implement a regex-based MVP extractor (popup.js) that parses text-based PDFs for transport fields (Transportadora, Nome do Motorista, Placa, Placa 2, Placa 3, Tipo de Veículo, Telefone, Nº da CNH, CPF) and injects a script into the active tab to fill inputs/selects by label.
  • Update README.md with installation and usage instructions and notes about limitations (works best with text PDFs; recommends pdfjs-dist for production extraction).

Testing

  • Ran rg --files | head -n 50 to confirm repository files listed successfully and the new directory is present, which succeeded.
  • Validated edge-extension/manifest.json can be parsed with node -e "JSON.parse(require('fs').readFileSync('edge-extension/manifest.json','utf8'))", which printed confirmation and succeeded.
  • Performed git status --short and git add README.md edge-extension && git commit -m "Add Edge extension MVP for PDF transport autofill", which completed successfully and recorded the changes.
  • Registered the PR metadata via the make_pr helper, which returned the PR title/body payload.

Codex Task

@netlify

netlify Bot commented May 20, 2026

Copy link
Copy Markdown

Deploy Preview for newwms ready!

Name Link
🔨 Latest commit ee58e97
🔍 Latest deploy log https://app.netlify.com/projects/newwms/deploys/6a0d2fdb1e8c370008b5e7fe
😎 Deploy Preview https://deploy-preview-2--newwms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant