TelegramSection wraps /telegram/token (masked password Input) and /telegram/status so the bot token can be set or replaced inline. Values are never logged. AboutSection renders app name, version, fork lineage, and MIT license with an outbound link. DangerZoneSection marks the reset-workspace and delete-all- conversations actions from spec §8.1 as disabled placeholders — their server endpoints are not yet wired, and fabricating fake ones would break the "preserve existing functionality" rule. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
1.5 KiB
TypeScript
39 lines
1.5 KiB
TypeScript
import { VOCAB } from "@paperclipai/branding";
|
|
import { SettingsSection, SettingsRow } from "./SettingsSection";
|
|
|
|
const NEXUS_VERSION = "1.7-dev";
|
|
|
|
export function AboutSection() {
|
|
return (
|
|
<SettingsSection title="About">
|
|
<SettingsRow label="Version">
|
|
<span className="font-mono text-xs text-muted-foreground">
|
|
{VOCAB.appName} {NEXUS_VERSION}
|
|
</span>
|
|
</SettingsRow>
|
|
<SettingsRow label="Fork of">
|
|
<span className="font-mono text-xs text-muted-foreground">Paperclip</span>
|
|
</SettingsRow>
|
|
<SettingsRow label="License">
|
|
<a
|
|
href="https://opensource.org/license/mit"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
className="text-xs text-muted-foreground underline underline-offset-4 hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
|
>
|
|
MIT
|
|
</a>
|
|
</SettingsRow>
|
|
<SettingsRow label="Source">
|
|
<a
|
|
href="https://github.com/paperclip-ai/paperclip"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
className="text-xs text-muted-foreground underline underline-offset-4 hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
|
>
|
|
github.com/paperclip-ai/paperclip
|
|
</a>
|
|
</SettingsRow>
|
|
</SettingsSection>
|
|
);
|
|
}
|