Skip to content

fix: resolve several issues in scratch-gui porting#5

Merged
takaokouji merged 2 commits into
developfrom
fix/porting-issues
Jan 20, 2026
Merged

fix: resolve several issues in scratch-gui porting#5
takaokouji merged 2 commits into
developfrom
fix/porting-issues

Conversation

@takaokouji
Copy link
Copy Markdown

This PR addresses several issues found during the porting of scratch-gui:

  1. Suppress Workbox warnings: JS files are larger than the default 32MB limit. Increased 'maximumFileSizeToCacheInBytes' to 64MB in webpack.config.js.
  2. Port extension filtering: Re-implemented the extension filtering logic and added the 'Show all extensions' checkbox in extension-library.jsx.
  3. Missing translation: Added missing Japanese translation for gui.sharedMessages.loadFromComputerTitle in ja.js and ja-Hira.js.
  4. Ruby conversion on tab switch: Fixed the issue where command blocks were not automatically converted to Ruby when switching to the Ruby tab by adding rubyTabVisible to mapStateToProps in gui.jsx.
  5. Overlapping blocks: Fixed the issue where blocks would overlap at (0,0) after being converted from Ruby by porting the position recalculation logic in blocks.jsx.

🤖 Generated with Gemini Code

Co-Authored-By: Gemini noreply@google.com

takaokouji and others added 2 commits January 20, 2026 14:38
- Suppress Workbox 'maximumFileSizeToCacheInBytes' warnings by increasing limit to 64MB.
- Port extension filtering functionality and 'Show all extensions' checkbox.
- Add missing Japanese translation for 'gui.sharedMessages.loadFromComputerTitle'.
- Fix automatic Ruby conversion on tab switch by adding 'rubyTabVisible' to GUI mapStateToProps.
- Fix overlapping blocks after Ruby-to-blocks conversion by porting position recalculation logic.

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
Added translations for:
- gui.sharedMessages.backdrop
- gui.sharedMessages.costume
- gui.sharedMessages.pop
- gui.sharedMessages.sprite

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
@takaokouji takaokouji merged commit 252ba9a into develop Jan 20, 2026
@takaokouji takaokouji deleted the fix/porting-issues branch January 20, 2026 05:45
takaokouji pushed a commit that referenced this pull request Mar 8, 2026
* chore: format runtime.js

* fix: add the hat extension to extension hat blocks
takaokouji added a commit that referenced this pull request Apr 12, 2026
- Add next-steps guidance after student joins classroom (#1)
- Add submit hint for students who haven't submitted yet (#2)
- Add STAGE !== 'prod' failsafe for DEV_BYPASS_TOKEN (#3)
- Add fullscreen tooltip to join code expand button (#4)
- Improve member grid prompt to clarify clickable seats (#5)
- Remove window._classroomIdToken debug variable (#8)

Closes #495

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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