Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions desktop/core/src/whats_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ pub struct Release {
/// Highlights per release, newest first (German source strings, translated by `l!`).
fn notes() -> Vec<(&'static str, Vec<String>)> {
vec![
(
"1.5.8",
vec![
l!("Neues Design: ruhigere Farben, größere Schaltflächen und Eingabefelder, je Ansicht eine klare Hauptaktion; die Aktionen an Projekten sind jetzt immer sichtbar."),
],
),
(
"1.5.7",
vec![
Expand Down
1 change: 1 addition & 0 deletions desktop/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@
"Neuer Schalter „Beta-Versionen“ in der Seitenleiste: Ist er an, bietet die Update-Suche auch Beta-Versionen an.": "New “Beta versions” switch in the sidebar: when it is on, the update check offers beta versions too.",
"Neuer Server": "New server",
"Neues Design: Seitenleiste, Budgetbalken mit Ampel, Projektstatus auf einen Blick mit „Alle reparieren“ – und Projektordner einfach auf ein Profil ziehen.": "New design: sidebar, budget bars with traffic-light colors, project status at a glance with “Repair all” – and project folders simply dragged onto a profile.",
"Neues Design: ruhigere Farben, größere Schaltflächen und Eingabefelder, je Ansicht eine klare Hauptaktion; die Aktionen an Projekten sind jetzt immer sichtbar.": "New design: calmer colours, larger buttons and fields, one clear main action per view; project actions are now always visible.",
"Neues Profil": "New profile",
"Nicht angemeldet": "Not signed in",
"Nicht angemeldet – Claude-Anfragen schlagen fehl. Beim Profil „Anmelden“ wählen.": "Not signed in – Claude requests will fail. Choose “Sign in” on the profile.",
Expand Down
14 changes: 7 additions & 7 deletions desktop/ui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ function summaryBar() {
attention > 0 && h('span', { class: 'orange' }, ` · ${attention === 1 ? t('1 braucht Aufmerksamkeit') : t('%@ brauchen Aufmerksamkeit', attention)}`)),
h('span', { class: 'spacer' }),
repairable.length > 0 && button(repairable.length === 1 ? t('Reparieren') : t('Alle reparieren'),
() => call('reapply_many', { bindingIds: repairable.map((b) => b.id) }), { iconName: 'rotate', cls: 'primary' }));
() => call('reapply_many', { bindingIds: repairable.map((b) => b.id) }), { iconName: 'rotate' }));
}

// MARK: Profiles
Expand Down Expand Up @@ -601,8 +601,8 @@ function credentialRow(profile, testConnection, check) {
h('span', { class: 'spacer' }),
ok && button(check.checking ? t('Wird geprüft …') : t('Verbindung prüfen'), testConnection, { iconName: 'activity', disabled: check.checking }),
!ok && !profile.subscription && (profile.sso
? button(t('Anmelden'), () => call('sso_login', { profileId: profile.id }), { iconName: 'key', cls: 'primary', disabled: profile.ssoLoggingIn })
: button(t('Key hinterlegen'), () => replaceKeyDialog(profile), { iconName: 'key', cls: 'primary' })));
? button(t('Anmelden'), () => call('sso_login', { profileId: profile.id }), { iconName: 'key', disabled: profile.ssoLoggingIn })
: button(t('Key hinterlegen'), () => replaceKeyDialog(profile), { iconName: 'key' })));
}

const OFFICE_APP_NAMES = { excel: 'Excel', word: 'Word', powerpoint: 'PowerPoint' };
Expand Down Expand Up @@ -639,7 +639,7 @@ function profileCard(profile) {
h('div', { class: 'card-head' },
h('span', { class: 'avatar', 'aria-hidden': 'true' }, initials(profile.name)),
h('div', { class: 'card-title' },
h('h2', null, profile.name, profile.sso && h('span', { class: 'badge' }, 'SSO'), profile.subscription && h('span', { class: 'badge' }, t('Claude-Abo')),
h('h2', null, profile.name, !profile.sso && !profile.subscription && h('span', { class: 'badge' }, t('Key')), profile.sso && h('span', { class: 'badge' }, 'SSO'), profile.subscription && h('span', { class: 'badge' }, t('Claude-Abo')),
profile.managed && h('span', { class: 'badge' }, t('Von der IT vorgegeben'))),
h('div', { class: 'muted small selectable' }, (profile.subscription ? t('Anmeldung von Claude Code') : profile.endpoint)
+ (profile.modelAlias ? t(' · Modell %@', profile.modelAlias) : '')),
Expand Down Expand Up @@ -817,7 +817,7 @@ function settingsPage() {
icon(health.state === 'active' ? 'check' : 'warning'), healthText),
h('div', { class: 'line' }, h('span', { class: 'spacer' }),
button(t('Übernehmen'), async () => { if (!selected || await ensureLogin(selected)) call('set_global_profile', { profileId: selected || null }); },
{ cls: 'primary', disabled: unchanged || (!selected && !view.globalProfileId) || view.disabled })),
{ disabled: unchanged || (!selected && !view.globalProfileId) || view.disabled })),
h('div', { class: 'section-note' }, t('Trägt das Profil in ~/.claude/settings.json ein. Claude Code nutzt es in allen Ordnern ohne eigene Zuordnung, statt auf einen Klartext-Key oder die normale Anmeldung zurückzufallen. Zugeordnete Projekte behalten ihr eigenes Profil.'))),
];
}
Expand Down Expand Up @@ -1522,7 +1522,7 @@ function toolCard(info, status, ...extra) {
h('span', { class: 'avatar', style: `--profile: ${info.color}`, 'aria-hidden': 'true' }, icon(info.symbol)),
h('div', { class: 'card-title' }, h('h2', null, info.title), h('div', { class: 'muted small' }, info.subtitle)),
status && !installed && status.hostFound && button(installing ? t('Wird installiert …') : t('Installieren'),
() => call('install_tool', { tool: info.tool }), { iconName: 'download', cls: 'primary', disabled: !!view.installingTool })),
() => call('install_tool', { tool: info.tool }), { iconName: 'download', disabled: !!view.installingTool })),
h('div', { class: `finding ${installed ? 'green' : 'muted'}` }, icon(installed ? 'check' : 'info'), text,
installing && h('span', { class: 'spinner', role: 'status', 'aria-label': t('Wird installiert …') })),
extra);
Expand Down Expand Up @@ -1551,7 +1551,7 @@ function claudeDesktopSettings() {
button(t('Übernehmen'), async () => {
const signsInItself = view.profiles.find((p) => p.id === selected)?.claudeDesktop;
if (!selected || signsInItself || await ensureLogin(selected)) call('set_claude_desktop_profile', { profileId: selected || null });
}, { cls: 'primary', disabled: (selected === current && (!selected || view.claudeDesktop.applied)) || (!!selected && view.claudeDesktop.managed) })),
}, { disabled: (selected === current && (!selected || view.claudeDesktop.applied)) || (!!selected && view.claudeDesktop.managed) })),
h('div', { class: 'section-note' }, t('KeyZapper legt dafür eine Konfigurationsdatei für den Drittanbieter-Modus von Claude Desktop an: Anfragen gehen an das Gateway des Profils, Key oder SSO-Token holt Claude Desktop über den Helper – wie Claude Code –, oder es meldet sich selbst an, wenn das Profil „Claude Desktop (SSO)“ eingerichtet hat. Danach Claude Desktop beenden, neu öffnen und auf dem Anmeldebildschirm den Start mit dieser Konfiguration wählen.')));
}

Expand Down
Loading