Skip to content

[frontend] amend ギミックで git add . のあと告知どおりの git add <追加具材> が進まない #59

Open

Description

@yozure420

#57 のレビューで見つかった指摘です(コードからの推論で、実機では未再現)。

起きること

amend の注文は git add <具材A> → commit → git add <具材B> → amend の順です。最初の手順を git add . で済ませると全具材がステージされ、3 手順目で告知どおり git add <具材B> を打っても「⚠️ …は既に追加されています」と出て手順が進みません。伝票に出ているコマンドでは先に進めず、その間に丼が流れて注文が失敗します。

場所

frontend/src/game/handleGameCommand/commandHandlers.ts の add ハンドラ(「既に追加」の分岐)

直し方の案

現在の手順が type: 'add' で、その itemName が既にステージ済みなら、手順だけ進める。

🤖 Generated with Claude Code

Activity

  1. added
    bugSomething isn't working
    normal-modenormalモード(中級/course=2)実装
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnormal-modenormalモード(中級/course=2)実装

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions