[Feedback]: Generate the commit message from the diff in Changes → Ship → Commit
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 30/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Shell
- Sterne
- 110
- Forks
- 9
- Ø Merge
- 12 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandCodeAI/desktop
-
[Bug]: v0.1.61 fails to initialize preload script due to system memory information error on LinuxOffenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/desktop#167 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
CommandCodeAI/desktop#166 ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
CommandCodeAI/desktop#164 ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
CommandCodeAI/desktop#163 · 1 Reaktion ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
CommandCodeAI/desktop#162 ·
Alle Issues in CommandCodeAI/desktop
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
S3: friction & debt ws:testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
MedakaLang/medaka#5184 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Link Checker ReportOffenautomated issue report
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
a2aproject/A2A#2445 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
MadiroGlobalHealth/UVL-EMR#580 ·
Maintainer antworten meist innerhalb von 1 Tag