@@ -49,16 +49,17 @@ const MODE_OPTIONS: Record<SourceControlWritingStyleMode, { label: string; descr
4949 {
5050 repo_conventions : {
5151 label : "Repository conventions" ,
52- description : "In each project, matches recent change descriptions and change request titles." ,
52+ description :
53+ "Commit messages and pull request titles and descriptions match each project's history." ,
5354 } ,
5455 conventional_commits : {
5556 label : "Conventional Commits" ,
56- description : "Use Conventional Commit prefixes and keep change request text concise ." ,
57+ description : "Conventional Commit prefixes, with short pull request titles and descriptions ." ,
5758 } ,
5859 custom : {
5960 label : "Custom instructions" ,
6061 description :
61- "Use your instructions for change descriptions and change requests in every project ." ,
62+ "Your instructions shape commit messages and pull request titles and descriptions ." ,
6263 } ,
6364 } ;
6465
@@ -193,7 +194,7 @@ export function SourceControlWritingSettingsSection() {
193194 ) ;
194195
195196 return (
196- < SettingsSection id = "source-control-text-generation" title = "Writing & review " >
197+ < SettingsSection id = "source-control-text-generation" title = "Commits & pull requests " >
197198 < SettingsRow
198199 serverScoped
199200 settingKeys = { [ "sourceControlWritingStyle" ] }
@@ -203,7 +204,7 @@ export function SourceControlWritingSettingsSection() {
203204 resetAction = {
204205 isSourceControlWritingStyleDirty ? (
205206 < SettingResetButton
206- label = "source control writing style "
207+ label = "commit and pull request writing "
207208 onClick = { ( ) =>
208209 updateSettings ( {
209210 sourceControlWritingStyle : {
@@ -231,7 +232,7 @@ export function SourceControlWritingSettingsSection() {
231232 < SelectTrigger
232233 size = "sm"
233234 className = "w-full sm:w-56"
234- aria-label = "Source control writing style "
235+ aria-label = "Commit and pull request writing "
235236 >
236237 < SelectValue >
237238 { ( value : SourceControlWritingStyleMode | null ) =>
@@ -257,7 +258,7 @@ export function SourceControlWritingSettingsSection() {
257258 value = { allInstructions ?? "" }
258259 onChange = { ( event ) => setAllInstructions ( event . target . value ) }
259260 rows = { 4 }
260- aria-label = "Custom source control instructions for all selected environments"
261+ aria-label = "Custom commit and pull request instructions for all selected environments"
261262 placeholder = "Write the instructions each selected environment should use."
262263 />
263264 < Button
@@ -304,8 +305,8 @@ export function SourceControlWritingSettingsSection() {
304305 }
305306 } }
306307 rows = { 4 }
307- placeholder = "Keep titles concise. Use short bullet points in descriptions."
308- aria-label = "Custom source control writing instructions"
308+ placeholder = "Keep commit subjects under 60 characters. Keep pull request descriptions short and plain ."
309+ aria-label = "Custom commit and pull request instructions"
309310 />
310311 </ div >
311312 ) : null }
@@ -481,12 +482,12 @@ export function SourceControlWritingSettingsSection() {
481482 settingKeys = { [ "sourceControlWritingStyle" ] }
482483 mixed = { templatesMixed }
483484 { ...searchableSetting ( "follow-change-request-templates" ) }
484- description = "Use the repository's template for change request descriptions when available ."
485+ description = "Use the repository's pull request template when it has one ."
485486 resetAction = {
486487 templatesMixed ||
487488 style . followChangeRequestTemplates !== defaults . followChangeRequestTemplates ? (
488489 < SettingResetButton
489- label = "change request templates"
490+ label = "pull request templates"
490491 onClick = { ( ) =>
491492 updateSettings ( {
492493 sourceControlWritingStyle : {
@@ -508,7 +509,7 @@ export function SourceControlWritingSettingsSection() {
508509 } ,
509510 } )
510511 }
511- aria-label = "Follow change request templates"
512+ aria-label = "Follow pull request templates"
512513 />
513514 }
514515 />
@@ -517,7 +518,7 @@ export function SourceControlWritingSettingsSection() {
517518 serverScoped
518519 settingKeys = { [ "sourceControlWriterModelSelection" ] }
519520 { ...searchableSetting ( "source-control-writer-model" ) }
520- description = "Model for source control text and branch or bookmark names. When disabled, use the text generation model configured for this environment."
521+ description = "Model for commit messages, pull request text, and branch or bookmark names. When disabled, use the text generation model configured for this environment."
521522 control = {
522523 ! hasServerTargets ? (
523524 < span className = "text-sm text-muted-foreground" >
0 commit comments