Rebrand remaining UI strings to Keynectr

Sidebar brand, home welcome title, settings version line, stylesheet
header comment and the three tests asserting them.
This commit is contained in:
Avi 2026-08-23 10:43:20 -05:00
commit 31ef3057e0
7 changed files with 7 additions and 8 deletions

View file

@ -32,8 +32,7 @@ export function Sidebar({ screen, onNavigate }: SidebarProps) {
<Icon name="shield" size={22} /> <Icon name="shield" size={22} />
</span> </span>
<div> <div>
<strong>Nostr Feed</strong> <strong>Keynectr</strong>
<span className="sidebar-subtitle">Manager</span>
</div> </div>
</div> </div>

View file

@ -77,7 +77,7 @@ export function HomeScreen({ onNavigate, onCreateProfile }: HomeScreenProps) {
<div className="screen-inner"> <div className="screen-inner">
<EmptyState <EmptyState
icon={<Icon name="users" size={30} />} icon={<Icon name="users" size={30} />}
title="Welcome to Nostr Feed Manager" title="Welcome to Keynectr"
description={ description={
<span> <span>
You haven't created a profile yet. A Nostr profile is your identity on the public You haven't created a profile yet. A Nostr profile is your identity on the public

View file

@ -161,7 +161,7 @@ export function SettingsScreen() {
<dl className="info-list"> <dl className="info-list">
<div> <div>
<dt>Application</dt> <dt>Application</dt>
<dd>Nostr Feed Manager v{state?.version ?? '?'}</dd> <dd>Keynectr v{state?.version ?? '?'}</dd>
</div> </div>
<div> <div>
<dt>Backend</dt> <dt>Backend</dt>

View file

@ -1,5 +1,5 @@
/* ========================================================================= /* =========================================================================
Nostr Feed Manager design system Keynectr design system
Light/dark/system themes via `data-theme` on <html>. Light/dark/system themes via `data-theme` on <html>.
========================================================================= */ ========================================================================= */

View file

@ -15,7 +15,7 @@ describe('App', () => {
const { user } = renderApp(backend); const { user } = renderApp(backend);
render(<App />); render(<App />);
expect(await screen.findByText('Welcome to Nostr Feed Manager')).toBeInTheDocument(); expect(await screen.findByText('Welcome to Keynectr')).toBeInTheDocument();
expect(screen.getByRole('button', { name: /Create your first profile/i })).toBeInTheDocument(); expect(screen.getByRole('button', { name: /Create your first profile/i })).toBeInTheDocument();
expect(screen.getByText(/A Nostr profile is your identity/i)).toBeInTheDocument(); expect(screen.getByText(/A Nostr profile is your identity/i)).toBeInTheDocument();

View file

@ -48,7 +48,7 @@ describe('HomeScreen', () => {
const { onCreateProfile } = renderHome(backend); const { onCreateProfile } = renderHome(backend);
renderWithApp(<HomeScreen onNavigate={vi.fn()} onCreateProfile={onCreateProfile} />); renderWithApp(<HomeScreen onNavigate={vi.fn()} onCreateProfile={onCreateProfile} />);
expect(await screen.findByText('Welcome to Nostr Feed Manager')).toBeInTheDocument(); expect(await screen.findByText('Welcome to Keynectr')).toBeInTheDocument();
await userEvent await userEvent
.setup() .setup()
.click(screen.getByRole('button', { name: /Create your first profile/i })); .click(screen.getByRole('button', { name: /Create your first profile/i }));

View file

@ -61,7 +61,7 @@ describe('SettingsScreen', () => {
installFakeBackend(backend); installFakeBackend(backend);
renderWithApp(<SettingsScreen />); renderWithApp(<SettingsScreen />);
expect(await screen.findByText(/Nostr Feed Manager v/)).toBeInTheDocument(); expect(await screen.findByText(/Keynectr v/)).toBeInTheDocument();
expect(screen.getByText('Rust (nostr-sdk)')).toBeInTheDocument(); expect(screen.getByText('Rust (nostr-sdk)')).toBeInTheDocument();
}); });
}); });