Repository navigation
fix(dncl): pick the rules of the problem in a popup from the green band (#2606) - #2637
Merged
smalruby3-editor-bot[bot] merged 3 commits intoNov 29, 2026
Merged
Conversation
The rules of the problem (the patterns of settings) leave the more menu of the Japanese tab. The green band over the editor shows the rules now and a link to change them, which opens a popup like the auto-correct settings: cards with a small example each, the sentences written at the top, and Cancel / OK. Decided by the mockup with the maintainer (plan C). Refs #2606 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
🤖 autopilot status
Linked issue #2606. Maintained by autopilot (single writer); do not edit. |
5 tasks
…opic/autopilot-2606
|
🚀 Preview deployed (stg API): https://preview.smalruby.app/topic-autopilot-2606-3be0fc97/ |
On the class PC (1300x600) and a phone held sideways the popup of the rules of the problem was taller than the screen and the overlay does not scroll, so the ok button could not be pressed. Bring the popup up and let its body scroll. Let the whole height of the band press the change link. Refs #2606 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
🤖 敵対的レビュー(round 1): 指摘 6 件(Must 1 / Question 1 / FYI 4) Must
Question
FYI
直してほしい指摘は、モニターの「AI に直してもらう」で指示を書くか、Request changes で ID を指定してから |
This was referenced Nov 29, 2026
smalruby3-editor-bot
Bot
merged commit Nov 29, 2026
01514ad
into
topic/japanese-mode-1731
11 checks passed
This branch was previously deployed
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.
概要
EPIC #1731 のリリース確認 R6 の NG の直しです。日本語タブの ⋯ メニューにあった「問題の約束」(見出しとパターン 2 つ)をやめ、エディタの上の緑の帯から開くポップアップにしました。
人間と同意したモックアップ: https://claude.ai/artifact/PsNCFTg52UwyVqBgdEhtrq
変えたこと
components/problem-settings-modal/のポップアップを開く(自動置換設定と同じ大きさ・作り。共有の Modal。本文に白の背景)Data = [10, 20, 30]のときData[1]が 20 になるか 10 になるかの例つき)、先頭に入る文、「ほかのコメントはそのまま残ります。」、キャンセル / 決定dnclWithSettingsPattern)を行う。キャンセルでは何も変えない。「そのほか」では、カードを選ぶまで決定を押せないdocs/dncl/README.md(メニューの表・「設定(冒頭の説明文)」・主要ファイル・テスト)、docs/dncl/design.md、docs/smalruby-dncl-spec.ja.md、.claude/rules/scratch-gui/e2e-test.md(data-testid の表)テスト
test/unit/components/problem-settings-modal.test.jsx(はじめに選ばれるカード・先頭に入る文・決定で選んだパターンが渡る・キャンセルで変えない・「そのほか」では決定できない・帯のいまの約束と「変える」)test/unit/lib/dncl/dncl-settings.test.jsにdnclSettingsSentencesと「ほかのコメントは残る」を足したruby-toolbar-rules-switch.test.jsxのメニューの並びを直し、古いメニューのテストruby-toolbar-settings-pattern.test.jsxは消したdncl-settings-pattern.test.jsを、帯 → ポップアップ → 決定の流れに書き直した(CI で確かめる)@smalruby/ja-notationの import-x/no-unresolved が 2 件出たが、main checkout の node_modules に topic の新しいパッケージが無いという環境のせいで、もとからある import 行なので CI で確かめるまだのこと(verify で行う)
docs/dncl/screenshots/0106-more-menu-1280x800.pngの撮り直しは、ブランチのプレビューで撮ってから貼るCloses #2606
🤖 Generated with Claude Code