refactor(viewer): drop kon_history localStorage; route edits through update_transcript

This commit is contained in:
2026-04-19 16:06:19 +01:00
parent 5e3bc369de
commit 6113e6d784
2 changed files with 29 additions and 15 deletions

View File

@@ -83,9 +83,9 @@ export function saveProfiles() {
// array is seeded empty on module init and hydrated from SQLite on boot
// in the desktop runtime. Browser preview (no Tauri) shows an empty list.
//
// The previous `kon_history` localStorage read-cache was removed to kill
// the cold-start flicker where the UI painted stale localStorage data and
// then overwrote it from SQLite a tick later.
// The previous localStorage history read-cache was removed to kill the
// cold-start flicker where the UI painted stale cached data and then
// overwrote it from SQLite a tick later.
import { invoke } from "@tauri-apps/api/core";
import { hasTauriRuntime } from "$lib/utils/runtime.js";