fix: remove Scratch tutorials for trademark compliance#9
Merged
Conversation
Tutorial content included Scratch and Scratch Cat images as specified in the Scratch Foundation TRADEMARK file, which are not permitted for use in derivative works under their trademark policy. Changes: - Removed Cards component and TipsLibrary container - Removed tutorial deck files (1400+ assets across 12+ languages) - Removed tutorial-related reducers and state management - Updated menu bar to remove tutorial menu item - Updated GUI component to remove Cards and TipsLibrary rendering - Removed tutorial URL query parameter handling - Added graphql dependency for Mesh V2 compatibility - Removed 4 tutorial-related test files All builds pass and 69 test suites pass successfully. This change mirrors the tutorial removal from smalruby3-gui (commit 85aa2e300) to maintain trademark compliance. 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed runtime error caused by referencing deleted reducers in mapStateToProps: - Removed cardsVisible reference to deleted cards reducer - Removed tipsLibraryVisible reference to deleted modal state This completes the tutorial removal changes. Error: Cannot read properties of undefined (reading 'visible') at mapStateToProps (gui.jsx:167:1) 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added monaco-editor@0.55.1 to dependencies to resolve: - Module not found error for 'monaco-editor/esm/nls.messages.ja.js' - Failed to load Monaco Japanese locale error in ruby-tab This enables Japanese UI localization for the Ruby code editor (Monaco Editor). The version matches the CDN version configured in monaco-i18n-helper.js. 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replaced static/favicon.ico with the Smalruby-branded version from smalruby3-gui to complete the branding update. The original Scratch favicon was still present in the codebase. This change aligns with the branding updates made in PR #8. 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
takaokouji
pushed a commit
that referenced
this pull request
Mar 8, 2026
…locks getting into a bad state (#9)
9 tasks
takaokouji
added a commit
that referenced
this pull request
Apr 17, 2026
Rename smalrubyRuby_stringMethodR → smalrubyRuby_methodR and smalrubyRuby_stringMethodC → smalrubyRuby_methodC to support methods on all receiver types (string, array, hash). New REPORTER methods: lines, max, sort, join, keys, values New COMMAND methods: sort!, reverse! Add automatic migration for old project files (stringMethodR/C opcodes are replaced with methodR/C on load, unconditionally). Refs #524 (Phase 1 #4-#9) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Removed all Scratch-branded tutorial content from smalruby3-editor to comply with Scratch Foundation's trademark policy. Tutorial content included Scratch and Scratch Cat images that are not permitted for use in derivative works.
Changes Made
Components Removed
src/components/cards/)src/containers/tips-library.jsx)State Management Updates
cardsreducer and stateinitTutorialCardfunction from gui reducerMODAL_TIPS_LIBRARYfrom modals reduceractivateDeckaction from exported reducersUI Updates
Dependencies
graphqlpackage for Mesh V2 extension compatibilityTests
test/unit/components/cards.test.jsxtest/unit/util/translate-video.test.jstest/unit/util/tutorial-from-url.test.jstest/unit/components/__snapshots__/cards.test.jsx.snapTest Coverage
✅ Build: All webpack compilations successful (build:dev, build:dist, build:dist-standalone)
✅ Unit Tests: 69 test suites passed, 705 tests passed
✅ Trademark Compliance: All Scratch-branded tutorial content removed
Implementation Details
This change mirrors the tutorial removal from smalruby3-gui (commit 85aa2e300) to maintain consistency across the codebase. The removal was necessary because:
Related
🤖 Generated with Claude Code