Skip to content

fix(dncl): 日本語タブの右クリックのメニューがエディタの文字と重なって読めないのを直す #2608

Done

Description

@smalruby3-editor-bot

autopilot-base: topic/japanese-mode-1731

EPIC #1731 のリリース確認 round 1 の 全体のコメント(人間がプレビュー https://preview.smalruby.app/topic-japanese-mode-1731-33b729d5/ で確認・2026-11-28)。人間のスクリーンショット: コンテナの /app/tmp/to-ai-files/SS 2026-11-28 22.56.14.png。

人間のメモ(そのまま)

日本語モードのエディター上で右クリックする。するとコンテキストメニューが表示されるが、その表示が乱れている。

エディタのテキストとかさなって、何が表示されているのかわからない。
改修して。

スクリーンショットでは、右クリックのメニュー(「すべての出現箇所を変更 ⌘F2」「切り取り」「コピー」「貼り付け」「コマンド パレット F1」)に 背景と枠が無く、エディタの文字の上に文字だけが重なって読めない(読むモード・罫線の出ている状態)。

直すこと

  • 日本語タブの Monaco の右クリックのメニューに、ふつうの背景・枠・影を付けて読めるようにする(ルビータブと同じ見た目。ルビータブでも乱れているなら両方直す)。
    • 疑い: 日本語タブのエディタ(紙の色の地・読むモードの罫線の装飾・行の背景)の CSS が Monaco のメニュー(.monaco-menu / .context-view)の背景を透明にしている、またはメニューの色(テーマの menu.background)が日本語タブのテーマに無い。
  • 読むモード・書くモードの両方、ライト / ダーク(あるなら)で確かめる。
  • 見た目を元に戻す直しなので、モックアップは不要(.claude/rules/ui-mockup-first.md の例外)。

DoD

  • 原因を PR に書く
  • プレビューで、日本語タブ(読むモード・書くモード)とルビータブの右クリックのメニューに背景が付き、文字が読める。スクリーンショット(tools/autopilot/bin/pw-check など)を PR に貼る
  • できれば unit テスト(テーマの色や CSS の値)を足す

共通の注意

  • PR は topic 宛て(autopilot-base)。先に docs/dncl/policy.md と .claude/rules/scratch-gui/japanese-mode.md を読む。
  • テストは自作のプログラムだけ。ローカルのテストは関係するファイルだけ、lint は bin/lint-changed。挙動・見た目を変えたら docs/dncl/README.md(とデザインシステムの docs)を同じ PR で直す。

Activity

  1. added
    🤖 autopilot
    on Nov 28, 2026
  2. moved this from In Progress to Sprint Backlog in Autopiloton Nov 28, 2026
  3. smalruby3-editor-bot commented on Nov 28, 2026

    @smalruby3-editor-bot
    Author

    🤖 autopilot triage

  4. moved this from Sprint Backlog to In Progress in Autopiloton Nov 28, 2026
  5. smalruby3-editor-bot commented on Nov 28, 2026

    @smalruby3-editor-bot
    Author

    🤖 対応 PR: #2616 (base: topic/japanese-mode-1731)

    この PR は非デフォルト base 宛てのため GitHub の Development 欄に表示されません。このコメントは autopilot が管理します(編集しないでください)。

  6. moved this from In Progress to Review in Autopiloton Nov 28, 2026
  7. added a commit that references this issue on Nov 28, 2026
  8. moved this from Review to Close in Autopiloton Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🤖 autopilot

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions