mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(desktop): sentence-case runtime descriptions in onboarding setup (#1944)
Signed-off-by: Matt Toohey <contact@matttoohey.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
72a5c388d7
commit
36c3c49949
@@ -325,10 +325,14 @@ function RuntimeDetails({ runtime }: { runtime: AcpRuntimeCatalogEntry }) {
|
||||
runtime.command &&
|
||||
runtime.binaryPath
|
||||
) {
|
||||
const description = describeResolvedCommand(
|
||||
runtime.command,
|
||||
runtime.binaryPath,
|
||||
);
|
||||
return (
|
||||
<>
|
||||
<p className="mt-2 text-sm leading-5 text-muted-foreground">
|
||||
{describeResolvedCommand(runtime.command, runtime.binaryPath)}
|
||||
{description.charAt(0).toUpperCase() + description.slice(1)}
|
||||
</p>
|
||||
{runtime.defaultArgs.length > 0 ? (
|
||||
<p className="mt-1 text-xs text-muted-foreground/80">
|
||||
|
||||
Reference in New Issue
Block a user