chore: rebrand from Kon/Corbie to Magnotia
Replace all instances of the legacy product names "Kon" and "Corbie" with "Magnotia" across user-facing copy, code identifiers, package names, bundle ids, file paths, and documentation. Preserves the unrelated "konsole" (KDE terminal) reference and the parent CORBEL company name. - Renames 10 Rust crates (kon-* → magnotia-*) and the tauri binary - Updates package.json, tauri.conf.json (productName + identifier) - Renames CSS classes (kon-rh-* → magnotia-rh-*) and animations - Renames brand and roadmap docs - Regenerates Cargo.lock and package-lock.json Verified: svelte-check passes; pure-rust crates compile under new names.
This commit is contained in:
@@ -70,7 +70,7 @@ function toHTML(text: string, segments: Segment[]): string {
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kon Transcript</title>
|
||||
<title>Magnotia Transcript</title>
|
||||
<style>
|
||||
body { font-family: "DM Sans", system-ui, sans-serif; max-width: 700px; margin: 2rem auto; padding: 0 1rem; color: #1a1816; line-height: 1.7; }
|
||||
h1 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; }
|
||||
|
||||
@@ -43,7 +43,7 @@ function timeOfDayTag(dateStr: string): string | null {
|
||||
if (!dateStr) return null;
|
||||
let ts = Date.parse(dateStr);
|
||||
if (Number.isNaN(ts)) {
|
||||
// Try DD/MM/YYYY, HH:MM:SS (UK local format used by Kon history rows).
|
||||
// Try DD/MM/YYYY, HH:MM:SS (UK local format used by Magnotia history rows).
|
||||
const match = String(dateStr).match(
|
||||
/(\d{1,2})\/(\d{1,2})\/(\d{4})[,\s]+(\d{1,2}):(\d{2})(?::(\d{2}))?/,
|
||||
);
|
||||
@@ -75,7 +75,7 @@ function sourceTag(source: string): string | null {
|
||||
// already shown elsewhere in the History row, so chips would duplicate
|
||||
// information and add cognitive load without improving retrieval. The
|
||||
// function is kept as a hook for one future AI-derived content tag
|
||||
// (`topic:*`) once kon-llm wires up real llama-cpp-2 in Phase 3.
|
||||
// (`topic:*`) once magnotia-llm wires up real llama-cpp-2 in Phase 3.
|
||||
export function deriveAutoTags(_item: TranscriptEntry): string[] {
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export interface HotkeyParts {
|
||||
trigger: string; // e.g. "R" — may be empty if we're mid-record
|
||||
}
|
||||
|
||||
/** Tokenise a `+`-joined hotkey the way the kon-hotkey parser does,
|
||||
/** Tokenise a `+`-joined hotkey the way the magnotia-hotkey parser does,
|
||||
* but without demanding a fully-valid combo (we validate next). The
|
||||
* last part is always the trigger key; everything before is a
|
||||
* modifier. An empty/whitespace combo returns empty parts. */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Forward-compatible, versioned settings migration.
|
||||
*
|
||||
* Historically, `localStorage["kon_settings"]` was a bare JSON object
|
||||
* Historically, `localStorage["magnotia_settings"]` was a bare JSON object
|
||||
* (whatever `SettingsState` looked like at write time). That shape
|
||||
* tolerates new fields cleanly — spread over `defaults` — but does not
|
||||
* survive:
|
||||
@@ -23,7 +23,7 @@ import { parseStoredJson } from "$lib/utils/storage";
|
||||
export const CURRENT_SETTINGS_VERSION = 1;
|
||||
|
||||
/** Envelope written to localStorage. The raw blob is always kept
|
||||
* separately so a downgrade (user jumps to an older Kon build) can
|
||||
* separately so a downgrade (user jumps to an older Magnotia build) can
|
||||
* still read v1 data even after we've bumped to v2. */
|
||||
export interface VersionedSettings<T> {
|
||||
version: number;
|
||||
|
||||
Reference in New Issue
Block a user