Skip to content

Comments

Implement GridPuzzle providers in TypeScript#78

Merged
newtomsoft merged 1 commit intoapifrom
grid-puzzle-provider-ts-12771083746076088445
Jan 3, 2026
Merged

Implement GridPuzzle providers in TypeScript#78
newtomsoft merged 1 commit intoapifrom
grid-puzzle-provider-ts-12771083746076088445

Conversation

@google-labs-jules
Copy link
Contributor

Implemented GridPuzzleProvider and GridPuzzleCanvasProvider in the TypeScript browser extension codebase to match the capabilities of the Python backend providers. This allows the extension to parse and extract data from GridPuzzle-based sites using both DOM structure and gpl variable scraping. Confirmed functionality with local unit tests.


PR created automatically by Jules for task 12771083746076088445 started by @newtomsoft

Added `GridPuzzleProvider` and `GridPuzzleCanvasProvider` in `BrowserExtension/src/Infrastructure/GridPuzzle/Base/`.
These classes mirror the logic of the Python `GridProviders/GridPuzzle/Base` implementation, supporting:
- Grid extraction from HTML/DOM elements via CSS classes (`br`, `bl`, etc.).
- Canvas data extraction from `gpl` variables in HTML string (Size, pqq, etc.).
- Custom Base64 decoding logic for grid data.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions
Copy link

github-actions bot commented Jan 3, 2026

Qodana Community for Python

127 new problems were found

Inspection name Severity Problems
Missing await syntax in coroutine calls 🔶 Warning 36
Redeclared names without usages 🔶 Warning 20
Unused imports 🔶 Warning 20
Invalid type hints definitions and usages 🔶 Warning 8
Unbound local variables 🔶 Warning 5
Unused local symbols ◽️ Notice 20
Shadowing names from outer scopes ◽️ Notice 8
Method is not declared static ◽️ Notice 5
An instance attribute is defined outside init`` ◽️ Notice 2
Unclear exception clauses ◽️ Notice 2
Invalid abstract class definition and usages ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@newtomsoft newtomsoft marked this pull request as ready for review January 3, 2026 18:14
@newtomsoft newtomsoft merged commit e34213f into api Jan 3, 2026
5 of 6 checks passed
@newtomsoft newtomsoft deleted the grid-puzzle-provider-ts-12771083746076088445 branch January 3, 2026 18:14
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.

1 participant