Skip to content

fix(amazon): address review issues — missing icon, schema mismatch, dead code, pluralization#19

Closed
Copilot wants to merge 2 commits intofeat/amazon-connectorfrom
copilot/sub-pr-18
Closed

fix(amazon): address review issues — missing icon, schema mismatch, dead code, pluralization#19
Copilot wants to merge 2 commits intofeat/amazon-connectorfrom
copilot/sub-pr-18

Conversation

Copy link

Copilot AI commented Mar 4, 2026

Review of the Amazon connector PR surfaced several bugs and code quality issues.

Changes

  • icons/amazon.svg (new): Created missing icon in Amazon brand orange (#FF9900) — metadata already referenced it but the file didn't exist, which would break the UI.
  • schemas/amazon.orders.json: Removed orderId from required. The extractor pushes orders when orderId || items.length > 0, so orders with items but no parsed ID are valid and would fail schema validation.
  • amazon-playwright.js:
    • Removed unused progressPrefix parameter from enrichOrdersWithPrices
    • Removed state.isComplete — set at end of run but never read
    • Fixed "across 1 years""across 1 year" with proper pluralization
  • registry.json: Updated sha256 checksum for amazon-playwright.js

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…ector

Co-authored-by: letonchanh <5548342+letonchanh@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Playwright connector for Amazon profile and order history fix(amazon): address review issues — missing icon, schema mismatch, dead code, pluralization Mar 4, 2026
@letonchanh letonchanh closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants