[Feedback]: Generate the commit message from the diff in Changes → Ship → Commit
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
The payload names no source files. Start from the Changes → Ship → Commit view and the default message Changes from Command Code, which is the fallback the request wants kept. Find where the commit is assembled and where the session model is called, then check how the diff and stat are gathered. Done means a generated conventional-commit message fills the editable field, a failure falls back to the default with a non-blocking error, and the user still has to click to commit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What would you like?
In Command Code Desktop's Changes → Ship → Commit flow, add a way to generate the commit message from the current changes instead of typing it manually or falling back to a static default.
Current behavior (Desktop 0.1.60, macOS)
- The Ship menu has a "Commit message" textarea whose placeholder reads:
Commit message (blank uses "Changes from Command Code"). - Leaving it blank commits with the hardcoded message
Changes from Command Code. - There is no generate action anywhere in the Changes view.
Proposed behavior
- A "Generate" action next to the commit message field (and/or generate automatically when the field is empty), using the current session model.
- The generation should read the diff/stat of everything the commit would include (the Changes view already states that a commit includes all current project changes, not only agent edits).
- Output a conventional-commit style message (
type(scope): subject, plus an optional body). - Keep it editable, and still require the user's click to commit.
- On failure (model unavailable, empty diff, timeout), fall back to the current default message and show a non-blocking error.
Why
Writing the message by hand for every commit is repetitive, and the current workaround is to ask the agent in chat to run git commit or to generate a message and paste it into the field, which breaks the Ship flow.
Environment
- Command Code Desktop 0.1.60
- macOS
- Lingua principale
- Shell
- Stelle
- 110
- Fork
- 9
- Merge medio
- 12m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CommandCodeAI/desktop
-
[Bug]: v0.1.61 fails to initialize preload script due to system memory information error on LinuxApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/desktop#167 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
CommandCodeAI/desktop#166 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
CommandCodeAI/desktop#164 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
CommandCodeAI/desktop#163 · 1 reazione ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
CommandCodeAI/desktop#162 ·
Tutte le issue di CommandCodeAI/desktop
Issue simili
-
S3: friction & debt ws:testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MedakaLang/medaka#5184 ·
I maintainer di solito rispondono entro 1 giorno
-
Link Checker ReportApertaautomated issue report
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
a2aproject/A2A#2445 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
MadiroGlobalHealth/UVL-EMR#580 ·
I maintainer di solito rispondono entro 1 giorno
-
Storage with Nitro Sandboxes: clarify which CSI volumes are supported (third-party NFS volumes fail)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
awsdocs/amazon-eks-user-guide#1259 ·