Update the browser, editor, settings, and installer

This commit is contained in:
Knotty Wyvern
2026-10-12 14:46:21 -07:00
parent 909894b9c8
commit f6eaa52949
163 changed files with 146260 additions and 534 deletions
+30 -5
View File
@@ -1,6 +1,6 @@
# Build and package RuneStone
[Development](development.md) · [Release history](releases.md) · [Installation](installation.md)
[Development](development.md) · [Installation](installation.md)
This guide is for maintainers. Users install a supplied package through the installation guide.
@@ -41,17 +41,42 @@ It does not register document types or start RuneStone when Windows starts.
See [Tauri's Windows installer documentation](https://v2.tauri.app/distribute/windows-installer/) for the packaging options.
## Hotfix installer versions
Hotfix installer versions use the same letter sequence as plugin versions: `a`, `b`, `c`, through `z`, then `aa`, `ab`.
Use `pnpm build:installer --version 0.1.23a` to produce that release.
The build command checks matching versions, preserves existing installers, and restores previous version fields if the build fails.
`package.json`, Cargo release metadata, installer metadata, the app version display, and release filenames retain the literal release version.
Cargo and Tauri require SemVer. The adapter encodes `0.1.23a` as `0.1.23+1` in their version fields.
Windows requires four numeric parts. The adapter encodes the same version as `0.1.23.1` in the numeric version resource.
The executable's FileVersion and ProductVersion strings retain `0.1.23a`.
These internal encodings represent the same release. They do not create a separate build or increase the numeric release version.
The shared NSIS comparison orders the numeric release first, then the hotfix suffix.
For example: `0.1.23 < 0.1.23a < 0.1.23b < 0.1.23z < 0.1.23aa < 0.1.24`.
The installer blocks downgrades before uninstall or update actions, including silent and passive installs.
Unknown version formats also block replacement. Reinstall and upgrade retain the existing installation by default.
Windows stores the SemVer encoding in its compatibility version field for older installers.
It stores the literal release version in `RuneStoneReleaseVersion` for the updated installer.
The app and installer version strings and release filenames use `0.1.23a`. Windows Apps can show the equivalent internal value `0.1.23+1`.
This keeps older numeric installers from treating a hotfix as an unknown or older release.
The Windows numeric resource limits each part and the hotfix index to 65535.
The adapter rejects versions outside those limits before it changes version fields.
The NSIS template derives from Tauri CLI 2.11.4. Check its changes when updating Tauri.
## Prepare a release
Each project uses its own `zz.yy.xx` version. Routine source edits and checks retain the current version.
Increase `xx` once when producing a new completed installer or plugin ZIP. Failed attempts do not consume a version.
Increase `xx` once for each completed regular build. For a hotfix, increase the letter suffix. Failed attempts do not consume a version.
Keep version fields consistent, and restore them if no build completes.
Increase `yy` or `zz` only for a user-directed release, then reset the lower fields as defined in [the version policy](../AGENTS.md#versioning).
Publishing an existing artifact does not change its version.
1. Set the same version in `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json`.
2. Update `src-tauri/Cargo.lock` with Cargo if the package version changed.
3. Run the checks and build command above.
1. Select the release version under the shared version policy.
2. Run the checks above.
3. Run `pnpm build:installer --version <version>`. The adapter sets matching release and toolchain versions.
4. Test the installer on a clean Windows account with the checks below.
5. Attach the setup file and release notes to the repository release or your chosen download page.
+206
View File
@@ -0,0 +1,206 @@
# Design decision log
[Interface design](ui-design.md) · [Agent instructions](../AGENTS.md)
The design guide holds current rules. This log records intentional rule changes, recurring problems, and scoped exceptions for RuneStone and its plugins.
An isolated correction belongs in its normal card or commit record. It does not need an entry here.
## Use this log
Copy the matching template into Entries. Give each entry a unique sequential ID, such as UI-001, and a date.
Replace every placeholder. Use relative links to guide sections, source files, and saved evidence where possible.
Record missing evidence as pending. Do not claim acceptance or completed checks without evidence.
For a rule change or exception, record the decision source, such as the user's direction or an accepted review.
A proposed entry does not authorize a departure from the current guide.
Update the guide in the same change as an accepted rule change. Summarize an active exception beside its affected rule and link its entry.
Record the scope as the app, named plugins, or specific controls. Avoid silently extending a local decision to every plugin.
For recurring problems, link separate occurrences or a regression after a prior correction. Record unknown causes as unknown.
Update an existing problem entry when it recurs. Mark it resolved only after the prevention action and relevant check pass.
Keep earlier decisions when a later entry replaces them. Mark them superseded and link the replacement in both directions.
When an exception ends, mark it retired and remove its active exception note from the guide.
Entry status describes the record. It does not move a Kanban card to Done or replace user acceptance.
## Templates
### Rule change
```markdown
### UI-NNN — Short decision title
- Type: Rule change
- Date: YYYY-MM-DD
- Status: Proposed / Accepted / Superseded
- Decision source: User direction or review link
- Previous rule: Prior behavior and guide section
- New rule: Chosen behavior and current guide section
- Reason: User benefit and relevant design principle
- Scope: App, named plugins, and affected controls
- Shared implementation: Component or token paths
- Exceptions: None, or linked exception entries
- Evidence: Reference images, check results, and review link, or pending items
- Replaces / replaced by: None, or linked entries
```
### Recurring problem
```markdown
### UI-NNN — Short problem title
- Type: Recurring problem
- Date: YYYY-MM-DD
- Status: Open / Resolved
- Existing rule: Link to the rule that still applies
- Scope: App, named plugins, and affected controls
- Occurrences: Links to repeated violations or a regression and its prior correction
- Cause: Evidence for the cause, or unknown with the next investigation step
- Correction: How the current violation returns to the existing rule
- Prevention: Shared component change, override removal, check, or needed rule clarification
- Check: How to detect recurrence and the actual result, or pending
- Evidence: Reference images and card, commit, or review links
- Resolution / recurrence: Date and result, or pending. Reopen this entry if the problem returns.
```
### Exception
```markdown
### UI-NNN — Short exception title
- Type: Exception
- Date: YYYY-MM-DD
- Status: Proposed / Accepted / Retired / Superseded
- Decision source: User direction or review link
- Current rule: Guide section and its exception note
- Departure: Exact difference from the rule
- User benefit: Why the standard pattern does not meet this need
- Scope: Specific app or plugin controls and states where the exception applies
- Shared implementation: Component or token paths and why a local difference is necessary
- Review: Responsible person or role, plus a date or concrete trigger
- Exit condition: When the standard pattern can replace the exception
- Evidence: Reference images, accessibility and interaction checks, or pending items
- Replaces / replaced by: None, or linked entries
```
## Entries
### UI-003 — Quiet menu choices
- Type: Rule change
- Date: 2026-10-12
- Status: Accepted
- Decision source: User-selected cards d10adda6 and 48687378.
- Previous rule: Menus used accent outlines and checkmarks for radio choices. Every row reserved an icon column.
- New rule: Use neutral outlines, quiet radio highlights, and text columns for menus without icons.
- Reason: Reduce competing accents and make the current choice clear.
- Scope: Host menus and Project Management menus through the host API.
- Shared implementation: actionMenu.ts, menu.css, and --rs-menu-border.
- Exceptions: None.
- Evidence: Shared menu checks and appearance checks passed. Screenshots are in output/appearance-pass3 and output/pm-october12.
- Replaces: The outline and radio presentation from UI-002. UI-006 replaces this entry's panel outline. Its quiet radio choices remain.
### UI-004 — Detached tab work area
- Type: Rule change
- Date: 2026-10-12
- Status: Accepted
- Decision source: User-selected card 5a8bc531.
- Previous rule: Detached tabs hid side panes and allowed users to reopen them.
- New rule: Detached tabs do not mount side panes, their switches, or the plugin ribbon.
- Reason: Keep the new window focused on the transferred tab.
- Scope: Windows opened through tab transfer.
- Shared implementation: Workbench.svelte and its detached grid layout.
- Exceptions: None.
- Evidence: Browser transfer checks passed in both themes and narrow windows. Native window acceptance remains pending.
- Replaces: None.
### UI-005 — Heading spacing
- Type: Rule change
- Date: 2026-10-12
- Status: Accepted
- Decision source: User-selected card 17207fbc.
- Previous rule: Document headings used separator lines.
- New rule: Use spacing between headings and sections without separator lines.
- Reason: Keep attention on the document text.
- Scope: Writer and Reader headings.
- Shared implementation: src/app.css heading rules.
- Exceptions: None.
- Evidence: Editor browser checks passed in both themes. Screenshots are in output/editor-october12.
- Replaces: None.
### UI-002 — Share the requested dropdown design
- Type: Rule change
- Date: 2026-10-11
- Status: Accepted
- Decision source: RuneStone cards 71b17a71-13cb-4d8c-a9cb-8822b433a889 and 52b6f235-6c3e-44c0-9ab6-dcbfd371c0ce, selected by the user for implementation.
- Previous rule: Menus used 26-pixel rows, 12-pixel text, and the ordinary panel border. Submenu parents had no default action.
- New rule: Share the reference dropdown geometry across menus. A submenu parent can also run a default action.
- Reason: Make dropdown choices easier to read. Let users create a blank note directly from New note.
- Scope: Host action menus and plugin menus that use the host API, including theme, appearance, board, and list menus.
- Shared implementation: [actionMenu.ts](../src/lib/ui/actionMenu.ts), [menu.css](../src/lib/ui/menu.css), and the `--rs-menu-*` tokens in [tokens.css](../src/lib/theme/tokens.css).
- Exceptions: None. Existing older-host plugin fallbacks remain available.
- Evidence: The [card reference](../output/pass3-ref-0ce1efe3-7e2a-40a8-99bb-64215aa9d977.png). Shared menu checks passed in both themes. Further screenshots accompany the card review.
- Replaces / replaced by: The outline and radio presentation changed in [UI-003](#ui-003--quiet-menu-choices). Other rules remain.
### UI-001 — Separate design decisions from routine corrections
- Type: Rule change
- Date: 2026-10-11
- Status: Accepted
- Decision source: The user's request to implement this policy in the guide, agent instructions, and decision log.
- Previous rule: The guide required UI review evidence but did not distinguish corrections, rule changes, recurring problems, and exceptions.
- New rule: Use the [record categories](ui-design.md#current-rules-and-decision-history) and templates above. Keep current design rules in the guide.
- Reason: Preserve useful design history without a log entry for every isolated correction.
- Scope: Documentation and review workflow for the app and its plugins.
- Shared implementation: [Agent instructions](../AGENTS.md#ui-work-record-design-decisions) and [review evidence](ui-design.md#evidence-for-review). No component or token change.
- Exceptions: None.
- Evidence: The user's explicit instruction in this chat. This entry changes documentation policy and has no visual reference image.
- Replaces / replaced by: None.
### UI-006 — Borderless shared menus
- Type: Rule change
- Date: 2026-10-12
- Status: Accepted
- Decision source: User-selected card 8aa18bb1 requests removal of menu borders across Project Management.
- Previous rule: Shared menus used a neutral panel outline.
- New rule: Shared menus use a transparent outline while retaining their shadow, inset rows, and keyboard focus.
- Reason: Keep attention on the work and give plugin menus one shared design.
- Scope: Host action menus and Project Management menus through the host API. Older-host fallback menus also omit panel borders.
- Shared implementation: --rs-menu-border in tokens.css, menu.css, and PM style.css.
- Exceptions: None.
- Evidence: Menu and PM check reports and screenshots accompany the card review.
- Replaces: The panel outline from UI-003. Its quiet radio choices remain.
### UI-007 — Repeated menu drift
- Type: Recurring problem
- Date: 2026-10-12
- Status: Resolved
- Existing rule: Shared action menus in the interface guide.
- Scope: Browser settings and Project Management card, priority, background, and list-status controls.
- Occurrences: Cards 41461dfe and 1d823866 follow earlier menu corrections in UI-002 and UI-003. Card b8cc5ef1 repeats the issue in background and list-status choices.
- Cause: Browser settings used native selects. PM card and priority controls used local popup renderers. Background and list-status choices missed the shared-choice conversion.
- Correction: Use the shared menu API for these controls. Match the host background labels and retain the numeric overlay field.
- Prevention: Check each background choice and the list-status choice with the real host menu API, in both themes and narrow layouts.
- Check: The current host and PM check reports record the results.
- Evidence: output/round4-pm-report.json, output/round4-editor-menu-report.json, and output/round4-overlay-report.json.
- Resolution: The combined checks passed on 2026-10-12. Reopen this entry if the problem returns.
### UI-008 — Keep native editing menus focused
- Type: Rule change
- Date: 2026-10-12
- Status: Accepted
- Decision source: User-selected card 48671ea0.
- Previous rule: Editable native menus exposed all default WebView2 tools.
- New rule: Retain recognized editing commands and omit unsupported system tools.
- Reason: Keep note menus focused on work within RuneStone.
- Scope: Editable WebView2 targets in the host.
- Shared implementation: src-tauri/src/spelling.rs filters command names before either menu path.
- Exceptions: Separators retain their layout role. Non-editable native menus retain their unrelated actions.
- Evidence: Native payloads and two full smoke runs in output/todo-menus.
- Replaces: None.
+15
View File
@@ -186,3 +186,18 @@ Read Rust errors in the terminal that runs `pnpm tauri dev`.
In the Windows development window, press Ctrl+Shift+I to open the web inspector.
Use its console for frontend errors.
See [Tauri's inspector instructions](https://v2.tauri.app/develop/#opening-the-web-inspector).
## Built-in browser runtime
The browser interface lives in `src/lib/browser`. Its Electron runtime, tests, assets, and third-party notices live in `browser-runtime`.
The host no longer needs a sibling Browser checkout. Keep the old checkout until its local work and history no longer need preservation.
1. Run `npm ci --prefix browser-runtime` to install the pinned runtime dependencies.
2. Run `pnpm browser:check` and `pnpm browser:test` for source checks.
3. Run `pnpm browser:test:engine` for native Electron checks.
4. Run `npm --prefix browser-runtime run package` to prepare the runtime.
5. Run `pnpm browser:stage` before a host installer build.
Runtime compilation and staging do not produce a new RuneStone installer version.
The installer includes the staged runtime from `src-tauri/browser-engine`. Follow the project version policy when creating that installer.
Use `scripts/browserInteraction.smoke.mjs` to check the host interface against a real runtime.
Keep its results separate from the native Tauri window checks.
+1 -2
View File
@@ -1,6 +1,6 @@
# Installation and updates
[RuneStone](../README.md) · [User guide](user-guide.md) · [Release history](releases.md)
[RuneStone](../README.md) · [User guide](user-guide.md)
| Platform | Current route |
| --- | --- |
@@ -32,7 +32,6 @@ If WebView2 is missing, setup downloads the runtime. Keep your internet connecti
Run the installer directly. An existing installation defaults to reinstall, including the same version.
You do not need to uninstall first. Setup preserves workspace files and settings and blocks version downgrades.
The [release notes](releases.md) record which installer checks still need desktop acceptance.
## Try the source on Linux
+1 -1
View File
@@ -1,6 +1,6 @@
# Linux readiness
[Developer guide](development.md) · [Release guide](releases.md)
[Developer guide](development.md)
Linux support is experimental. No native Linux build or desktop test is recorded yet.
Voice typing is outside the Linux acceptance criteria.
+4 -3
View File
@@ -5,16 +5,17 @@ Use names without spaces for source folders and package metadata.
| Plugin name | Source folder after manual rename | Current source folder | npm package name | Stable plugin ID |
| --- | --- | --- | --- | --- |
| Browser | `RuneStone_Browser` | `RuneStone_WebViewer` | `runestone-browser` | `runestone.browser` |
| Browser (built in) | `RuneStone/browser-runtime` | Not applicable | `runestone-browser` | `runestone.browser` (legacy) |
| Local Autocomplete | `RuneStone_LocalAutocomplete` | `RuneStone_LocalModel` | `runestone-local-autocomplete` | `runestone.local-autocomplete` |
| Project Management | `RuneStone_ProjectManagement` | `RuneStone_PM` | `runestone-project-management` | `runestone.pm` |
## Manual source folder changes
The team must rename the three source folders because local tools and saved project paths can depend on them.
The remaining plugin folder changes need care because local tools and saved project paths can depend on them.
Browser source now lives inside RuneStone and does not need a separate folder rename.
These changes remain pending. The current folders and repository URLs still use their earlier names.
1. Close development servers and tools that use the three source folders.
1. Close development servers and tools that use the affected plugin folders.
2. Rename each current source folder to its matching name in the table.
3. Update saved editor projects, shortcuts, task paths, and local scripts that contain the old absolute paths.
4. Update cross-project documentation links after the folders move.
+20 -10
View File
@@ -152,7 +152,8 @@ Closing the plugin tab or disabling the package disposes the view.
The default placement is `"dialog"`, so existing packages keep their current behavior.
Older hosts ignore the placement field. Plugins that require editor placement need RuneStone 0.1.5 or later.
All packages use one API and the same installation, enable, disable, and removal lifecycle.
Versions use three numeric parts. Schema and API versions must match the supported version exactly.
Versions use three numeric parts with an optional lowercase hotfix suffix, such as `0.2.28a`.
Schema and API versions must match the supported version exactly.
The `runestone.*` prefix follows the same rules as other package IDs. It does not prove the publisher's identity.
Package names use ASCII letters, digits, dots, underscores, and hyphens, with forward slashes between directories.
@@ -172,7 +173,7 @@ Use `zz.yy.xx` and keep routine implementation work in the current `zz.yy` serie
| Part | When to increase it |
| --- | --- |
| `xx` | Each new completed plugin ZIP build. The number has no two-digit limit. |
| `xx` | Each new completed regular plugin ZIP build. Hotfixes increase the letter suffix. |
| `yy` | A deliberate release ready for build testing, with user direction. Reset `xx` to zero. |
| `zz` | A full release, with user direction. Reset `yy` and `xx` to zero. |
@@ -181,11 +182,16 @@ Set the next version when producing the ZIP. Intermediate compilation output doe
If no build completes, restore the previous version fields. Failed attempts and retries do not consume version numbers.
Report a new version as available only after its ZIP exists. Publishing an existing artifact does not increase its version.
Passing automated checks alone does not authorize a `yy` or `zz` increase.
Use lowercase letters for hotfix release labels, such as `0.2.11a` and `0.2.11b`.
The current plugin packager and installer require numeric versions in `plugin.json`.
Until that contract supports suffixes, use letters only in release labels or tags.
Increase `xx` for each changed hotfix ZIP and record its numeric package version in the release notes.
Keep the package and manifest versions equal. Do not bypass the host validator or overwrite an existing release ZIP.
A hotfix fixes one item or a narrowly scoped problem in an existing release.
Use letters in the actual package version: `0.2.28` → `0.2.28a` → `0.2.28b`.
Keep the numeric base for hotfix builds.
Advance hotfix suffixes in this order: `a`, `b`, `c`, through `z`, then `aa`, `ab`, and later suffixes.
The next regular build increases `xx` and removes the suffix: `0.2.28b` → `0.2.29`.
Keep the package version, manifest version, build metadata, ZIP name, release notes, and tag consistent.
For example, package version `0.2.28a` produces `runestone.pm-0.2.28a.zip` and uses tag `v0.2.28a`.
The shared packager and updated native installer accept these suffixes. Older hosts with numeric-only validation reject suffixed packages.
Do not substitute a numeric increment for a hotfix. Add suffix support or report a format blocker before building.
Do not bypass validation or overwrite an existing release ZIP.
## Build and release a plugin
@@ -269,7 +275,8 @@ Keep the package contract above. No repository manifest or special branch layout
Use `v<version>` for ordinary release tags. Use a clearly named trial tag for temporary prereleases.
Keep the manifest version and package version equal. Keep published release files unchanged.
Increase the version when building a new ZIP, before publication.
Prerelease builds follow the same build counter. Each new ZIP gets the next numeric version and an explicit trial tag.
Prerelease builds follow the same version policy. Each new regular ZIP gets the next numeric build version.
Each hotfix ZIP gets the next letter suffix. Use an explicit trial tag for prereleases.
The ZIP must contain `plugin.json` at its root, the compiled entry module, and all required assets and dependencies.
Do not attach a source ZIP as the plugin package. Gitea's automatic source archives do not count as release attachments.
@@ -366,6 +373,9 @@ export function activate(api) {
| `assets.read(path)` | Read package bytes as a `Uint8Array` |
Command and view IDs must be unique within their respective plugin collections.
Plugin commands can supply an optional `icon` from the view icon set.
Use the same icon for the command and its view. Older hosts can ignore this field.
Sidebar views belong in the left navigation. Views with a direct navigation button do not repeat in the plugin launch menu.
Plugin configuration appears in Settings under the plugin name.
Register a view with `settings: true` to add its configuration page.
The host mounts that view inside Settings and removes it from the launch menu.
@@ -457,8 +467,8 @@ Users can open browser tabs, manage profiles in Settings, and use web bookmarks
The existing browser data directory stays the same. Profiles, bookmarks, cookies, and settings remain available.
An old Browser package can be removed from Settings. The host does not load it alongside the built-in browser.
The interface source lives in `src/lib/browser/`. The runtime source remains in `../RuneStone_Browser/`.
Stage the runtime with that checkout's `npm run stage:host` before creating an installer.
The interface source lives in `src/lib/browser/`. The runtime source lives in `browser-runtime/`.
Run `pnpm browser:stage` after packaging that runtime and before creating an installer.
The main Tauri configuration includes `src-tauri/browser-engine/` as an installer resource.
Browser startup obtains a session token for its window. Native requests check that token, and cleanup revokes it.
-32
View File
@@ -1,32 +0,0 @@
# Test build: RuneStone 0.1.13 and Project Management 0.2.18
These builds include the 14 Kanban cards prepared for user review on October 8, 2026.
See the [work record](archive/kanban-review-2026-10-08.md) for assignments and checks.
## Changes
- The tab bar uses available space and keeps one New tab after the last tab closes.
- Settings and plugin rows use shared dimensions and compact spacing.
- Repeated formatted paste no longer duplicates content or freezes the editor.
- Card descriptions edit inside the card and display saved Markdown formatting.
- Priorities use a nearby picker with colors and icons.
- Cards can move between boards while preserving their content and metadata.
- Image controls overlay the viewer. Outside clicks and Escape close it.
- Board menu actions have icons. The title edit indicator appears on hover or keyboard focus.
## Local installation
Run `RuneStone_0.1.13_x64-setup.exe` to reinstall or update RuneStone.
The installer includes the existing browser runtime and retains the downgrade restriction.
In Settings → Plug-ins, uninstall the previous Project Management package.
Restart RuneStone, then choose Install plugin ZIP and select `runestone.pm-0.2.18.zip`.
Workspace cards and retained plugin settings survive removal of the old package.
## Checks
Project Management passed its type check, 101 unit tests, and 103 browser tests after packaging.
Host native tests passed 63 tests, with three ignored. The source checks passed all 191 host unit tests and focused browser checks.
Native installer use and the changed desktop behavior remain for user acceptance.
All 14 cards remain in Review.
Both artifacts passed integrity checks. The plugin file hashes match its build record.
-35
View File
@@ -1,35 +0,0 @@
# Test build: RuneStone 0.1.14, Project Management 0.2.19, and Git 0.1.1
These builds cover 16 selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Browser tabs, profiles, and bookmarks now belong to RuneStone. The installer includes the existing Chromium runtime.
- The left ribbon, shared menus, and table cell spacing use compact dimensions and clear icons.
- Project Management improves card spacing, title focus, outside clicks, image dismissal, and detail icons.
- Large boards retain their view and scroll position. Board selection retains the current tab position.
- Label deletion clears saved references. Card archive actions retain workspace files.
- Git adds a sidebar for status, file diffs, staging, unstaging, commits, and line history.
## Local installation
Run `RuneStone_0.1.14_x64-setup.exe` to reinstall or update RuneStone. Setup retains the downgrade restriction and preserves workspace files and settings.
Install `runestone.pm-0.2.19.zip` and `runestone.git-0.1.1.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing Project Management installation, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace cards survive package removal.
Browser needs no separate ZIP. An old Browser package can be removed through Settings. Browser profiles and bookmarks retain their existing storage.
## Checks and limits
The host passed its source check, 193 unit tests, and 71 native tests. Three native tests remain ignored.
Focused browser checks passed for the built-in browser, plugin access, menus, layouts, and selections in both themes and narrow windows.
Project Management passed its type check, 98 unit tests, and 111 browser tests after packaging. Git passed its source check and four unit tests.
Git also passed seven native host tests and its standalone and real-host browser checks before packaging.
The ZIP manifests and all extracted files match the compiled files.
Browser tests use native mocks. Native browser use, installer behavior, and desktop acceptance still need user review.
Git requires installed Git and a workspace at the repository root. Linked worktrees, remote actions, branch changes, and repository creation remain unsupported.
Git retains commit hooks. Diff tabs refresh when the user selects the file again.
-37
View File
@@ -1,37 +0,0 @@
# Test build: RuneStone 0.1.15, Project Management 0.2.20, and Terminal 0.1.2
These builds cover eight selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Tables retain separate plain paragraphs without extra blank lines. Cell dimensions stay stable during edits and navigation.
- IDE and Terminal text use a lighter font weight.
- Shared menus use compact 14-pixel icons and 26-pixel rows.
- Git and other plugin sidebar views appear beside Files, Search, and Bookmarks in the top header.
- Project Management retains horizontal scroll when hidden tabs refresh or create a board. Each list has an inline Add a card control.
- The UI design reference records shared dimensions, icons, corners, selections, and menus.
## Local installation
Run `RuneStone_0.1.15_x64-setup.exe` to reinstall or update RuneStone. Setup preserves workspace files and settings, and blocks version downgrades.
Install `runestone.pm-0.2.20.zip` and `runestone.terminal-0.1.2.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
Git 0.1.1 remains the current package. The host supplies its new navigation position.
The installer includes the built-in browser and its Chromium runtime.
## Checks and limits
The host passed its source check, 195 unit tests, and 71 native tests. Three native tests remain ignored.
Browser checks passed for shared menus, table navigation, plugin tab order, workbench layout, and the actual Git navigation view.
Table checks cover both themes, two window widths, save, undo, and cell dimensions.
Project Management passed its type check, 98 unit tests, and all 116 browser tests after packaging.
Its final compiled module passed host checks for scroll retention in both legacy and managed board tabs.
Terminal passed its source check, six unit tests, and browser checks, including its rendered font weight in the light theme.
Both ZIPs contain a root manifest. Every archived file matches its compiled source hash.
Browser tests use native mocks. Native installer behavior and desktop acceptance still need user review.
The build creates local artifacts. It does not install, publish, or commit them.
-70
View File
@@ -1,70 +0,0 @@
# Test build: RuneStone 0.1.16, Project Management 0.2.21, and Git 0.1.2
These local builds cover eight selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Plain editable text permits the native spelling menu. Selected text and tables retain their action menus.
- New file accepts the complete filename. Rename includes the extension.
- Code editors share a 13px font size and 21px line height.
- GPT, Claude, Sakura, and RuneStone support light and dark modes. Terminal uses green text on black.
- Browser settings list and filter cookies and history for each profile. Users can remove individual entries.
- Project Management uses the empty list space for its card composer. Focus changes hide the composer and retain its draft.
- Git adds push, pull, and separate collapsible Changes and Graph sections.
See the [source changes and limits](archive/kanban-changes-2026-10-08.md) for more details.
## Local installation
Run `RuneStone_0.1.16_x64-setup.exe` to reinstall or update RuneStone.
Setup defaults to reinstall for an existing version and blocks downgrades. Workspace files and user settings remain outside the installation folder.
Install `runestone.pm-0.2.21.zip` and `runestone.git-0.1.2.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
The installer includes the rebuilt Browser runtime. Browser needs no separate plugin ZIP.
## Build files
| Build | Local path | Bytes |
| --- | --- | --- |
| RuneStone 0.1.16 | `src-tauri/target/release/bundle/nsis/RuneStone_0.1.16_x64-setup.exe` | 125007691 |
| Project Management 0.2.21 | `../RuneStone_ProjectManagement/plugin-packages/runestone.pm-0.2.21.zip` | 160626 |
| Git 0.1.2 | `../RuneStone_Git/releases/runestone.git-0.1.2.zip` | 6563 |
## SHA256 checksums
```text
a8b0b2532aec27d2862cf3d3924383c67c66b15493456f43158aace0fcf79c5f RuneStone_0.1.16_x64-setup.exe
0003494fc6c671121e11adb3334b2e973f755fd324abc0860c05af19caaa00e5 runestone.pm-0.2.21.zip
8748d264fe9daa563a7e426372d7c965ad27a019ce35842c343a9dfdc7e15b2c runestone.git-0.1.2.zip
```
The installer folder also contains `RuneStone_0.1.16_release-checksums.sha256` with these three checksums.
## Checks and limits
The host passed its source check, 195 unit tests, and 75 native tests. Three native tests remain ignored.
The installer build completed. Both the application and setup executable report version 0.1.16.
The generated installer includes all 73 Browser resources and retains the default reinstall choice and downgrade restriction.
Browser checks cover filenames, extension changes, shared menus, fonts, appearance, and cookie and history controls.
The final appearance check passed all palettes, both modes, three-window sync, reload, and narrow settings.
Terminal-to-Sakura changes restore the original syntax colors. Existing and new editors pass the same check.
Project Management passed its type check, 98 unit tests, and all 119 browser tests after packaging.
The browser suite includes both compiled-plugin checks.
Git passed source checks, four plugin unit tests, 11 native fixture tests, and sidebar browser checks.
Both ZIPs contain a root manifest. Every archived file matches its compiled source SHA256 hash.
The packaged Browser runtime passed native Electron checks, including individual cookie and history removal.
All 73 staged runtime files match the packaged source SHA256 hashes.
Runtime packaging is intermediate installer output and does not change the Browser version.
Native spelling suggestions and actual correction still need desktop acceptance.
Actual installation, reinstall, settings retention, and downgrade protection still need desktop acceptance.
The Git graph shows at most 100 commits. Push and pull require a configured upstream and existing Git authentication.
Pull permits only fast-forward updates.
These builds create local artifacts. They do not install, publish, or commit them.
-74
View File
@@ -1,74 +0,0 @@
# Test build: RuneStone 0.1.17 and Git 0.1.4
These local builds cover three selected cards on October 8, 2026.
The cards remain in Review for user acceptance.
## Changes
- WebView2 supplies spelling suggestions to the shared menu. Native commands apply corrections.
- Claude uses Anthropic colors and local Lora and Poppins font stacks, with Georgia and Arial fallbacks.
- Sakura uses the card palette and light mode. Saved dark Sakura selections migrate to light Sakura.
- GPT and Terminal themes are removed. Saved selections migrate to RuneStone with their previous light or dark mode.
- Git history draws commit nodes and parent links, with branches, tags, messages, authors, and dates.
See the [source changes and checks](archive/kanban-followup-2026-10-08.md) for more details.
## Local installation
Run `RuneStone_0.1.17_x64-setup.exe` to reinstall or update RuneStone.
Setup defaults to reinstall for an existing version and blocks downgrades.
Workspace files and user settings remain outside the installation folder.
Install `runestone.git-0.1.4.zip` through Settings → Plug-ins → Install plugin ZIP.
This Git package requires RuneStone 0.1.17 or later.
For an existing Git plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
Browser remains part of the installer. All 73 staged runtime files match the previous packaged source hashes.
The Browser runtime and other plugins need no new release build for these changes.
## Build files
| Build | Local path | Bytes |
| --- | --- | --- |
| RuneStone 0.1.17 | `src-tauri/target/release/bundle/nsis/RuneStone_0.1.17_x64-setup.exe` | 125009581 |
| Git 0.1.4 | `../RuneStone_Git/releases/runestone.git-0.1.4.zip` | 8004 |
## SHA256 checksums
```text
378b95b6d7f1d4f0413449e67264780d6d84e46e53b8304e6c63296917ec716c RuneStone_0.1.17_x64-setup.exe
eca6eeb9304f344f667c0d31666db54b207efb86c0b7a109c1ce6f563c61c859 runestone.git-0.1.4.zip
```
The installer folder also contains `RuneStone_0.1.17_release-checksums.sha256` with these checksums.
## Checks and limits
The host passed its source check with no errors or warnings and 198 unit tests.
Native tests passed 78 tests, with three ignored.
The frontend production build passed before packaging and during the installer build.
The locked NSIS build completed with the normal `com.runestone.app` identifier and window configuration.
The application and installer report version 0.1.17.
The generated installer includes all 73 Browser resources and retains the default reinstall choice and downgrade restriction.
Git passed its source check, five unit tests, compilation, and sidebar, UI, and host browser checks.
The final ZIP contains a root manifest, a readable entry module, styles, and installation guidance.
Every archived plugin file matches its compiled source SHA256 hash.
All 73 archived Browser resources match their staged source hashes.
The installer passes the 7-Zip archive integrity check.
The archived application differs from the release executable only in the three-byte Tauri NSIS bundle marker.
Git 0.1.3 remains a superseded local artifact. Version 0.1.4 adds the required host version and current feature guidance to its README.
Neither build replaces an earlier release file.
Appearance checks passed all five supported theme and mode combinations, migration, three-window sync, Monaco colors, and 360px settings.
The shared menu check passed after the final icon mapping changes.
Native Undo through the shared menu restored Writer text in an isolated WebView2 profile.
That profile supplied no spelling suggestions. Correction and undo with an actual spelling suggestion still need desktop acceptance.
Actual installation, reinstall, settings retention, and downgrade protection also need desktop acceptance.
The Git graph shows at most 100 commits. Dashed links mark parents outside that history.
Push and pull require a configured upstream and existing Git authentication.
Pull permits only fast-forward updates.
These builds create local artifacts. They do not install, publish, or commit them.
-21
View File
@@ -1,21 +0,0 @@
# Release history
[RuneStone](../README.md) · [Installation](installation.md) · [Build and package](builds.md)
These entries record completed local test builds. They are not public download links.
Source changes after a build do not change its recorded contents.
Each entry includes artifact paths, checks, and any remaining desktop acceptance work.
| RuneStone | Related plugin builds | Notes |
| --- | --- | --- |
| 0.1.17 | Git 0.1.4 | [Menu, themes, and Git graph](release-0.1.17.md) |
| 0.1.16 | Project Management 0.2.21, Git 0.1.2 | [Follow-up test build](release-0.1.16.md) |
| 0.1.15 | Project Management 0.2.20, Terminal 0.1.2 | [Test build](release-0.1.15.md) |
| 0.1.14 | Project Management 0.2.19, Git 0.1.1 | [Test build](release-0.1.14.md) |
| 0.1.13 | Project Management 0.2.18 | [Kanban test build](release-0.1.13.md) |
Earlier local installers include Windows save hotfix 0.1.11a, with numeric installer version 0.1.12.
Their release notes are not complete in this checkout.
See the [archive](archive/README.md) for dated implementation records and proposals.
Maintainers use the [build guide](builds.md) to package installers and run installation checks.
+95 -4
View File
@@ -8,6 +8,7 @@ This reference describes the interface and its shared dimensions. Agent instruct
## Design principles
Keep attention on the user's work. Use quiet backgrounds for the active view and reserve strong accents for alerts or actions that need attention.
Show only what the current task needs. Let users collapse optional sections and hide panes when they need more space.
Tabs can join visually with their content area. A selected view does not need a bright border or a repeated heading.
Show each board name once in the main controls. Keep switching and renaming as separate actions with clear targets.
@@ -33,6 +34,9 @@ Document and plugin tabs share the tab bar. The new-tab button follows the tabs.
Tabs retain their order and pin state when a plugin replaces its current view.
The last closed tab leaves an empty New tab. Sidebar widths and visibility persist across window sessions.
Opening a different editor does not restore a hidden outline.
Detached tabs contain the tab work area and window controls. They do not mount side panes, a plugin ribbon, or pane switches.
Their layout does not change the main window layout. See [UI-004](design-decisions.md#ui-004--detached-tab-work-area).
The built-in browser opens from its own toolbar action. Project Management opens from Plug-in views.
## Icons and controls
@@ -57,24 +61,43 @@ Feature code does not override menu rows. Menu width can expand when content nee
| --- | --- | --- |
| `--rs-menu-width` | 248px | Standard menu width |
| `--rs-menu-padding` | 5px | Inset around rows |
| `--rs-menu-row-height` | 26px | Minimum row height |
| `--rs-menu-row-padding` | 3px 8px | Vertical and horizontal row padding |
| `--rs-menu-font-size` | 12px | Shared text size |
| `--rs-menu-row-height` | 30px | Minimum row height |
| `--rs-menu-row-padding` | 4px 10px | Vertical and horizontal row padding |
| `--rs-menu-font-size` | 13px | Shared text size |
| `--rs-menu-border` | `transparent` | Borderless panel |
| `--rs-menu-icon-size` | 14px | Action icon size |
| `--rs-menu-icon-gap` | 8px | Space between icon and label |
All rows reserve an icon column. Shortcut text and submenu arrows occupy trailing columns.
Menus with only text choices omit the icon column. Mixed action menus reserve the icon column for every row.
Shortcut text and submenu arrows occupy trailing columns.
Enabled rows share hover and keyboard focus colors. Disabled rows stay readable and cannot run.
Menus support arrow keys, Home, End, Enter, Space, and Escape.
Right opens a submenu. Left returns to its parent. Keyboard dismissal restores focus.
Menus stay inside the viewport and scroll when their contents exceed its height.
Menus use 30-pixel rows, 13-pixel text, and a borderless panel with a shadow.
Keep hover and keyboard focus fills quiet, with an inset from the panel edge.
Theme, appearance, board, and list menus share these values. See [decision UI-002](design-decisions.md#ui-002--share-the-requested-dropdown-design).
See [UI-006](design-decisions.md#ui-006--borderless-shared-menus) for the borderless panel rule.
Radio choices show the current option with a quiet fill and no checkmark.
The current enabled radio choice receives focus when its menu opens. See [UI-003](design-decisions.md#ui-003--quiet-menu-choices).
A menu row can have a default action and a submenu.
Clicking the label, Enter, or Space runs the default action. Hover, the submenu arrow, or Right opens the submenu.
New note creates a blank note. Its submenu contains templates and Manage templates.
Searchable pickers and form dialogs can use richer layouts. Native select controls retain platform behavior.
Native editing menus retain recognized editing, spelling, and emoji commands.
They omit system sharing, writing direction, dictation, and unsupported unnamed tools.
The host filters the native collection before shared display or native fallback. See [UI-008](design-decisions.md#ui-008--keep-native-editing-menus-focused).
## Settings
Settings navigation pairs icons with labels. Each settings page uses readable text and ordinary controls.
Related plugin metadata and actions occupy compact rows. Controls wrap at narrow widths, and the content area scrolls.
Long navigation lists must leave room for the selected page.
New tabs and Project Management keep separate background images and settings in every theme. Images can be up to 50 MiB.
Image bytes stay in IndexedDB. Settings retain a small image reference.
Both support image size, nine alignment positions, and an overlay that lightens or darkens the image.
Set the overlay with the slider or type a percentage from -100 to 100.
An image stays within its view area while content scrolls. A board can retain its own image.
| Shared token | Default |
| --- | --- |
@@ -92,6 +115,8 @@ The IDE and Terminal share `--rs-font-mono` and `--rs-code-font-weight`.
The monospace stack starts with Cascadia Mono, then Cascadia Code, JetBrains Mono, Fira Code, and Consolas.
The default code weight is 300. Actual appearance depends on installed fonts and their available weights.
Terminal font-size preferences remain independent.
Document headings use spacing between sections. They do not use separator lines.
Heading fold controls use the shared chevron and support keyboard focus. See [UI-005](design-decisions.md#ui-005--heading-spacing).
Tables use shared cell padding and line height. Entering a cell does not change its row height.
A plain paragraph after a table remains a paragraph when the separator line is removed.
@@ -108,3 +133,69 @@ The menu check covers file, folder, pane, tab, editor, table, and submenu exampl
Use `SMOKE_URL` to select the server URL. Use `PLAYWRIGHT_MODULE` and `CHROME_PATH` when the environment needs explicit paths.
Browser tests with desktop mocks do not replace native installer and window acceptance checks.
## Keep controls quiet
Keep empty forms hidden until the user chooses an add action. Keep section names, counts, and expand controls visible.
Remember that a collapsed section still contains work. Do not remove its data or hide errors that need attention.
Compact toolbars use icon buttons by default. Each button needs an accessible name and a tooltip on hover and keyboard focus.
Keep visible text for ambiguous choices and action menus. Do not add a caption to one familiar toolbar action while its peers use icons.
Board switching, renaming, and adding work remain separate controls. Put plug-in views in the toolbar, away from the new-tab button.
## Shared choices and highlights
Use the shared action menu for short option lists, including board and theme choices. Mark the current option with a radio state.
Use a searchable picker for long lists. Native selectors remain an older-host fallback for plugins.
Menu rows use the same inset, hover fill, focus fill, and corner radius. A menu choice and a file selection serve different purposes.
File selections retain the shared selection fill and outer outline. Hover uses the quiet active background across both surfaces.
Do not copy feature-specific colors into a shared control.
The Claude palette follows the [Anthropic brand guide](https://github.com/anthropics/skills/blob/main/skills/brand-guidelines/SKILL.md).
Keep its warm light and dark surfaces, orange accent, Lora body font, and Poppins headings with their documented fallbacks.
Shared dimensions and interaction rules apply to every palette.
## Prevent repeated UI drift
Before a new control, find its shared component and an existing example. Extend that component when the same change helps other callers.
A plugin can call `api.ui.showActionMenu` for the host menu. The host handles dismissal, focus return, and plugin cleanup.
See [UI-007](design-decisions.md#ui-007--repeated-menu-drift) for repeated menu drift and its prevention checks.
Rich pickers and forms can use separate layouts under the menu rules above. These permitted layouts do not need exception entries.
Check local style overrides when a shared control differs from its peers. Correct the shared component or token when it causes the problem.
### Current rules and decision history
This guide is the current design reference. The [design decision log](design-decisions.md) records reasons, recurring problems, and exceptions.
Keep current rules here so contributors do not need to reconstruct them from old entries.
The trigger for a rule-change entry is a changed design rule, even when only one control changes.
| Change | Required record |
| --- | --- |
| Isolated correction to an existing rule | Normal card or commit record. No design entry. |
| Intentional rule change | Update this guide and add a rule-change entry with its reason and scope. |
| Recurring problem | Link the occurrences and record the cause, prevention action, and check. |
| Deliberate exception | Record the user benefit, exact scope, and review date or trigger. Link it from the affected rule here. |
Restoring a menu to its specified color is a correction. Choosing a new font for the interface changes a rule.
Repeated wrong menu colors need a recurring-problem record. Check the shared component and local overrides before adding more guidance.
Repeated symptoms do not prove a cause. Record uncertainty until evidence identifies the cause.
Use the log templates for new entries. Update the existing entry when the same problem returns.
Keep historical decisions and link their replacements. A proposed entry does not replace the current rule.
### Evidence for review
For each UI change, include this evidence in the card or change review:
- Affected controls, the applicable guide section, and the shared component or token. Explain any separate implementation.
- Relevant screenshots of changed states in light and dark themes, including narrow layouts and applicable focus or disabled states.
- Results for keyboard use, empty and populated states, and the relevant checks listed above. State any unavailable checks.
- A check against the design principles: repeated headings, competing accents, unnecessary controls, and space left for the user's work.
- A link to a decision entry when a rule changes, a problem recurs, or an exception applies.
Keep screenshots as review evidence. An isolated correction still needs evidence, but it does not need a design entry.
Use accepted examples as visual references for later changes. Label each reference with its control, theme, state, and current rule.
Replace outdated references when the rule changes. Do not treat an unreviewed screenshot as an accepted design.
Run the shared menu check after menu changes and relevant feature checks after behavior changes.
Keep native desktop checks separate from browser tests with mocked desktop services.
Automated checks support visual and interaction review. They do not decide whether the interface keeps attention on the user's work.
Move implementation-ready work to Review after the relevant checks pass. Keep unresolved work In progress and reserve Done for the user's acceptance.
+1 -1
View File
@@ -1,6 +1,6 @@
# User guide
[RuneStone](../README.md) · [Installation](installation.md) · [Release history](releases.md)
[RuneStone](../README.md) · [Installation](installation.md)
This guide describes current source behavior. A supplied installer can contain an earlier feature set.
Check its release notes if a control is missing.