Skip to content

feat(studuino): keep the Smalrubot S1 card for one year and name the extension ArtecRobo (Studuino) - #2283

Merged
smalruby3-editor-bot[bot] merged 5 commits into
topic/studuino-2162from
feat/smalrubot-legacy-card
Nov 19, 2026
Merged

smalruby3-editor-bot[bot] merged 5 commits into
topic/studuino-2162from
feat/smalrubot-legacy-card

Conversation

@smalruby3-editor-bot

Copy link
Copy Markdown

概要

スモウルボット S1 の改名の 移行期間(1 年) のために、拡張機能ライブラリに前の名前のカード「スモウルボットS1」を足す。あわせて、拡張機能の表示名を「アーテックロボ(ArtecRobo)」から 「アーテックロボ(Studuino)」 に変える。

Closes #2281

変えたこと

  • 前の名前のカード(src/lib/libraries/extensions/smalrubot-s1/legacy-card.jsx・純粋関数)
    • 「アーテックロボ(Studuino)」のカードのすぐ後ろに、前の名前・前の絵のカード「スモウルボットS1」を出す。説明は「アーテックロボ(Studuino)の前の名前です。選ぶと、アーテックロボ(Studuino)が使えます。」
    • どちらを選んでも同じ拡張機能 smalrubotS1 を読みこむ(ID は 1 つ)。前のカードはライブラリの中だけの項目で、キーと DOM の id を smalrubotS1Legacy にして 2 枚が重ならないようにした。選ぶと今のカードに置きかえてから読みこむので、接続の流れも同じ。alerts / connection-modal / blocks が使う拡張機能の一覧(index.jsx の default export)には入れない。
    • 期限は 2027-11-30(SMALRUBOT_S1_LEGACY_CARD_LAST_DAY の 1 か所・端末の日付でその日の終わりまで)。過ぎると自動で出なくなる。期限後にコードを消す Issue: chore(studuino): remove the Smalrubot S1 legacy card after 2027-11-30 #2282
    • タグ smalrubot / スモウルボット などを付けた(拡張機能ライブラリはいま検索欄が無いので、検索を出したときのため)。
  • 名前が変わったことの知らせ: 前のカードを選ぶと、既存のアラート(閉じるボタンつき・接続モーダルより上に出る)で「スモウルボットS1 は「アーテックロボ(Studuino)」に名前が変わりました。中身は同じです。これからは「アーテックロボ(Studuino)」を選んでください。」を出す(ja / ja-Hira / en、data-testid="smalrubot-s1-renamed-alert")。
  • 表示名: カード・カテゴリ・メニューバー・VM の既定の名前を「アーテックロボ(Studuino)」(ja-Hira「アーテックロボ (Studuino)」、en「ArtecRobo (Studuino)」)に。紹介ページの文も合わせた。カードの説明・商標の一文・ふりがな(アーテックロボ)は変えない。
  • upstream ファイルのマーカー: extension-library.jsx(5 ペア)、alerts/index.jsx(1 ペア)。docs/maintenance/smalruby-markers-gui.md に追記。
  • docs: docs/extension-smalrubot-s1/README.md に「移行期間(前の名前のカード)」とスクリーンショット、言語仕様・ふりがなの対応表の見出し。

テスト

  • unit: test/unit/lib/smalrubot-s1-legacy-card.test.jsx(期限の判定・差しこみ・キーの重複なし・置きかえ・3 言語の知らせ)
  • integration: test/integration/smalrubot-s1-legacy-card.test.js(2 枚のカード・前のカードを選ぶと知らせと接続の流れ)
  • VM: test/unit/extension_smalrubot_s1.js(名前)
  • ローカルでは上の unit・VM のテストと、関係する connection-modal-smalrubot-s1.test.jsx / furigana-annotator.test.js、lint だけを流した。全体は CI。

人間の確認が要る点

  • 知らせの出し方(アラート・閉じるまで残る)でよいか。モーダルで止める案もある。
  • 期限の判断は端末の日付(ローカル時刻)。
  • メニューバーの名前が長くなった(「アーテックロボ(Studuino)」)。

🤖 Generated with Claude Code

The extension library shows the old "Smalrubot S1" card right after the
"ArtecRobo (Studuino)" card until 2027-11-30, so teaching materials that
say "choose Smalrubot S1" keep working. Both cards load the same
extension smalrubotS1; the old card is only a library item with its own
key, and choosing it shows an alert that the name has changed.

The extension is now named "ArtecRobo (Studuino)" on the card, the block
category and the menu bar (ja: アーテックロボ(Studuino)). The card
description, the trademark sentence and the furigana stay as they are.

Closes #2281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #2281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed (stg API): https://preview.smalruby.app/feat-smalrubot-legacy-card-03af5e93/

The info level has no background, so the text was hard to read over the
connection modal. Use the info-blue level.

Refs #2281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and the old card

Refs #2281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@smalruby3-editor-bot
smalruby3-editor-bot Bot merged commit d33767c into topic/studuino-2162 Nov 19, 2026
10 checks passed
@smalruby3-editor-bot
smalruby3-editor-bot Bot deleted the feat/smalrubot-legacy-card branch November 19, 2026 13:02

This branch was previously deployed

1 inactive deployment
stg — b35f9c40 Deployed Nov 19, 2026 by smalruby3-editor-bot[bot] via cleanup #453
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