v1.58.6.0 feat: add Zalando size chart parser to extension#2191
Open
hammadbhagat11-ctrl wants to merge 3 commits into
Open
v1.58.6.0 feat: add Zalando size chart parser to extension#2191hammadbhagat11-ctrl wants to merge 3 commits into
hammadbhagat11-ctrl wants to merge 3 commits into
Conversation
Adds extension/zalando-parser.js — a dedicated content script for reading size charts on Zalando product pages. Uses only data-testid attributes (CSS classes are build-time hashed on Zalando and change every deploy). Two-step approach: check DOM first, click the Size Guide link if not found, wait 700ms for React modal, then parse. Wires manifest.json with a Zalando-only content_scripts entry (all 16 country TLDs) and adds the parseZalandoSizeChart message type to background.js ALLOWED_TYPES with a routing handler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Require 2-of-4 size-signal matches in the regex fallback to reduce false positives. Add CHANGELOG entry and VERSION bump. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
extension/zalando-parser.js: dedicated content script for Zalando product pages that reads size charts using only stabledata-testidattributes (CSS class names are build-time hashed and change on every deploy)Test plan
Generated with Claude Code