Phase 4a. The ProseMirror focus handler starts a 20 ms timer that writes
the ProseMirror selection back to the DOM. Under load, the timer ran
after a native arrow move and before ProseMirror read the
selectionchange event, so one move was lost. The cell editor now moves
the DOM selection with Selection.modify and reads the result in the
same key event. This covers plain and Shift arrows and word moves.
Other shortcuts stay with the browser.
- Workbench.svelte no longer filters access events. Rust already drops
them.
- Delete the unused TipTap Writer: WriterHost.svelte, writerMenu.ts,
writerMarks.ts, headingMarks.ts, and their two unit tests.
- Remove the 8 TipTap packages that only the Writer used, and its entry
in docs/menu-surfaces.json.
With a 4x CPU slowdown, 11 of 60 runs failed before the fix and 0 of
120 after it. pnpm check, pnpm test, and the smoke suite pass.
The formula engine, the rendered results, and the formula help now
come from src/lib/formulas/. The editor and the renderer call this
module directly. The tableFormulas contribution type is removed.
- Add the tableFormulas general setting (default on) and a switch in
Settings > General. When it is off, formulas show as source text.
- Do not load an installed runestone.table-formulas package. Settings
> Plug-ins marks it as included with RuneStone and tells the user
that it can be removed. The user's files stay in place.
- Translate the formula help and the error descriptions into French,
Japanese, and Simplified Chinese.
- Port the plugin unit tests. Test the setting and use a test-only
contribution for the generic plugin lifecycle tests.
- Smoke tests load only Terminal. The formula and lifecycle tests use
the built-in feature and its setting.
- Remove scripts/buildPlugins.mjs, the build:plugins script, and the
plugin-packages requirement of the smoke runner.
- Remove RuneStone_Table_Formulas from the menu audit scope. It had no
menu surfaces.
- Update the README, the user guides, and the developer references.
Keep the user preferences in settings.json in the app config folder.
WebView storage can be lost, and the host cannot read it. The file has
a schema number, a revision number, and one value for each section:
general, appearance, customThemes, customThemesLegacy, and language.
- settings_read gives all sections, the revision, and a one-time
notice.
- settings_write replaces one section, writes the file atomically, and
sends settings-changed to all windows. The limit is 8 MiB.
- settings_migrate writes the first file only when no file exists.
- The host moves a damaged file to settings.corrupt-<seconds>.json,
starts from the defaults, and reports this one time.
Each window loads the sections before its first render. One store in
src/lib/settings/store.ts replaces the storage listeners. When no file
exists, the window normalizes the old localStorage values and migrates
them. The old keys stay in place for one release. The window layout
and the open tabs stay in localStorage on purpose. The browser preview
keeps all preferences in localStorage.
Keep tab transfer offers in host memory, not in localStorage, because
an offer can hold unsaved text. A window takes an offer once. The host
checks the workspace root and a 120 second expiry. When the receiver
accepts the tab, the host sends tab-transfer-accepted to the source
window only. A refused offer stays open, and the source tab stays open.
A new window and a drop on the tab ribbon use one check.
The smoke harness serves the new commands from one shared state for
each browser context. Tests read saved values from the mock settings
file. Rust, unit, and smoke tests cover the changes.
Run the blocking workspace commands on the blocking thread pool.
Tauri runs a synchronous command on the main thread, so a long search
or copy froze every window. Command names, arguments, and results do
not change.
Send each workspace-event only to the windows that have its root open.
The frontend listens with its window label as the target. Do not send
access events, because the frontend ignores them. Drop watchers after
the state lock is released, because a macOS watcher waits for its
thread when it stops.
Fix these defects. Each fix has a Rust test:
- A rename that changes only the letter case works on case-insensitive
volumes.
- New files publish with a move that never replaces a file: MoveFileExW
on Windows, renameat2 or renamex_np on Linux and macOS, then a hard
link, then create_new. exFAT, FAT32, and many network mounts now work.
The Windows save recovery uses the same move.
- On macOS and Linux, existing names with a colon stay usable. New names
reject the characters that Windows does not allow, on every platform.
- workspace_read_data_url checks the size before it reads the file.
- workspace_write_bytes uses the atomic writer. Its only caller writes
new names, so it gets no conflict check.
- Delete and rename act on a link itself, not on its target.
Delete now moves items to the system trash. One file moves without a
confirmation. A folder or several items need one. Shift+Delete and
"Delete permanently" keep the permanent delete with its confirmation.
Windows drives without a Recycle Bin give an error instead of a silent
permanent delete. The smoke test for tree actions now checks this
behavior. The user guide describes it and the new-name rule.
vite.config.js reads RUNESTONE_VERSION and falls back to package.json.
The installer build sets RUNESTONE_VERSION and writes all four version
files only after the installer exists. Before, it wrote package.json
before the build and restored it after a failure.
The installation guide and CLAUDE.md now say that setup replaces the
installed app in place. The installer no longer shows a maintenance page.