Skip to content

Commit 330fd95

Browse files
committed
Update button labels from "New..." to "Add New..." for consistency across all provider and configuration actions
1 parent 344df5d commit 330fd95

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

  • apps/editor/src/views/settings/frontend/Home

‎apps/editor/src/views/settings/frontend/Home/Home.tsx‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,7 @@ export const Home: React.FC<Props> = (props) => {
344344
subtitle="Manage your API keys for use with API tools."
345345
on_stuck_change={model_providers_on_stuck_change}
346346
actions={
347-
<Button on_click={() => props.on_add_provider()}>
348-
New Provider...
349-
</Button>
347+
<Button on_click={() => props.on_add_provider()}>Add New...</Button>
350348
}
351349
>
352350
<Group>
@@ -371,7 +369,7 @@ export const Home: React.FC<Props> = (props) => {
371369
on_stuck_change={edit_context_on_stuck_change}
372370
actions={
373371
<Button on_click={() => props.on_add_config('EDIT_CONTEXT')}>
374-
New Configuration...
372+
Add New...
375373
</Button>
376374
}
377375
>
@@ -415,7 +413,7 @@ export const Home: React.FC<Props> = (props) => {
415413
on_stuck_change={intelligent_update_on_stuck_change}
416414
actions={
417415
<Button on_click={() => props.on_add_config('INTELLIGENT_UPDATE')}>
418-
New Configuration...
416+
Add New...
419417
</Button>
420418
}
421419
>
@@ -465,7 +463,7 @@ export const Home: React.FC<Props> = (props) => {
465463
on_stuck_change={prune_context_on_stuck_change}
466464
actions={
467465
<Button on_click={() => props.on_add_config('PRUNE_CONTEXT')}>
468-
New Configuration...
466+
Add New...
469467
</Button>
470468
}
471469
>
@@ -494,7 +492,7 @@ export const Home: React.FC<Props> = (props) => {
494492
on_stuck_change={code_completions_on_stuck_change}
495493
actions={
496494
<Button on_click={() => props.on_add_config('CODE_COMPLETIONS')}>
497-
New Configuration...
495+
Add New...
498496
</Button>
499497
}
500498
>
@@ -529,7 +527,7 @@ export const Home: React.FC<Props> = (props) => {
529527
on_stuck_change={commit_messages_on_stuck_change}
530528
actions={
531529
<Button on_click={() => props.on_add_config('COMMIT_MESSAGES')}>
532-
New Configuration...
530+
Add New...
533531
</Button>
534532
}
535533
>

0 commit comments

Comments
 (0)