Skip to content

feat(tutorials): チュートリアルを上流に戻す(EPIC #1935) - #2156

Merged
smalruby3-editor-bot[bot] merged 11 commits into
developfrom
topic/tutorials-upstream
Nov 17, 2026
Merged

smalruby3-editor-bot[bot] merged 11 commits into
developfrom
topic/tutorials-upstream

Conversation

@smalruby3-editor-bot

Copy link
Copy Markdown

Summary

EPIC #1935「チュートリアルを上流に戻す」の topic ブランチ topic/tutorials-upstream を develop に入れます。
Smalruby 独自のチュートリアルと、その部品を upstream(scratch-editor v13.7.2)の形に戻し、「?」メニューの項目を整え、ドキュメントとスクリーンショットを更新します。レッスン(はじめの一歩を含む)が使う部品は、先に #2028 で lib/lessons/ に切り離してあります。

入るもの

Refs #1935

🤖 Generated with Claude Code

smalruby3-editor-bot Bot and others added 11 commits November 16, 2026 12:56
…am v13.7.2

Restore src/lib/libraries/decks, tutorial-tags.js, the cards container and
component, the cards reducer and tips-library.jsx to tag v13.7.2, and drop the
Smalruby tutorial parts from library.jsx/library.css and titled-hoc.jsx
(start-tutorial title, tutorial categories, insert-code button and its quick
colour fix, glow animation, next-button lock). The block-book sample and the
Kairyudo links go away with the Smalruby decks.

- blocks.jsx narrows the palette only by the lesson's allowedBlocks.
- Remove the tutorial-only locale strings and imports from en/ja/ja-Hira.
- Restore the upstream tests (cards, tutorial-from-url, translate-video) and
  remove the Smalruby tutorial tests.
- Send a tutorial_url GA event when ?tutorial= does not match any tutorial
  (label = old Smalruby urlId from a fixed allow-list, otherwise 'unknown').
- Emit the upstream tutorial images as files under static/assets/decks/ and
  keep them out of the PWA precache, so they load only when a tutorial opens.

Refs #1935

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…her help items

The ? menu now lists, in three sections separated by dividers:
tutorials / debug, report a bug, then show welcome again / about Smalruby /
version. The order and the dividers come from HELP_MENU_SECTIONS in
lib/help-menu.js, so rearranging the menu means editing one array.

- The version item shows the short commit sha of the build ("development
  build" locally) and checks version.json for a newer build when clicked.
- Report a bug opens the bug report window (only when it is configured).
- Re-enable the upstream how-tos and tutorials-shortcut integration tests
  now that the upstream tutorials are back, and ignore the upstream
  LibraryItem id warning of the hidden tutorials that have no image.

Refs #1935

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nshots

- docs/tutorial: the card tutorials are upstream v13.7.2 as they are; describe
  the ? menu entry, the tutorial_url GA event and the lazy image loading.
  Remove the plan and progress pages of the removed Smalruby tutorials and
  keep the book source as material for the lessons.
- design-system/tutorial-debug.md: drop the Smalruby card additions and use
  the measured upstream values (card 468px, step image 450x200).
- lessons, welcome, menu-bar, ruby-editor docs: follow the revert and the
  new ? menu items.
- Retake 0102 (? menu), welcome 0201, tutorial 0101/0201 and design-system
  0509/0902 with the upstream tutorials.
- Remove the playwright scripts of the removed tutorials and the tutorial
  development rule, and drop them from the e2e and mesh rules.

Refs #1935

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot-2024

Keep the first-step lesson and the standard assignments from develop next to
the reverted tutorials: the activity diagram locale import, the sprite-library
marker row, and both the assignments and the tutorial images in the precache
exclusions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot-2026

In the mesh rule, list only the scripts that are still in tools/playwright-verify
(the tutorial mesh check goes with the tutorials, and develop removed the two
sensor notice checks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pstream

chore: develop と #2028 を topic/tutorials-upstream に取り込む
revert(tutorials): bring the tutorials and their parts back to upstream v13.7.2
feat(menu-bar): keep tutorials and debug in the ? menu and add the other help items
docs(tutorials): describe the upstream tutorials and retake the screenshots
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed (stg API): https://preview.smalruby.app/topic-tutorials-upstream-3c64ca92/

This branch was previously deployed

1 inactive deployment
stg — e2459294 Deployed Nov 17, 2026 by smalruby3-editor-bot[bot] via cleanup #374
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.

0 participants