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 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 4e.
- app.css holds only imports. Its rules moved into files beside their
code, in the original cascade order. Dead rules of the deleted TipTap
Writer are gone.
- workbenchKeys.ts is one table of the workbench shortcuts. Workbench
runs the commands.
- session.linkTargets is the one link resolution for the link menu and
for link opening.
- Documents is a rune module (documents.svelte.ts). Workbench reads the
tabs and the active path from it, without a copy of all buffers on
each change. The editor mount effect now copies the buffer inside
untrack, so an edit does not remount the editor.
- Unit tests can import .svelte.ts modules through a Node module hook
that compiles them with the Svelte compiler.
pnpm check, pnpm test (350 of 350), and the full smoke suite pass,
except tables/linkCaret, which failed one time under load and passed
on retry and 3 of 3 times alone.
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.
- The pty_open mocks in layout/workbench and plugins/lifecycle send
output through the channel that api.pty passes. Without a channel they
keep the old events, so released Terminal versions still pass.
- plugins/gitToolbar resolves the Git plugin's "@runestone/plugin-sdk"
imports to this repository's SDK build. The smoke runner builds the
SDK when it is missing.
- The menu audit no longer compares the Terminal plugin's copies of the
host menu files. The plugin now uses host menus through the SDK.
Checked with the released plugins and with the migrated Terminal, Git,
and Project Management branches.
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.
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.
- pnpm smoke runs tests/smoke/ in parallel. It starts Vite when nothing
serves SMOKE_URL, finds an installed Chrome when Playwright has no
Chromium, and skips a test with a reason when a requirement that the
test declares with "// @requires" is missing. Logs go to
output/smoke/logs/.
- tests/smoke/_harness/ holds the Playwright launch, page error
collection, the Tauri IPC mock with an in-memory workspace, and output
folders. tabs/order uses it as the first converted test.
- Pin Playwright 1.63.0, the version that browser-runtime uses.
- RUNESTONE_PLUGIN_REPOS names the folder of the sibling plugin
checkouts for buildPlugins, the menu audit, and the smoke tests.
- buildInstaller restores the version fields after Ctrl+C, keeps the
backups of each attempt, stops when the browser runtime is not staged,
and writes the file name instead of absolute paths to host.json.
- buildPlugins clears the staged Table Formulas package before copying.
- plugins/choiceMenus used the wrong Local Autocomplete folder name.
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.