agent: lumotia-rebrand — frontend strings (svelte + i18n + design-system)
Some checks failed
check / cargo check (macos-latest) (push) Has been cancelled
check / cargo check (ubuntu-22.04) (push) Has been cancelled
check / cargo check (windows-latest) (push) Has been cancelled
check / svelte build + lint (push) Has been cancelled

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:
2026-05-13 12:29:37 +01:00
parent 16081095e0
commit 681a9b26dc
37 changed files with 115 additions and 115 deletions

View File

@@ -3,10 +3,10 @@
//
// Refresh triggers:
// - module load (first time)
// - magnotia:task-completed (from page.svelte.ts completeTask)
// - magnotia:step-completed (from MicroSteps.svelte)
// - magnotia:task-uncompleted (new event, emitted by uncompleteTask in Task 10)
// - magnotia:task-deleted (new event, emitted by deleteTask in Task 10)
// - lumotia:task-completed (from page.svelte.ts completeTask)
// - lumotia:step-completed (from MicroSteps.svelte)
// - lumotia:task-uncompleted (new event, emitted by uncompleteTask in Task 10)
// - lumotia:task-deleted (new event, emitted by deleteTask in Task 10)
// - window focus (for day rollover while the app stayed open
// past midnight)
//

View File

@@ -1,5 +1,5 @@
// Phase 6 Margot nudge bus. Frontend-owned, subscribes to in-app
// signals Magnotia already produces, applies suppression, and fans out
// signals Lumotia already produces, applies suppression, and fans out
// to OS notification (via Rust's deliver_nudge) + optional TTS.
//
// Why frontend-only: OS-wide keyboard/window detection is fragile
@@ -191,7 +191,7 @@ async function checkPendingMorningTriage() {
triageNudgeFiredOnKey = today;
void deliver(
"A few things waiting",
"When you're ready, Magnotia has your morning list. No rush.",
"When you're ready, Lumotia has your morning list. No rush.",
);
}

View File

@@ -46,7 +46,7 @@ const TEMPLATES_KEY = "lumotia_templates";
// One-shot key rename from the magnotia era. Idempotent. Runs once at
// module load before any localStorage read below.
migrateLocalStorageKeys([
["lumotia_settings", SETTINGS_KEY],
["magnotia_settings", SETTINGS_KEY],
["magnotia_profiles", PROFILES_KEY],
["magnotia_task_lists", TASK_LISTS_KEY],
["magnotia_templates", TEMPLATES_KEY],
@@ -113,8 +113,8 @@ function loadSettings(): SettingsState {
queueMicrotask(() => {
toasts.warn(
"Settings reset",
"Your saved settings couldn't be read, so Magnotia fell back to defaults. "
+ "Earlier Magnotia builds can still read your old data.",
"Your saved settings couldn't be read, so Lumotia fell back to defaults. "
+ "Earlier Lumotia builds can still read your old data.",
);
});
}
@@ -128,7 +128,7 @@ export const settings = $state<SettingsState>(loadSettings());
export function saveSettings() {
if (!canUseStorage()) return;
// Versioned envelope {version, data}. Older Magnotia builds that used
// Versioned envelope {version, data}. Older Lumotia builds that used
// the bare-object layout can still spread the `data` key over
// their defaults — they will just silently drop fields they don't
// know about, which is the same behaviour as today.

View File

@@ -1,7 +1,7 @@
import type { ToastItem, ToastSeverity } from "$lib/types/app";
import { errorMessage } from "$lib/utils/errors.js";
// Minimal toast store. Roll-our-own (no svelte-french-toast etc) so Magnotia
// Minimal toast store. Roll-our-own (no svelte-french-toast etc) so Lumotia
// stays lean. Toasts auto-dismiss after `duration` ms unless duration is 0
// (sticky) or unless the user clicks the close button.
//