With a background image, menus use the surface transparency of Appearance
(82% by default) instead of at least 92%, and they keep the blur.
Hovered rows and controls in the work area, hovered menu rows, and the
workspace button use the new --rs-hover-bg token. With an image, it is a
6% veil of the strong text color. The image stays visible, and the hover
shows over light and dark image areas. Without an image, nothing changes.
Silver Serpent dim text is now #c2c6cc. It keeps 4.5:1 contrast on a
hovered row over a white image.
UI-061 replaces the image rule of UI-043. Card 05b9bfa1.
The Changes section and its unstaged group both showed "Changes (2)".
The group title is now "Unstaged changes (2)". The section title keeps the total count.
- Every interface string of Project Management goes through the catalog: 539 new rows with fr, ja, and zh-CN.
- Storage and model messages use a local message() marker and stay free of host imports. The interface translates them.
- A board renders again when the language changes. Dates use the interface language.
- Fix: the ribbon button waits for the feature switches at startup, and the settings code loads no feature module.
- Add six smoke tests: board state, cards, menus, drag and drop, views, and language.
- Add docs/guides/project-management.md and UI-060. Update the user, plugin, SDK, host, development, and interface docs and CLAUDE.md.
- Name the fake board view of tree/renameUndo "Board fixture", because the native Project Management button is now in the ribbon.
- Move the storage and model of the plugin into src/lib/features/pm/ as pure TypeScript, so the skill can still bundle them.
- Move the DOM interface onto the host menus, the shared tooltip, and the host icons.
- A ribbon button opens Project Management. Board tabs keep the owner runestone.pm and the board-<hex> view IDs through view patterns.
- Read only .runestone/pm/. Offer the plugin migration, with backups, for legacy notes.
- A save, move, or delete reads only that card again. Watcher paths reach the feature.
- Add Settings → Project Management and the projectManagement section. View states move to localStorage.
- Background reads the boards from workspace.json. Remove api.backgrounds and the boards service.
- Add yaml 2.9.1. Use the host markdown-it.
- Move 18 plugin test files to tests/unit/features/pm/ and add native tests.
- Move the PDF Viewer plugin into src/lib/features/pdf/ with pdfjs-dist 6.4.299 (minified builds).
- A static pdf document type marks PDF files and opens them as tabs. The first PDF tab loads the module.
- The worker, the character maps, the fonts, and the decoders come from the app. One worker for each tab.
- The toolbar uses IconButton and the shared tooltip, with the new zoom-in, zoom-out, fit-width, and rotate icons.
- Add THIRD_PARTY_NOTICES.md for PDF.js and xterm.
- Update the tests, the menu inventory, the docs, and UI-059.
- Move the Terminal plugin into src/lib/features/terminal/ on the host Svelte runtime, with xterm 6.0.0 and addon-fit 0.11.0.
- Buttons, shortcuts, Help rows, and the close guard follow the Terminal switch. The first use loads the module.
- Add Settings → Terminal and the terminal settings section. The first start copies the old runestone.terminal key.
- The 16 ANSI colors come from the --rs-ansi-* tokens.
- Off asks first when a shell runs in any window (pty_running).
- Rust: no pty-data or pty-exit events, an owner check for write, resize, and close, output joined up to 64 KiB or 8 ms, and the sessions of a reloaded page close.
- Remove api.pty, the terminal contribution, TerminalSlot, and the plugin loader of the smoke harness.
- Check only the tested switches in the Background smoke test.
- Update the tests, the menu inventory, the docs, and UI-058.
- Background replaces the Background Slideshow plugin and the background image of Appearance. It shows a folder as a slideshow, or one image.
- It is on by default. Its module loads at launch only when a folder or an image is chosen.
- Rust keeps the one folder in background-folder.json. The interface never sends a path. Eight background_* commands replace the six deprecated backgrounds_* commands.
- The first start moves the slideshow folder and settings, and keeps the saved image as the image source.
- One blur worker with a cache, fewer folder reads, and a decode before each fade. The hub writes only the changed properties.
- Remove the deprecated folder methods of api.backgrounds. set, get, and subscribe stay for the Project Management plugin.
- Show the view buttons in the workbench test without text, after UI-056.
- Update the tests, the measurement tool, the docs, and UI-057.
- Write, Source, Read, and Split show icons only, at every width.
- Each control keeps its accessible name and a tooltip with its shortcut.
- UI-056 records the rule. It replaces the names of UI-049.
- scripts/measureFeatures.mjs starts a test build with remote debugging, runs each scenario 3 times, and writes the medians to output/phase-7/<stage>/.
- It records the private bytes and the working set of the process tree, the JS heap, the start time, the first-need time, and long tasks.
- It refuses the installed RuneStone and its identifier, and it stops only the process tree that it started.
- Plugin mode installs the plugin ZIPs through a local Gitea-format server. Native mode uses the features settings section.
- Add the native feature runtime in src/lib/features/: the catalog, the switches, the first-start migration, the loader, and the feature sessions.
- Add Settings → Features and the features settings section.
- Add features_legacy. It reads the old plugin packages and changes nothing.
- Move Git from the plugin into src/lib/features/git/, on host internals.
- Remove api.git, the git contribution key, and the SDK Git types.
- Add pnpm check:features. It fails when a feature module loads at start.
- Update the tests, the menu inventory, the docs, and UI-055.
pnpm release:sdk now packs runestone-plugin-sdk-<version>.tgz and sdk.json
into releases/plugin-sdk/<version>/. Plugins install the SDK from the URL
of that file on the RuneStone releases page. The script no longer uses a
clone of a separate SDK repository.
Installers, browser engine ZIPs, and SDK packages now share the RuneStone
releases page.
The engine ZIP is the release browser-engine-v0.1.8 of the public
RuneStone_Releases repository: 163632595 bytes, SHA-256
d704003bf5fe047b100a3cf0ab84f3321fd272510cf287a229e50d1653d0856b.
SDK 0.1.1 is tagged v0.1.1 in the public SDK repository. It adds the
action icons duplicate, template, and tab, and the optional URL of the
browser contribution's newTab.
The engine ZIP waits for a public release location. The steps no longer
name the current Git server, its proxy, or its upload limit. They also
say how to move a published engine: upload the same ZIP and change only
the URL in the pin.
The pin names the protocol of its engine. An engine of another protocol
would fail at its first start, so the host now refuses its pin before the
download. This also uses the protocol field, which the build reported as
unread.
The installer no longer bundles the engine, and the installer script
stops when the bundle names it or when the setup file is over 30 MB.
pnpm build:browser-engine packages the engine, writes a deterministic
ZIP and its record to releases/browser-engine/<version>/, and pins the
ZIP in the host. The installer hooks remove the engine folder that 0.1.48
leaves behind, and uninstall removes the downloaded engine.
A browser tab shows the download size, Download the engine, Install from
file, and Open in default browser until the engine can start. It shows
progress, Cancel, the cause of a failure, and Retry, and then opens the
page. Settings -> Browser shows the engine state and Remove engine. Web
links open in the system browser until the engine is installed. Open
link in app browser always opens a browser tab.
Each host build pins one engine version in src-tauri/browser-engine.json.
The new engine manager downloads that ZIP over HTTPS, makes sure that its
size and SHA-256 match the pin, extracts it safely to the local app data
folder, and marks the installation last. It can also install a local
ZIP, cancel, report progress, and remove the engine. The host refuses an
engine that sends another protocol with its ready event.
A browser request now needs the session token of its window. Disabling
an old runestone.browser package no longer stops the engine. One list of
built-in modules starts the browser and the theme editor, and the plugin
menus skip their tools. The access rules no longer treat the browser ID
in a special way.
The browser data moves from the roaming app data folder to the local
app data folder before the engine starts. A failed rename falls back
to a copy. The old folder stays when the copy fails or when the new
folder exists.
0.1.48 is the test installer for Phase 5a and Phase 5: the theme
rework, the command palette, the view control, the title bar and
ribbon, keyboard and focus, the layout and Settings fixes, and the
plain fixes. It is for the owner's tests and is not published.
Decision 3 correction and the owner's ribbon direction of 2026-10-28.
- One bar at the bottom of the side pane holds the workspace switcher,
Help, and Settings, as in Obsidian. The switcher opens the workspace
list above it. The header has no workspace button.
- While the side pane is closed, the workspace switcher, Help, and
Settings move to the bottom of the left ribbon, so they stay
reachable.
- New browser tab, Terminal, Plug-in views, and Commands moved from the
header to the top of the left ribbon, so the tabs have more room.
Their menus open at the right of the ribbon. The header keeps Save,
the outline toggle, and the window controls. A detached tab window
has no ribbon and keeps these tools in its header.
- Docs: decision 3 and the ribbon tools in UI-050, ui-design.md, and
the user guide.
Tests: layout/titleBar checks the bottom bar, the ribbon fallback, and
the header buttons. workspace/openAndCreate uses the ribbon switcher in
a narrow window. tree/renameUndo reads the tools in the ribbon.
Phase 5-7.
- A changed tab asks Save, Don't save, or Cancel through the native
dialog, instead of OK and Cancel to discard.
- The conflict banner uses --rs-warn with a warning icon. Keep my
edits is the primary choice and comes first. Use disk version comes
last, in the error color. The banner wraps in a narrow pane.
- The status bar shows the save state, the line and column, the word
count, the line endings, and the view. It shows the watch mode only
when it polls a network folder.
- The outline and the document facts follow the active tab. A tab
without a document has no outline and no document facts.
- Tables: only formula cells have a hover hint, so no hint covers the
next cell. The table adds no gap above its control area. The add
controls show while a cell has focus.
- The plugin review marks Install and enable as the primary action. The
other choice is Install, keep disabled.
- Read follows CommonMark soft breaks. Settings, General, Keep line
breaks shows each source line break. The table preview and cell
editors of Write keep their line breaks, because their editing
depends on them.
- Catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-053, the user guide, and plugins.md.
Tests: the new layout/plainFixes, the keepLineBreaks cases in the
settings unit tests, and the new install button name.
Phase 5-6.
- Side panes give way when the window becomes narrow: the outline
below 1100 pixels, the side pane below 800 pixels. They come back
when the window grows. A pane that the user opens in a narrow window
stays open, and the saved layout keeps the wide-window choice.
- One function has one icon. The SDK icon set gets duplicate, template,
and tab. The reveal action has one label for each platform (Show in
Explorer, Show in Finder, Show in file manager).
- The file menu follows one order: open, clipboard, organize, show and
copy path, history, then Delete and Delete permanently in the error
color after a separator. The tree copies paths through a Copy path
submenu, as the tab menu does.
- The tree uses the shared chevron. Search hits come in groups by file,
with counts and marked matches. Bookmarks show the name, the folder,
and a remove button.
- All boolean settings use one switch design (src/lib/ui/switch.css).
Browser settings apply at once, and the Save button is gone. The
Settings window opens with the focus on its search.
- Targets of at least 24 pixels: the tab close button, outline rows,
switches, and the settings search.
- Catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-052, ui-design.md, and the user guide.
Tests: the new layout/panesAndSettings. Tests that closed or opened
panes by hand around narrow windows now rely on the new behavior, or
wait for the panes to give way before they reopen one. Tests that read
the old menu labels or the browser Save button use the new ones.
Phase 5-5.
- The current radio row shows a check mark in the icon column and no
fill (UI-051, replaces the radio rule of UI-003). The list of all
tabs names pinned tabs in text.
- Keyboard focus adds a 2-pixel ring inside menu rows. The global
focus ring is 2 pixels with a 1-pixel offset.
- Active toggles get the accent color, the selection fill, and a
2-pixel accent bar. Hover gets only a neutral fill. Enabled icon
buttons use --rs-text.
- Disabled controls use --rs-text-dim at full opacity, not opacity.
- The file tree has one Tab stop. Up and Down move, Shift extends the
selection, Right opens or enters a folder, Left closes it or goes to
its parent, Home and End go to the ends, and typed letters find a
row.
- The three workbench splitters take focus. The arrow keys move them
by 16 pixels, and Home and End go to their limits.
- Help names Esc, then Tab, to leave the text.
- 5 new catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-051, ui-design.md, and the user guide.
Tests: the new layout/keyboardFocus. backgroundImages now expects the
check mark on the current radio row.
Phase 5-4.
- The workspace button sits at the left end of the header. It shows
the workspace name and opens the workspace list below it.
- The left ribbon is always present: plugin views at the top, Help and
Settings at the bottom. The left pane footer is gone.
- Tabs keep 120 pixels and scroll. Fades show tabs out of view, and a
list button names all tabs, with pinned and unsaved marks. The
active tab now scrolls into view with its close button.
- A drag area of 120 pixels follows the tabs. In a narrow header, the
tabs shrink first, and the drag area keeps at least 48 pixels.
- Caption buttons are square, 46 pixels wide, and full height. When the
pointer rests on maximize, the new window_snap_layouts command opens
Snap Layouts with Win+Z for the focused window.
- macOS keeps its native traffic lights: tauri.macos.conf.json and the
runtime window builders use an overlay title bar. Title bars leave
--rs-titlebar-inset-start free for the traffic lights.
- 3 new catalog rows and 1 removed row, in French, Japanese, and
Simplified Chinese.
- Docs: UI-050, the user guide, and ui-design.md.
Tests: the new layout/titleBar. Tests that used the left pane footer,
the rounded caption buttons, the 600-pixel theme editor pane, or a
ribbon of no width now follow the new layout.
Phase 5-3.
- One radio group shows Write, Source, and Read at all times, with an
icon and a name. Narrow panes show only the icons. The arrow keys
move the choice, and the group has one Tab stop. The current choice
gets the selection fill and an accent bar. Hover gets only a fill.
- A Split toggle shows Read beside Write or Source. Each document pane
keeps a split flag beside its reading flag. Read ends Split.
- Ctrl+Shift+E switches between Read and the editor. Ctrl+E still
switches between Write and Source.
- "IDE" becomes "Source" in the Chrome type, the tab menu (a View
submenu), the status bar, the catalog, the tests, and the docs.
- Settings, General, File name title hides the title in Write and
Read. It is on by default.
- The breadcrumb shows only the folder of the file. The status bar
shows the view, not the path.
- ModeSwitcher.svelte and its hover test are gone. The new test
layout/viewModes covers the control.
- The command palette from 5-2 gets its row in docs/menu-surfaces.json.
- The user guide Format table is whole again. The 5-2 edit had put
the Paragraph and Insert rows under the shortcut table.
- 8 new catalog rows and 10 removed rows, in French, Japanese, and
Simplified Chinese.
- Docs: UI-049, the user guide, ui-design.md, document-tools.md,
development.md, and the README feature list.
Tests: the new layout/viewModes, new cases in documentPanes.spec.ts
and settings.spec.ts, and the chooseView harness helper. 21 smoke
tests use the new control. Tests that read the full path from the
breadcrumb now read its tooltip.
Phase 5-2.
- Ctrl+Shift+P opens the command palette: every workbench command with
its shortcut, then the plugin commands (UI-048).
- In Write, Ctrl+B, Ctrl+I, Ctrl+Shift+X, and Ctrl+Shift+H format the
selection, and Ctrl+K inserts a Markdown link. The Format menu shows
these shortcuts.
- Ctrl+\ toggles the side pane. It matches the physical key on every
keyboard layout. Ctrl+B now belongs to Write.
- Help lists every shortcut in groups, open by default. The list comes
from the command table.
- src/lib/ui/shortcuts.ts writes shortcut labels for the platform:
Ctrl+Shift+P on Windows and Linux, and the macOS symbols on a Mac.
The catalog uses placeholders, so no translation contains "Ctrl".
- 19 new catalog rows, and 10 rows converted to placeholders, in
French, Japanese, and Simplified Chinese.
- Docs: UI-048, the user guide keyboard tables, and a label rule in
ui-design.md.
New tests: layout/commands, tests/unit/ui/shortcuts.spec.ts, and new
cases in workbenchKeys.spec.ts. Tests that read the old labels or
pressed Ctrl+B for the side pane now use the new names and Ctrl+\.
The smoke harness raises the resource timing buffer to 5000 entries.
The new modules pushed the CodeMirror language module past the
default 250 entries, so editor/markdownPaste could not find its URL.
Phase 5-1.
Workbench.svelte keeps the state and the commands. Six components now
draw its regions, each with its own styles:
- WorkbenchHeader: the side pane buttons, the working tabs, the
actions, and the window controls.
- PluginRibbon: the ribbon of plugin views.
- LeftPane: the plugin sidebar, files, search, bookmarks, and the
workspace footer.
- DocumentArea: the plugin editor panes, the document panes, and the
save conflict banners.
- RightPane: the outline and the backlinks.
- StatusBar: the status line.
Each component keeps the root element of its region, so the shell grid
places them as before. Workbench.svelte has about 450 fewer lines.
There is no visible change.
pnpm check passes. pnpm test: 451 of 451 pass. Full smoke suite: 95
passed, 2 known. plugins/access failed one time and passed on retry
and 3 of 3 times alone.
Phase 5a-5.
- Settings → Appearance shows a preview card for each theme. The cards
are one radio group. The arrow keys move and select, and the current
card has the selection outline and a check mark (UI-047).
- Edit theme opens the theme editor as a workbench tab in the window
that opened Settings. The window shows each change at once.
- The editor shows all 51 color roles in seven groups. Each role has a
color picker, a hex field, its lowest readability result, and a reset
button. A failure shows a warning icon and its ratio, or "Too close".
- Save writes a short schema 3 theme with the built-in theme as its
base. A built-in theme does not change. Discard returns to the saved
colors, and Duplicate saves a copy.
- The editor is a built-in package, like the browser, so it uses the
editor tab code of plugins.
- 23 new catalog rows with French, Japanese, and Simplified Chinese.
- The smoke harness sends emit to every page and emit_to to the pages
with the target window label.
- Docs: UI-047, ui-design.md, and "Edit a theme" in guides/themes.md.
New tests: appearance/themeEditor and tests/unit/theme/themeEditor.spec.ts.
Six smoke tests use the cards instead of the theme menu.
Source draws search matches and selection matches with the item
selection fill, behind code. No rule checked that surface. In four core
palettes, code colors were 3.8:1 to 4.3:1 on it, and dim text in a
selected row was 4.0:1 in two light palettes.
- The text rule also checks the item selection fill over bg-elevated.
The syntax rule also checks the fill over bg (UI-046).
- The derived fill is the accent at 12%, not 20%. RuneStone, Claude,
and custom themes without their own fill use it. Sakura and the
character themes set their own fill and pass.
- Matches keep their underline, and selected rows keep their outline.
pnpm check passes. pnpm test: 446 of 446 pass. Full smoke suite: 92
passed, 2 known. Three tests failed one time while Vite compiled the
changed modules, and passed on retry and 3 of 3 times alone.
Phase 5a-4. The owner chose candidate B of each palette.
- Harvest Moon uses copper from Holo's tail as the accent, cream from
the tail tip, and red-brown surfaces.
- Crimson Pilot uses plugsuit red as the accent, orange hair, blue eyes,
and the yellow dress. Borders are a low-chroma wine. Error is a light
rose red, so it differs from the accent.
- Silver Serpent uses silver from the grey eyes as the accent, Slytherin
emerald as the second accent, and charcoal surfaces.
- All eight built-in palettes pass every readability rule. The
known-failure list in contrast.spec.ts is gone.
- characterPalettes.spec.ts measures text selection as the app draws
it, at most 65% opaque over the page (UI-029).
- Docs: UI-045, and the character references in ui-color.md.
pnpm check passes. pnpm test: 446 of 446 pass. Full smoke suite: 95
passed, 2 known.
The file pane menu took its items from live state: the template list,
the selection, and the clipboard. A template reload while the menu was
open rebuilt the menu and closed its open submenu. The
workspace/manageTemplates smoke test failed in about half of its runs
because of this race.
ContextMenu.svelte now reads the items once when the menu opens. It
builds the menu again only when its position or label changes.
manageTemplates has a new check: a template reload keeps the open
submenu. The check fails without the fix. With the fix, the test passed
6 of 6 runs. The tree, plugins, menus, and workspace smoke groups pass
(23 of 23), and pnpm check passes.
Phase 5a-3. The owner chose candidate B of each palette.
- Menus are opaque (UI-043, replaces UI-013). With a background image,
menus are at least 92% opaque and blur the image. Submenus show as
manual popovers in the top layer, so the blur cannot clip them.
- In a light palette, the page is the lightest surface, and the side
panes have a slight tint (UI-044).
- RuneStone uses neutral surfaces and the rune cyan of the app icon.
Claude Dark uses the layout of the Claude app. Claude Light uses a
white page with brand Light panes and a darker orange for text.
Sakura uses Petal Veil for active rows.
- All five core palettes pass every readability rule. A text role keeps
the hue of its source and changes only its lightness.
- The accent-text rule also checks accent-2, because inline code in
Read uses it as text.
- The root token defaults match RuneStone Dark.
pnpm check passes. pnpm test: 447 pass, 5 todo, 0 fail. Full smoke
suite: 92 passed, 2 known. editor/markdownPaste and tables/formulas
failed one time and passed on retry. workspace/manageTemplates fails
about half of its runs, also on the previous commit: the tree menu
rebuilds when the template list reloads, and the open submenu closes.
Phase 5a-1 and 5a-2.
- roles.ts names 51 color roles. One derivation rule fills the roles
that a theme does not give, for all themes. tokens.css keeps only the
root defaults, without theme blocks.
- Each built-in theme is one data file in src/lib/theme/themes/. No code
outside the theme data names a theme ID. characterThemes.ts is gone.
- New roles: link, focus, on-accent, highlight, scrim, the syntax roles,
and 16 terminal (ANSI) roles. Stray colors in components use the roles.
- contrast.ts checks each theme against the readability rules of
docs/ui-color.md. The tests mark the known palette failures as todo,
and a second test fails when a known failure starts to pass.
- Theme files use schema 3 with a mode and an optional built-in base.
A short file gets the missing colors and fonts from the base. Schema 1
and 2 files still import. Old syntax names convert on import.
- Docs: ui-color.md, plugin-development.md (theme tokens), ui-design.md,
guides/themes.md, and UI-041 and UI-042 in design-decisions.md.
The applied colors stay the same for every built-in theme, except three
small changes: the conflict line uses the warn color, the Write
highlight uses the highlight role, and two dialog backdrops use the
scrim role.
pnpm check passes. pnpm test: 447 pass, 31 todo, 0 fail. Full smoke
suite: 93 passed, 2 known. appearance/palettes read the old syntax
names and passed 3 of 3 times after the fix. workspace/manageTemplates
failed one time and passed on retry.
The built-in browser looked blurry at Windows display scaling above 100%.
The engine rendered sharp frames, but the host stretched each frame to the
surface. The stretch resampled every pixel and blended text and images.
- The engine crops the extra frame edge and sends the frame scale.
- The view shows each frame at its CSS size, at a device pixel edge, on its
own compositor layer, with nearest-pixel sampling.
- Pointer input subtracts the frame offset.
- The view sends a new scale when the display scale changes.
- A new smoke test, browser/scale, measures stripe contrast at 100%, 125%,
150%, and 200%, and after a scale change. It also tests click positions.
Measured contrast at 150%: 92 of 255 before, 255 after.
(cherry picked from commit e98a65de536111b5365d1c6f863a897a8e38e505)
0.1.47 is the test installer for Phase 4: the CodeMirror source view, list nesting, shared menus, the workspace session, reactive documents, and the translation catalog audit. It is for the owner's tests and is not published.