A browser puts only the first frame of an image on the clipboard, with
HTML that names the image address.
- Documents and cards download the original of a GIF, WebP, or AVIF
address. The host commands workspace_save_image_url and
workspace_download_image read the format from the file contents and
refuse other data. A failed download keeps the first frame and shows
a message.
- Copy image in the RuneStone browser keeps the bytes that the page
loaded. The engine reads them through the DevTools Protocol, so the
website gets no second request. The new copiedImage command gives
them in parts below the line limit of the host. A paste uses them
first.
- An empty dropped image file shows a message. Firefox gives such a
file when the website refuses its download.
Copy image needs a new browser engine build. Card 0d5c18f7.
- 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.
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.
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-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 4c. The Markdown, code, Read, and image menus open through
showActionMenu. It closes a menu on an outside press, an outside scroll,
a resize, and window blur. A host surface now gives its own focus
return, so four copies of the listener code are gone.
- menuItems.ts builds Undo, Redo, the clipboard rows, and the search
row. The Markdown, code, Read, table cell, and table range menus use
it. The Markdown and table menus now show the shortcuts for Cut,
Copy, Paste, and Select all, as the other menus did.
- writerSearch.ts is now editorSearch.ts, because it serves Write and
Source.
- Plugins still get only close() from api.ui.showActionMenu. The SDK
menu types do not change.
- The table range menu and the native spelling menu keep their own
lifecycle, because their open state drives table editing and the
native spelling protocol.
- docs/ui-design.md names the shared rows and the search modules. The
menu inventory has the new count for markdownMenu.ts.
pnpm check, pnpm test (341 of 341), and the full smoke suite pass, except
tables/formulas, which failed one time under load and passed on retry.
Phase 4b. DocumentEditor.svelte replaces LiveWriter.svelte and the Monaco
EditorHost.svelte. Each open document has one CodeMirror state. Write and
Source are two compartment configurations of it, so they share the undo
history. editorStates.ts keeps the state while the tab stays open. The
Monaco model, the diff bridge, its timers, and sessions.ts are gone.
- Source: syntax colors from the theme tokens, lazy language packages,
line numbers, folding, and the current line in IDE, wrapped lines in
Writing, several carets, and bracket matching and closing.
- Lists (card 088e778b): Tab nests a list item and Shift+Tab moves it
up, in Write and Source. Both renumber the list. The source keeps
"1.". Write and Read show numbers, letters, then Roman numerals.
- Indent (card 696c30ce): a fixed 4 spaces in Write and Source.
- The code menu uses CodeMirror commands. The command palette item and
the Monaco styles, search, theme, and workers are removed.
- @codemirror/legacy-modes is pinned to 6.5.4. Version 6.5.5 uses
parser types that do not match @codemirror/language 6.12.
- 26 smoke tests use CodeMirror instead of Monaco. New tests:
editor/listNesting and the markdownLists unit tests.
- Docs: development, UI design, plugin host, user guide, and UI-040.
pnpm check, pnpm test (341 of 341), and pnpm build pass. The full smoke
suite passes, except one template test that passed on retry.
A mouse drag across rendered links keeps the layout stable until the
mouse button is released. The selection then includes the hidden link
syntax at its ends. This fix shipped in the 0.1.44a installer, but it
was not committed. editor/linkSelection is its smoke test on the harness.
Each smoke test now uses tests/smoke/_harness/ for Playwright, the Tauri
IPC mock, the in-memory workspace, and output folders, instead of its
own copy. The tests keep their interactions and assertions. Mock
handlers that the app never calls are gone.
- Split the four mixed regression scripts into 18 feature tests.
- Update tests that broke when the app changed on purpose. Each update
cites the app source that shows the new behavior.
- Mark two real app defects with @known-issue: the settings window
controls are 1px shorter than the main window controls, and plugin
tabs cannot be reordered by dragging without a workspace.
- Merge three palette unit tests into one table-driven test.
- The native tests load Playwright through the harness and read
NATIVE_CDP_URL, with their old variable names as fallbacks.
- A failed smoke test saves a screenshot and prints the console errors.
- The runner runs failed tests once more, alone, and reports a test
that then passes as flaky.
Result: 89 passed, 1 flaky, 2 known issues, 0 failed. Before, 45 of 78
passed.
Unit tests go to tests/unit/<area>/, browser smoke tests to
tests/smoke/<area>/, and tests against a running desktop app to
tests/native/. Files named after dates, work passes, or Kanban cards get
feature names, for example editorOctober12 -> editor/footnotes.
scripts/ keeps the build, release, and package tools. Plugin repositories
import scripts/packagePlugin.mjs, and the Terminal smoke test imports
scripts/pluginMocks.mjs, which now re-exports the harness copy.
The unit tests get their own type check (tests/tsconfig.json) with Node
types. pnpm check runs it after the app check. Add @types/node and fix
the three test mocks that it reported.