Phase 9 of the rebrand cascade. Sweep covers everything the Phase 8
frontend pass deliberately skipped: docs/, root markdown, scripts,
Cargo.toml descriptions, code comments that survived earlier
word-boundary sed, plus a handful of identifiers caught on the final
verify pass.
transcription-app changes:
- README.md, HANDOVER.md, KNOWN-ISSUES.md, run.sh — magnotia/Magnotia
-> lumotia/Lumotia.
- docs/ — sweep across all subdirs except docs/handovers/ (preserved
as immutable audit trail). Includes architecture-map references
to magnotia_core::*, magnotia_storage::*, etc. now pointing at
lumotia_*; dev-setup.md tracing output examples (lumotia_startup
target); brief/ + superpowers/ + issues/ + whisper-ecosystem/ +
audit/.
- Cargo.toml descriptions on 9 crates (core, audio, cloud-providers,
hotkey, llm, mcp, plus referenced others).
- crates/core/src/{error,hardware,recommendation,paths}.rs +
crates/audio/src/wav.rs + crates/llm/src/model_manager.rs +
crates/cloud-providers/src/keystore.rs + crates/mcp/src/lib.rs —
doc comments and a model-manager user-agent string.
- Caught on final pass: BroadcastChannel("magnotia_task_sync") -> ...
("lumotia_task_sync"); magnotia_locale i18n localStorage key
renamed + migration shim added; CSS keyframe names
magnotiaPulse / magnotiaBar / magnotiaFade renamed in the design-
system kit; magnotia_viewer_item / magnotia_viewer_mode handoff
keys renamed in HistoryPage + viewer/+page.svelte; src/assets/
wordmark.svg text.
- src-tauri/src/lib.rs comment cleanup ("magnotia era" was sed'd
to "lumotia era" earlier — restored).
Preserved (intentional):
- crates/core/src/paths.rs — keeps "magnotia" / "Magnotia" / ".magnotia"
legacy detection strings in legacy_and_target_paths() so the
migration shim can still find user data from the magnotia era.
- src/lib/stores/{page,focusTimer}.svelte.ts + src/lib/i18n/index.ts
— migration call sites reference the legacy magnotia keys
deliberately.
- docs/handovers/ — historical audit trail.
cargo build --workspace passes. 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>
3.3 KiB
3.3 KiB
name, type, slice, last_verified
| name | type | slice | last_verified |
|---|---|---|---|
| Tasks page | architecture-map-page | 01-frontend | 2026/05/09 |
Tasks page
Where you are: Architecture map → Frontend → Pages overview → Tasks
Plain English summary. The full screen tasks board. Inbox, today, soon, later buckets. Per task energy chips (low/medium/high), per task lists, micro steps, completion sparkline, search, sort, drag to reorder, and a "pop out" button that opens the same tasks in a small persistent floating window via open_task_window.
At a glance
- Path:
src/lib/pages/TasksPage.svelte - LOC: 725
- Imports (selected):
- Stores: from
page.svelte.ts:tasks,addTask,completeTask,uncompleteTask,deleteTask,updateTask,setTaskEnergy,taskLists,addTaskList,renameTaskList,deleteTaskList,settings,saveSettings. FromcompletionStats.svelte.ts:recentCompletions,todayCount. - Components:
WipTaskList,EmptyState,CompletionSparkline,EnergyChip,Card. - Utils:
formatTimestamp(time).BUCKET_COLORS,EFFORT_LABELS,EFFORT_ORDER(constants). - External:
lucide-svelte(SquareCheck,Search,ExternalLink,ChevronLeft,ArrowUpDown,Plus,X,ChevronRight,Zap).
- Stores: from
What's in here
Local state
activeBucket("all" | "inbox" | "today" | "soon" | "later").activeListId("all" | "inbox" | <listId>).showCompleted,quickInput,searchQuery,sidebarCollapsed.
Render
- Quick add input (top). Sets bucket via segmented choice, energy via
EnergyChip. - Filter / sort header. Sort modes use
EFFORT_ORDERfor effort comparisons. - Task list body uses
WipTaskList(which renders rows withMicroStepsexpansion). - "Pop out" icon →
invoke("open_task_window")(TasksPage.svelte:231). - Sparkline panel renders
CompletionSparklineifsettings.showMomentumSparklineis true.
Stores it depends on
tasks(live array).taskLists.recentCompletionsfor the sparkline.
Events
- Listens implicitly to:
lumotia:task-completed,lumotia:task-uncompleted,lumotia:task-deleted,lumotia:step-completedare emitted from store helpers and consumed bycompletionStats.svelte.tsto refresh the sparkline.
Tauri command surface (direct)
open_task_window(page action).
The store helpers used here call into Rust through add_task_cmd, complete_task_cmd, uncomplete_task_cmd, delete_task_cmd, plus list management commands (*_task_list_cmd).
Watch outs
- Drag and drop is heavy on this page. Reorder mutations should always go via the store helpers; do not manipulate
tasksdirectly or you will desync the SQLite source of truth. - The sparkline is gated on
settings.showMomentumSparkline(true by default). It re renders on the fourlumotia:task-*events, plus window focus for date rollover. - "Pop out" deliberately does not pass any state. The float window reads the same store, which is shared via store hydration on mount and
localStorageforsettings. - Sort, filter, search are not persisted. Reload returns to defaults.
See also
- Components.
WipTaskList,MicroSteps,EnergyChip,CompletionSparkline. - Stores.
pagetask helpers,completionStats. - Windows and routes. The float window equivalent.