Skip to content

feat(studuino): EPIC #2162 Studuino リニューアルと練習用の基板(topic・draft) - #2202

Draft
smalruby3-editor-bot[bot] wants to merge 30 commits into
developfrom
topic/studuino-2162
Draft

smalruby3-editor-bot[bot] wants to merge 30 commits into
developfrom
topic/studuino-2162

Conversation

@smalruby3-editor-bot

@smalruby3-editor-bot smalruby3-editor-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

EPIC #2162 の topic(draft)

スモウルボットS1 の拡張機能を Studuino としてリニューアルし、練習用の基板を入れる EPIC #2162 の作業を集める topic ブランチ(.claude/rules/topic-branches.md)。

🤖 Generated with Claude Code

smalruby3-editor-bot Bot and others added 6 commits November 18, 2026 16:17
…s1 extension

Write the decided direction (name, compatibility, sensor names, robot car heading,
studuino. ruby, practice board, command and sensor log) and mark what is not
implemented yet. Fix the outdated ruby examples and generator notes.

Closes #2187

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(studuino): Studuino リニューアルの方針を docs に書く
…stration

- Show the smalrubotS1 extension as "Studuino(スタディーノ)" in the library,
  category, menu bar, connection and firmware modals (ja / ja-Hira / en).
  The extension ID, opcodes, Ruby methods and message keys are unchanged.
- Replace the library images (600x372 / 95x95 / 40x40) and the category icon
  with a board illustration based on an image the maintainer made with Gemini.
  Silkscreen words that could look like Artec's product were removed.
- Add Artec's trademark notice to the library card description and the
  about page.
- Furigana for the smalrubot_s1 receiver is now "スタディーノ".

Closes #2188

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

Taken on the branch preview with headless Playwright.

Refs #2188

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): rename the extension to Studuino and use a board illustration
…r a heading

- Show the sensors by their textbook names ("光センサー (A6)" etc.) and add
  the "赤外線センサー(フォトリフレクタ)(A4)/(A5)" choices (new values ir_a4 /
  ir_a5 read the same ports as left / right). No blocks are added.
- Move the robot blocks after a "ロボットカー" heading and use general wording
  ("車を前進させる" etc.). Opcodes, menu names and menu values are unchanged.
- Add BlockType.LABEL to scratch-vm (with Smalruby markers) so an extension
  can show a heading (<label> in the flyout).
- Accept ir_a4 / ir_a5 in Ruby, and update furigana, snippets and docs.

Refs #2189

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

Copy link
Copy Markdown

🚀 Preview deployed (stg API): https://preview.smalruby.app/topic-studuino-2162-1cd81df8/

smalruby3-editor-bot Bot and others added 2 commits November 18, 2026 18:34
…r heading

Refs #2189

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): use textbook sensor names and group robot blocks under a heading
smalruby3-editor-bot Bot and others added 2 commits November 18, 2026 18:56
…alrubot_s1

The Ruby generator now writes studuino. (E9 of #2162). The converter
registers the same table for both studuino and smalrubot_s1, so older
programs and teaching materials still open as blocks. Furigana and
completion work with both receivers; method names and opcodes are
unchanged.

Closes #2190

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(ruby): write studuino. and still read smalrubot_s1. for Studuino
smalruby3-editor-bot Bot and others added 2 commits November 18, 2026 19:16
…en no board is connected

While the real Studuino is not connected, the blocks now use a practice board
inside the VM: LEDs, DC motors (direction and speed), the D10 servo and the
A2/A4/A5/A6/A7 sensors. The state is sent with the runtime event
STUDUINO_PRACTICE_BOARD_STATE and kept on runtime.studuinoPracticeBoardState.
The serial commands written while connected are unchanged.

Closes #2191

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

feat(studuino): practice board in the VM when no board is connected
smalruby3-editor-bot Bot and others added 4 commits November 18, 2026 19:37
…servo)

Show a foldable panel at the top right of the code area while the Studuino
extension is loaded. Sliders and a touch button change the practice board's
sensors; LEDs, DC motors and the servo show their current state. While a real
board is connected the panel only says so. It sits left of the lesson practice
partner panel when that one is shown.

Closes #2192

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

The extension's message keys are not in the GUI messages, so the panel has its
own keys. Make the panel shorter (one-line title, touch sensor on one row) so it
does not cover the zoom buttons at 1300x600.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): practice board panel (sensors, LEDs, motors, servo)
smalruby3-editor-bot Bot and others added 2 commits November 18, 2026 20:18
Record the LED / motor / servo commands and the sensor values the Studuino
blocks read, in the block methods, so the real board and the practice board
make the same entries (#2158 Q6 = A). The record is a ring buffer (1000)
with getCommandLog / clearCommandLog and the STUDUINO_COMMAND_LOG events,
and is cleared by the green flag and loading a project.

The lesson goal gets boardCommand (with whenSensor: the sensor value read
before the command, any sensor when no port/sensor is given, #2158 Q7) and
sensorRead.

Closes #2193

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): record the commands and sensor reads for lesson checks
smalruby3-editor-bot Bot and others added 3 commits November 19, 2026 10:41
…e board

The teacher's text of the kit calls the whole kit ArtecRobo and the board
Studuino. The library card, block category, menu bar and Ruby furigana now
say ArtecRobo; the connection, firmware and practice board texts keep
Studuino. The card and the about page name both, and the about page shows
the board illustration instead of the Smalrubot photo.

The extension ID, opcodes, menu values, message keys and the Ruby
receiver (studuino. / smalrubot_s1.) do not change.

Refs #2276

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Taken on the branch preview with headless Playwright. Adds the Ruby
furigana and the about page.

Refs #2276

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): name the extension ArtecRobo and keep Studuino for the board
smalruby3-editor-bot Bot and others added 6 commits November 19, 2026 11:54
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>
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>
feat(studuino): keep the Smalrubot S1 card for one year and name the extension ArtecRobo (Studuino)
smalruby3-editor-bot Bot and others added 2 commits November 19, 2026 14:29
Answers to the final review before develop (F1-F4):
- F1: the extension name, category, menu bar and notices are now just
  "アーテックロボ" / "ArtecRobo"; the card description names Studuino
- F3: the card description starts "アーテックロボの Studuino®(スタディーノ)基板を動かす"
- F4: new card, connection and category pictures cut from the human's
  Gemini illustration (mini icon in the corner and the outer frame removed)

Refs #2162

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(studuino): call every label ArtecRobo and use the new board picture

This branch was successfully deployed

1 active deployment
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