agent: lumotia-rebrand — frontend strings (svelte + i18n + design-system)
Phase 8 of the rebrand cascade. Every rendered string is now Lumotia;
no Magnotia surface visible in the UI.
Sweep replaced \bmagnotia\b -> lumotia and \bMagnotia\b -> Lumotia
across all .svelte / .ts / .js / .css / .html / .json (excluding
package-lock.json which regenerates, target/, build/, node_modules/).
Surfaces touched:
- src/app.css — design-token comment header and .magnotia-rh-* CSS
resize-handle class selectors (also the consuming elements in
components/ResizeHandles.svelte and src/routes/*/+layout.svelte).
- src/lib/i18n/locales/{en,de,es}.json — brand name in translations.
- src/lib/i18n/index.ts — header comment.
- src/lib/Sidebar.svelte and most pages under src/lib/pages/ +
src/lib/components/ — title bars, document titles, default
filenames (lumotia-YYYY-MM-DD.* etc), toast strings, error
messages, dialog headers.
- src/routes/+layout.svelte, +page.svelte, viewer/, float/, preview/.
- src/app.html page <title>.
- src/lib/utils/settingsMigrations.ts — fallback toast copy.
- src/design-system/{colors_and_type.css,SKILL.md,README.md,
ui_kits/{Sidebar.jsx,index.html}} — design-tokens, doc strings,
preview wordmark in the kit.
- package.json — name + description.
NOT touched (deferred / immutable):
- package-lock.json — regenerates on next npm install.
- The two migration-call sites in stores reference the legacy magnotia
keys deliberately; restored after the sweep clobbered them.
- docs/, README.md, HANDOVER.md — Phase 9 scope.
npm run check: 0 errors / 0 warnings (3958 files).
cargo test --workspace: 339 pass / 0 fail.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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>Magnotia Transcript</title>
|
||||
<title>Lumotia 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 Magnotia history rows).
|
||||
// Try DD/MM/YYYY, HH:MM:SS (UK local format used by Lumotia 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 magnotia-llm wires up real llama-cpp-2 in Phase 3.
|
||||
// (`topic:*`) once lumotia-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 magnotia-hotkey parser does,
|
||||
/** Tokenise a `+`-joined hotkey the way the lumotia-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,5 +1,5 @@
|
||||
/**
|
||||
* Phase 7 of the magnotia -> lumotia rebrand cascade. Persisted UI state
|
||||
* Phase 7 of the lumotia -> lumotia rebrand cascade. Persisted UI state
|
||||
* survives the rename via one-shot key migrations run at module-load
|
||||
* inside the stores that own each key.
|
||||
*
|
||||
|
||||
@@ -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 Magnotia build) can
|
||||
* separately so a downgrade (user jumps to an older Lumotia 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