Add interface languages and improve themes and workspace controls for 0.1.36

This commit is contained in:
Knotty Wyvern
2026-10-15 10:55:59 -07:00
parent b066359b66
commit 68e86ab6eb
98 changed files with 5499 additions and 874 deletions
+1 -1
View File
@@ -54,4 +54,4 @@ Surface and provider APIs are available. Automatic context-source registration,
External plugins retain RuneStone's existing full-application trust level. This API does not add a permission sandbox.
See [the implementation](../src/lib/completion/contracts.ts), [host tests](../scripts/completion.spec.ts), and the [plugin trial guide](../../RuneStone_LocalAutocomplete/docs/trial-guide.md).
See [the implementation](../src/lib/completion/contracts.ts), [host tests](../scripts/completion.spec.ts), and the [plugin trial guide](../../RuneStone_Local_Autocomplete/docs/trial-guide.md).
+20
View File
@@ -188,6 +188,10 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Modal correction: Pass the nearest dialog as the menu parent.
- Prevention: Check each background choice and the list-status choice with the real host menu API, in both themes and narrow layouts.
- Modal prevention: Run the settings harness with showModal to catch blocked pointer and keyboard input.
- Language occurrence: The French code menu truncated its longer action label during the language-card review on 2026-10-15.
- Language cause: A global .action-label rule forced ellipsis and prevented the shared menu label from wrapping.
- Language correction: The shared menu label explicitly resets overflow, text overflow, and white space in menu.css.
- Language prevention: The shared menu check now includes a long translated action beside a shortcut at a viewport edge.
- 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.
- Modal evidence: RuneStone_BG_Slideshow/tests/artifacts/settings and the card review notes.
@@ -540,3 +544,19 @@ Replaced by: [UI-024](#ui-024--assertive-functional-color-by-default) strengthen
- Checks: editorSurfaces.smoke.mjs checks direct corrections, keyboard activation, replacement, undo, and narrow menus in both themes.
- Limits: Browser checks mock Windows spelling results. Native dictionary behavior remains a user acceptance check.
### UI-028 — Adjustable surface transparency and fixed custom palettes
- Type: Rule change
- Date: 2026-10-15
- Status: Implemented for user review
- Decision source: Cards 31d8931e-9d1b-4688-bb4f-03ee727b0f8f and 90906e18-4082-445e-a6fd-3cbda4d94226.
- Previous rule: Image surfaces and menus used fixed tint percentages. Theme templates contained separate light and dark palettes.
- New rule: Appearance controls surface transparency from 0% to 100% and can make surfaces opaque. The slider uses current theme tokens. Theme templates contain one fixed palette and the current interface, prose, heading, and code font stacks.
- Reason: Users need control over image visibility and compositing. A single palette matches the selected theme without a separate mode toggle.
- Scope: Host menus, image surfaces, compatible plugin surfaces, and custom theme import and export.
- Shared implementation: appearance.ts, customThemes.ts, and the surface-opacity tokens in tokens.css.
- Compatibility: Default surface and editor tints remain 82% and 90%. Schema 1 files remain importable.
- Evidence: scripts/appearanceLanguage.smoke.mjs, scripts/customThemes.spec.ts, and the affected cards retain checks and screenshots.
- Follow-up evidence: Cards 5a56a250-b46a-4319-8f25-5f6ac4362a32, 682ad51f-66a1-477d-b02e-c1acb1c14d4e, and 97fe6f6b-5780-436e-abd8-a8135efbbe87 cover the full range, themed slider, and missing font stacks. `scripts/hostAppearance.smoke.mjs` checks the exact controls and exports.
- Limits: Browser checks use desktop mocks. Native display and user acceptance remain open.
+4 -4
View File
@@ -47,8 +47,8 @@ The frontend uses port 1420, and Tauri loads `http://localhost:1420`.
| Change or task | Action |
| --- | --- |
| Svelte, TypeScript, or CSS under `src/` | Save the source file. Vite updates the interface without a Rust rebuild. |
| Feature source under `plugins/` | Run `pnpm build:plugins`, then remove the old package and install the changed ZIP through Settings. |
| Table formulas source in `../RuneStone_TableFormulas/` | Install that checkout's dependencies, then run `pnpm build:plugins` in RuneStone. Reinstall the changed ZIP through Settings. |
| Plugin source in a sibling checkout | Run its documented checks and package command, then install the changed ZIP through Settings. |
| Table Formulas source in `../RuneStone_Table_Formulas/` | Install that checkout's dependencies, then run `pnpm build:plugins` in RuneStone. Reinstall the changed ZIP through Settings. |
| Rust code under `src-tauri/src/` | Save the source file. Tauri rebuilds the changed Rust code and restarts the app. |
| Rust dependencies or build settings | Allow Cargo to compile the affected dependencies. These changes can take longer. |
| JavaScript dependencies after a pull or branch change | Stop development, run `pnpm install --frozen-lockfile`, then start `pnpm tauri dev` again. |
@@ -138,8 +138,8 @@ detected shell profile and check shell prompt integration.
A browser can show the interface, but real folder access, file writes, and terminals require the desktop host.
Use `pnpm tauri dev` for manual tests of those features.
Run `pnpm build:plugins` before tests that use Terminal or Table formulas.
Clone [RuneStone_TableFormulas](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_TableFormulas) beside RuneStone and install its dependencies first.
Run `pnpm build:plugins` before tests that use Terminal or Table Formulas.
Clone [RuneStone_Table_Formulas](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_TableFormulas) beside RuneStone and install its dependencies first.
Set `RUNESTONE_TABLE_FORMULAS_ROOT` if that checkout is elsewhere.
These tests load the compiled packages through the production module loader.
The browser tests use the real interface with mocked desktop communication.
+3 -3
View File
@@ -53,11 +53,11 @@ original text without deleting the new note. Row and Column submenus insert,
move, duplicate, and delete at the clicked cell. Column moves keep alignment. Sorting is stable and natural (2 before 10), leaves blanks last, and keeps the
header fixed. Context-menu actions and table edge buttons have matching icons.
## Calculate with Table formulas
## Calculate with Table Formulas
Install and enable the optional Table formulas plugin before using these calculations.
Install and enable the optional Table Formulas plugin before using these calculations.
Table formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
Table Formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
`=SUM(B2:B10)`, or `=ROUND(B2/3, 2)`. Columns use A, B, …, AA. Row 1 is
the header, so the first data row is 2. References stay inside the current table.
Arithmetic supports `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%`.
+3
View File
@@ -23,6 +23,9 @@ persist locally. New terminals inherit the app environment, including PATH.
## Run scripts and navigate commands
Drag across terminal text to select it. Ctrl+C copies a selection.
Without a selection, Ctrl+C sends an interrupt to the shell. Ctrl+Shift+C also copies selected text.
More terminal actions clears scrollback, runs selected editor text, or saves
and runs the active script. Supported runners include Python, JavaScript,
PowerShell, Bash, Ruby, Windows batch files, and executables. Their runtimes
+56 -41
View File
@@ -2,70 +2,85 @@
[User guide](../user-guide.md) · [Interface design](../ui-design.md)
Open Settings → Appearance to choose RuneStone, Claude, Sakura, or an installed custom theme.
RuneStone and Claude offer light and dark appearances. Sakura uses light only.
Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.
Open Settings → Appearance to choose a palette or install a custom theme.
RuneStone and Claude offer separate light and dark choices in the theme menu.
Sakura uses one light appearance. Harvest Moon, Crimson Pilot, and Silver Serpent each use one dark appearance.
Named palettes include their own typography and syntax colors. Fonts use local fallback stacks without downloads.
## Adjust transparency
Transparent surfaces controls the tint on menus, image-backed work areas, and compatible plugin surfaces.
The amount ranges from 0% to 100%. The default is 18%.
Turn the switch off for opaque surfaces. This keeps text and icons opaque and preserves the selected palette.
The setting applies across open windows and remains after restart.
## Create a theme
1. Choose Export theme template.
2. Edit the saved JSON file in a text editor.
3. Choose Install theme and select the file.
1. Select the appearance that you want as a starting point.
2. Choose Export theme template.
3. Edit the saved JSON file in a text editor.
4. Choose Install theme and select the file.
The file must be smaller than 64 KiB. Both `light` and `dark` need `bg`, `text`, and `accent` colors.
Use hexadecimal colors with 3, 4, 6, or 8 digits. The example supplies complete surface and text colors for both modes.
The export contains one `colors` palette, including the current surface, text, accent, status, and syntax colors.
Custom themes use this fixed palette. They do not contain separate light and dark sections.
The file must be smaller than 64 KiB. The palette requires `bg`, `text`, and `accent`.
Use hexadecimal colors with 3, 4, 6, or 8 digits.
```json
{
"schema": 1,
"schema": 2,
"id": "harbor",
"name": "Harbor",
"light": {
"bg": "#f3f6f8",
"bg-elevated": "#ffffff",
"bg-active": "#dfe9ef",
"border": "#bccdd8",
"text": "#223344",
"text-dim": "#526778",
"text-strong": "#102536",
"accent": "#14658f",
"selection": "#b5d9ef"
},
"dark": {
"bg": "#14232e",
"bg-elevated": "#1b2d3b",
"bg-active": "#294354",
"border": "#405b6d",
"text": "#e0eaf0",
"text-dim": "#a3bac8",
"text-strong": "#f5fafc",
"accent": "#81c8ed",
"selection": "#315d77"
"colors": {
"bg": "#141414",
"bg-elevated": "#1c1c1c",
"bg-active": "#2a2a2a",
"border": "#454545",
"text": "#e6e6e6",
"text-dim": "#b0b0b0",
"text-strong": "#ffffff",
"accent": "#00c8ff",
"selection": "#264f78"
}
}
```
The ID starts with a lowercase letter and permits lowercase letters, numbers, and hyphens, up to 64 characters.
The visible name permits up to 80 characters. Reinstalling the same ID replaces that theme's colors.
Unknown color keys or invalid values stop installation with an error.
The ID starts with a lowercase letter. It permits lowercase letters, numbers, and hyphens, up to 64 characters.
The visible name permits up to 80 characters. Installing the same ID replaces that theme's colors.
Unknown keys and invalid colors stop installation with an error.
Older schema 1 themes remain importable. Import uses the palette for the current appearance and saves it as one fixed palette.
## Available colors
| Keys | Use |
| --- | --- |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces, selected controls, and boundaries |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces and boundaries |
| `text`, `text-dim`, `text-strong` | Normal, secondary, and prominent text |
| `accent`, `accent-2`, `selection` | Links, accents, and editor selection |
| `error`, `warn`, `warn-hot`, `ok`, `special` | Messages and syntax colors |
| `error`, `warn`, `warn-hot`, `ok`, `special` | Status and special content |
| `syntax-parameter`, `syntax-keyword`, `syntax-local`, `syntax-static`, `syntax-instance`, `syntax-global` | Code identifiers and keywords |
| `syntax-string`, `syntax-number`, `syntax-comment`, `syntax-type`, `syntax-function` | Code values, comments, types, and functions |
Omitted optional colors use the RuneStone defaults for that appearance.
The theme file contains color values, without scripts, style rules, or plugin code.
Optional colors use the base appearance when omitted. Export includes all supported keys to make these choices explicit.
Theme files can also contain an optional `fonts` object with `ui`, `prose`, `heading`, and `mono` font stacks.
Export includes all four current stacks. For example, `"fonts": { "ui": "Segoe UI, sans-serif", "mono": "Cascadia Mono, monospace" }`.
These names use fonts installed on the device. Theme files do not install font files.
Imports without `fonts` keep the selected theme's normal font stacks.
Theme files contain colors and font stacks without scripts, style rules, or plugin code.
## Set a background
Choose an image in Appearance. Its layout can fill the area, fit the complete image, or retain its original size.
Choose an alignment and set the overlay from -100% to 100%.
Negative values lighten the image. Positive values darken it.
Background images remain local. Project Management can retain a separate board image.
The optional Background Slideshow plugin can temporarily replace these images.
## Share or remove a theme
With a custom theme selected, Export theme template saves its current definition.
Share that JSON file with another user, who can install it through Appearance.
Remove custom theme removes the selected definition and returns to RuneStone colors.
Themes stay in this device's application preferences and apply across workspaces.
Share the JSON file with another user, who can install it through Appearance.
Remove custom theme returns to RuneStone colors. Themes remain in this device's preferences across workspaces.
Check normal text, secondary text, links, focus indicators, and selections in both appearances before sharing a theme.
Check text, links, focus, selections, and image surfaces before sharing a theme.
Keep informative text and symbols opaque. Use the [functional color requirements](../ui-color.md) when choosing colors.
+8 -15
View File
@@ -5,7 +5,7 @@
| Platform | Current route |
| --- | --- |
| Windows 10 or 11, Intel/AMD 64-bit | Supplied local test installer |
| Linux | Experimental source setup. Native build and installation checks remain unvalidated. |
| Linux | Complete Ubuntu source commands in the README. Limited native checks exist. Installation remains experimental. |
| macOS | Experimental source setup. Native build and installation checks remain unvalidated. |
No public download location is configured. Get a Windows installer from the maintainer who supplied your test release.
@@ -35,21 +35,14 @@ You do not need to uninstall first. Setup preserves workspace files and settings
## Try the source on Linux
This route is for developers who can diagnose an experimental build.
Start with the [complete Ubuntu 24.04 terminal commands](../README.md#linux-ubuntu-2404-lts-intelamd-64-bit) in the README.
They install Git, Node.js 24, pnpm 10, Rust, and system libraries before downloading and launching RuneStone.
The commands also package and stage the built-in Browser, which the native host needs.
1. Install Node.js 24, pnpm 10, and stable Rust.
2. Install the [Tauri system packages for your distribution](https://v2.tauri.app/start/prerequisites/#linux).
3. Download or clone RuneStone into a Linux folder.
4. Open a terminal in that folder and run the commands below.
```sh
pnpm install --frozen-lockfile
pnpm tauri dev
```
Run the app inside your graphical desktop session. Do not copy Windows dependency or build folders into the Linux checkout.
The [Linux readiness guide](linux.md) contains the Debian/Ubuntu package example, desktop checks, and experimental Debian/AppImage packaging steps.
No native Linux test result is recorded yet.
Run the app inside your graphical desktop session as your ordinary user.
Keep Linux dependencies and build output separate from Windows copies.
Linux remains experimental. The [validation record](linux.md#release-package-validation-2026-10-15) describes the completed Ubuntu 26.04 checks and remaining limits.
Ubuntu 24.04 and system-wide package installation remain untested.
## Try the source on macOS
+46 -16
View File
@@ -1,6 +1,6 @@
# Linux readiness
[Developer guide](development.md)
[Complete Ubuntu setup commands](../README.md#linux-ubuntu-2404-lts-intelamd-64-bit) · [Developer guide](development.md)
Linux support is experimental. Limited native validation is recorded below;
the complete desktop and installer acceptance checks remain outstanding.
@@ -25,24 +25,38 @@ An Intel/AMD build does not establish ARM support.
## 2. Prepare the Linux build environment
Install Node.js 24, pnpm 10, and stable Rust on the Linux box.
Use a separate Linux checkout. Do not copy Windows `node_modules` or `src-tauri/target` folders.
Use the [complete README setup](../README.md#linux-ubuntu-2404-lts-intelamd-64-bit) for a first Ubuntu 24.04 trial.
It includes every tool installation command, source download, Browser preparation, and native launch.
Close the app and press Ctrl+C before the checks below.
Do not copy Windows `node_modules` or `src-tauri/target` folders into Linux.
Install the system packages for your distribution from [Tauri's Linux prerequisites](https://v2.tauri.app/start/prerequisites/#linux).
For Ubuntu or Debian with WebKitGTK 4.1 available, use:
The commands use the project's configured private clone address.
Source access is required. No public source-download location is configured.
The first build needs internet access for tools and dependencies.
```sh
sudo apt update
sudo apt install build-essential pkg-config curl wget file \
libwebkit2gtk-4.1-dev libxdo-dev libssl-dev \
libayatana-appindicator3-dev librsvg2-dev
```
### Command sources
These commands are an Ubuntu/Debian example, not instructions for every Linux distribution.
The first Rust build and package build need internet access for dependencies and packaging tools.
The setup instructions were checked against these primary sources on October 15, 2026:
- [Tauri Linux prerequisites](https://v2.tauri.app/start/prerequisites/#linux): native development libraries and Rust installation.
- [Node.js downloads](https://nodejs.org/en/download) and [nvm installation](https://github.com/nvm-sh/nvm#install--update-script): Node.js 24 and its per-user installer.
- [pnpm 10 installation](https://pnpm.io/10.x/installation#using-npm): the npm installation method.
- [Rust installation](https://rust-lang.github.io/rustup/installation/index.html): the Rust toolchain and account environment.
- [Ubuntu 24.04 packages](https://packages.ubuntu.com/noble/): distribution package names, including the `t64` runtime libraries.
Browser commands come from `browser-runtime/package.json` and its packaging and staging scripts in this repository.
The README commands were reviewed on Windows. They were not executed on a clean Ubuntu 24.04 system.
## 3. Check the source and open the app
Load the account tools and enter the source folder before these checks:
```sh
. "$HOME/.nvm/nvm.sh"
. "$HOME/.cargo/env"
cd "$HOME/RuneStone"
```
From the Linux checkout, install the project dependencies:
```sh
@@ -72,8 +86,8 @@ work around sandbox failures with `--no-sandbox` or by running RuneStone as root
Test the Browser on the intended distro, including its user-namespace policy.
The native host uses WebKitGTK and the Browser uses Electron; both need testing.
The full test suite needs the Table formulas package.
Clone `RuneStone_TableFormulas` beside RuneStone and install its dependencies, as described in the [plugin guide](plugins.md).
The full test suite needs the Table Formulas package.
Clone `RuneStone_Table_Formulas` beside RuneStone and install its dependencies, as described in the [plugin guide](plugins.md).
Then run these checks from RuneStone:
```sh
@@ -155,6 +169,22 @@ Call a distribution supported only after its native tests and package checks pas
Repeat the automated checks on a Linux runner before each Linux release.
No Linux automation is configured yet. Add it when the build host and target distribution are known.
## Setup help
| Problem | Action |
| --- | --- |
| `sudo` asks for a password | Type your Ubuntu account password, then press Enter. The terminal does not show the characters. |
| Git cannot reach `10.0.0.5` | Connect to the maintainer's network, or request a reachable clone address. |
| Git requests a username or password | Use repository credentials from the maintainer. Source access is separate from your Ubuntu account. |
| `destination path 'RuneStone' already exists` | Keep that folder. For an existing checkout, use the later-launch commands in the README. |
| `node`, `pnpm`, or `cargo` is not found | Use the later-launch block to load the account environment. Check that the earlier tool installation completed. |
| A system package cannot be found | Check your Ubuntu version with `cat /etc/os-release`. This command list targets Ubuntu 24.04. |
| The Browser runtime is missing | From the source folder, repeat `npm ci --prefix browser-runtime`, then its `package` command and `pnpm browser:stage`. |
| Electron reports a sandbox or user-namespace error | Keep the sandbox enabled. Report the error and Ubuntu version to the maintainer. Do not run RuneStone as root. |
| The first build stops | Keep the first error text and failed command. Report them with your Ubuntu version and available memory/disk space. |
Use the [validation checks](#4-complete-the-desktop-checks) after the first launch.
## Validation record: 2026-10-14
Validated on `desk`: Ubuntu 26.04.1 LTS, x86_64, four CPUs, 7.2 GiB reported RAM,
@@ -194,7 +224,7 @@ not prevent these smoke checks. No sandbox, security, swap, or permission workar
was used. Existing user settings and workspaces were not used.
No installer or release package was produced, versions were unchanged, and nothing
was published. Remaining work includes supplying/building `RuneStone_TableFormulas`
was published. Remaining work includes supplying/building `RuneStone_Table_Formulas`
and rerunning the full source suite, completing the desktop checks above, and
validating Debian/AppImage installation and lifecycle behavior on the intended
target distribution. These results do not establish full Linux support.
+44 -34
View File
@@ -1,15 +1,15 @@
{
"date": "2026-10-14",
"date": "2026-10-15",
"scope": [
"RuneStone",
"RuneStone_ProjectManagement",
"RuneStone_Project_Management",
"RuneStone_Terminal",
"RuneStone_BG_Slideshow",
"RuneStone_LocalAutocomplete",
"RuneStone_Background_Slideshow",
"RuneStone_Local_Autocomplete",
"RuneStone_Git",
"RuneStone_PDFViewer",
"RuneStone_TableFormulas",
"RuneStone_CSVViewer"
"RuneStone_PDF_Viewer",
"RuneStone_Table_Formulas",
"RuneStone_CSV_Viewer"
],
"limits": [
"Source patterns detect known menu construction routes. Browser evidence remains a separate check.",
@@ -127,7 +127,7 @@
"RuneStone/src/lib/layout/WorkspacePicker.svelte": {
"counts": {
"picker": 1,
"localPopup": 7
"localPopup": 8
},
"design": "Shared rich picker; paths retain a detail row",
"check": "scripts/workspaces.smoke.mjs"
@@ -176,64 +176,64 @@
"design": "Shared action menu",
"check": "scripts/menuConsistency.smoke.mjs"
},
"RuneStone_ProjectManagement/src/choices-ui.ts": {
"RuneStone_Project_Management/src/choices-ui.ts": {
"counts": {
"action": 1
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/details-ui.ts": {
"RuneStone_Project_Management/src/details-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 4
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/labels-ui.ts": {
"RuneStone_Project_Management/src/labels-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 3
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/preferences.ts": {
"RuneStone_Project_Management/src/preferences.ts": {
"counts": {
"action": 1,
"nativeChoice": 1
},
"design": "Shared choice adapter; native selects hidden on current host, older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/priority-ui.ts": {
"RuneStone_Project_Management/src/priority-ui.ts": {
"counts": {
"action": 1,
"picker": 1,
"localPopup": 3
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/relations-ui.ts": {
"RuneStone_Project_Management/src/relations-ui.ts": {
"counts": {
"nativeChoice": 1,
"picker": 1,
"localPopup": 5
},
"design": "Shared relationship choice and direct searchable picker rows; older-host choice fallback retained",
"check": "RuneStone_ProjectManagement/tests/relations-menu.spec.ts; tests/menu-audit.spec.ts; tests/related-cards.spec.ts"
"check": "RuneStone_Project_Management/tests/relations-menu.spec.ts; tests/menu-audit.spec.ts; tests/related-cards.spec.ts"
},
"RuneStone_ProjectManagement/src/tags.ts": {
"RuneStone_Project_Management/src/tags.ts": {
"counts": {
"picker": 2,
"localPopup": 2
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_ProjectManagement/src/ui.ts": {
"RuneStone_Project_Management/src/ui.ts": {
"counts": {
"action": 4,
"nativeChoice": 14,
@@ -241,7 +241,7 @@
"localPopup": 1
},
"design": "Shared choice adapter; native selects hidden on current host, older-host fallback retained",
"check": "RuneStone_ProjectManagement/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Terminal/src/TerminalDock.svelte": {
"counts": {
@@ -266,14 +266,14 @@
"design": "Synchronized shared action menu snapshot",
"check": "RuneStone_Terminal/scripts/terminal.smoke.mjs"
},
"RuneStone_BG_Slideshow/src/contracts.ts": {
"RuneStone_Background_Slideshow/src/contracts.ts": {
"counts": {
"action": 1
},
"design": "API type declaration, no renderer",
"check": "pnpm check"
},
"RuneStone_BG_Slideshow/src/image-settings-ui.ts": {
"RuneStone_Background_Slideshow/src/image-settings-ui.ts": {
"counts": {
"action": 1,
"nativeChoice": 1,
@@ -281,16 +281,16 @@
"localPopup": 3
},
"design": "Host action menus and shared searchable image picker; native image select only on older hosts",
"check": "RuneStone_BG_Slideshow/tests/settings.smoke.mjs"
"check": "RuneStone_Background_Slideshow/tests/settings.smoke.mjs"
},
"RuneStone_BG_Slideshow/src/settings.ts": {
"RuneStone_Background_Slideshow/src/settings.ts": {
"counts": {
"action": 1
},
"design": "Host action menus and shared searchable image picker; native image select only on older hosts",
"check": "RuneStone_BG_Slideshow/tests/settings.smoke.mjs"
"check": "RuneStone_Background_Slideshow/tests/settings.smoke.mjs"
},
"RuneStone_LocalAutocomplete/src/main.mjs": {
"RuneStone_Local_Autocomplete/src/main.mjs": {
"counts": {
"action": 1,
"nativeChoice": 1
@@ -305,12 +305,22 @@
"design": "Commit history listbox, not a popup menu",
"check": "Source inspection: persistent history list retains its own layout"
},
"RuneStone_CSVViewer/src/index.js": {
"RuneStone_CSV_Viewer/src/index.js": {
"counts": {
"action": 1
"action": 1,
"picker": 1,
"localPopup": 5
},
"design": "Host action menus for columns, sorting, filter types, and operators",
"check": "RuneStone_CSVViewer/tests/browser.mjs; tests/host.mjs"
"design": "Shared action menus for sorting, filters, and header actions. Persistent searchable column visibility dialog uses rs-picker rows and shared surfaces.",
"check": "RuneStone_CSV_Viewer/tests/browser.mjs; RuneStone_CSV_Viewer/tests/host.mjs"
},
"RuneStone/src/lib/layout/SettingsDialog.svelte": {
"counts": {
"action": 1,
"localPopup": 1
},
"design": "Shared action menu for interface language; settings retain ordinary controls",
"check": "scripts/appearanceLanguage.smoke.mjs; scripts/menuConsistency.smoke.mjs"
}
}
}
+21 -29
View File
@@ -1,40 +1,32 @@
# Plugin names and source folders
Use these names in Settings, plugin manifests, help, and problem reports.
Use names without spaces for source folders and package metadata.
Use these display names in Settings, manifests, help, and problem reports.
Each checkout sits beside `RuneStone`, except the built-in Browser.
| Plugin name | Source folder after manual rename | Current source folder | npm package name | Stable plugin ID |
| --- | --- | --- | --- | --- |
| 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 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 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.
5. Run the documented checks from each renamed checkout before the next build.
Keep each plugin beside the `RuneStone` host checkout, or set `RUNESTONE_ROOT` to the host path.
The plugin build and package scripts use their own checkout or working directory and the host path.
They support both the current and intended folder names.
A local folder rename does not rename a remote repository. Keep existing remote URLs until the team changes them.
| Display name | Source folder | Stable plugin ID |
| --- | --- | --- |
| Browser (built in) | `RuneStone/browser-runtime` | `runestone.browser` (legacy) |
| Background Slideshow | `RuneStone_Background_Slideshow` | `runestone.bg-slideshow` |
| CSV Viewer | `RuneStone_CSV_Viewer` | `runestone.csv-viewer` |
| Git | `RuneStone_Git` | `runestone.git` |
| Local Autocomplete | `RuneStone_Local_Autocomplete` | `runestone.local-autocomplete` |
| PDF Viewer | `RuneStone_PDF_Viewer` | `runestone.pdf-viewer` |
| Project Management | `RuneStone_Project_Management` | `runestone.pm` |
| Table Formulas | `RuneStone_Table_Formulas` | `runestone.table-formulas` |
| Terminal | `RuneStone_Terminal` | `runestone.terminal` |
## Stable package and data names
Display names describe the plugins. Stable IDs connect installed packages to their settings and saved data.
The packager uses each stable plugin ID and version for the ZIP filename.
For example, Project Management keeps `runestone.pm-<version>.zip`.
Do not rename published ZIP files or change plugin IDs as part of a display-name change.
For example, Project Management uses `runestone.pm-<version>.zip`.
Changing capitalization does not change plugin IDs, settings, or saved workspace data.
Project Management retains `.runestone/pm/`, `runestone_pm`, and its existing preview storage key.
Existing view IDs, setting keys, and document IDs also stay unchanged.
These technical names preserve access to existing data and are not alternate product names.
Project Management retains `.runestone/pm/`, `runestone_pm`, and its preview storage key.
Existing view IDs and document IDs retain their names too.
Local folder names can differ from remote repository names.
Keep existing remote URLs when a local checkout moves.
Set `RUNESTONE_ROOT` when a plugin's packager needs a different host checkout.
The [plugin package reference](plugins.md) explains packaging and installation.
+30 -15
View File
@@ -4,18 +4,18 @@
RuneStone installs JavaScript plugins from local ZIP files and experimental Gitea release downloads.
Open Settings → Plug-ins to install, enable, disable, or uninstall them.
See [plugin names and source folders](plugin-names.md) for display names, stable IDs, and pending manual folder changes.
Terminal and Table formulas use the same installed package system as all other plugins.
See [plugin names and source folders](plugin-names.md) for display names, stable IDs, and checkout locations.
Terminal and Table Formulas use the same installed package system as all other plugins.
## Build and install the feature packages
1. Clone `RuneStone_TableFormulas` beside RuneStone and run `pnpm install --frozen-lockfile` in that checkout.
2. Run `pnpm build:plugins` from the RuneStone repository root for Table formulas.
1. Clone `RuneStone_Table_Formulas` beside RuneStone and run `pnpm install --frozen-lockfile` in that checkout.
2. Run `pnpm build:plugins` from the RuneStone repository root for Table Formulas.
3. In Settings → Plug-ins, choose Install plugin ZIP.
4. Select the ZIP files in `../RuneStone_TableFormulas/releases/`, then choose Install and enable.
4. Select the ZIP files in `../RuneStone_Table_Formulas/releases/`, then choose Install and enable.
The build creates `runestone.table-formulas-0.1.0.zip`.
Table formulas is a development package in its [own repository](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_TableFormulas).
The build creates `runestone.table-formulas-<version>.zip` in that plugin's `releases/` folder.
Table Formulas is a development package in its [own repository](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_TableFormulas).
Set `RUNESTONE_TABLE_FORMULAS_ROOT` to use a different checkout location.
That repository also supports `pnpm package:plugin`, with `RUNESTONE_ROOT` selecting the host packager.
The folders beside them contain build output for inspection and tests.
@@ -23,8 +23,7 @@ Use the ZIP files for installation and releases.
Terminal development lives in the separate [RuneStone_Terminal repository](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_Terminal).
In that repository, run `pnpm install --frozen-lockfile`, then `pnpm build`.
Install `releases/runestone.terminal-0.1.0.zip` through the same plugin ZIP installer.
Version 0.1.0 marks Terminal as a development package.
Install `releases/runestone.terminal-<version>.zip` through the same plugin ZIP installer.
The local source folder is `../RuneStone_Terminal/` when both repositories share a parent directory.
No plugin starts automatically in a fresh installation.
@@ -298,8 +297,8 @@ The test checked the installed hashes and kept all four plugins disabled.
| Plugin | Package version |
| --- | --- |
| Terminal | 0.1.0 |
| Table formulas | 0.1.0 |
| PDF viewer | 0.0.1 |
| Table Formulas | 0.1.0 |
| PDF Viewer | 0.0.1 |
| Project management | 0.2.3 |
The authenticated check of the personal Gitea server found no releases in these four repositories.
@@ -345,6 +344,9 @@ export function activate(api) {
| --- | --- |
| `api.id` | The installed plugin ID |
| `api.signal` | An abort signal triggered before shutdown |
| `api.i18n.locale` | Current interface language: `en`, `fr`, `ja`, or `zh-CN`. Optional API |
| `api.i18n.t(message, values?, catalogs?)` | Translate an explicit interface message with optional plugin catalogs and named placeholders |
| `api.i18n.subscribe(listener)` | Receive the current language immediately and subsequent changes. Returns cleanup and stops when the plugin is disabled |
| `contribute(key, value)` | Register a typed terminal or table formula contribution |
| `registerCommand({ id, title, run })` | Add a command to Commands in the toolbar |
| `registerCommand({ category: "open", ... })` | Add a launch action to Open tab or view |
@@ -365,6 +367,7 @@ export function activate(api) {
| `workspace.list(path?)` | List a directory in this window's active workspace |
| `workspace.listMarkdown()` | Return sorted visible Markdown paths in one native request. Optional API |
| `workspace.read(path)` | Read a workspace text file |
| `workspace.readMany(paths)` | Optional batched text read. Accept at most 64 paths and return a source or error for each path |
| `workspace.readBytes(path)` | Read workspace bytes as a Uint8Array, with a 64 MiB limit. Requires the binary document host update |
| `workspace.readOptional(path)` | Read text, or return null when the file is absent. Added in 0.1.6 |
| `workspace.create(path, contents)` | Create complete text without replacing an existing file. Added in 0.1.6 |
@@ -374,9 +377,14 @@ export function activate(api) {
| `settings.subscribe(listener)` | Receive saved settings changes across windows. Optional API |
| `assets.read(path)` | Read package bytes as a `Uint8Array` |
Check for `workspace.readMany` before calling it. Older hosts require individual reads.
Each result contains `path` and either `source` or `error`. One failed file does not discard the remaining results.
The native batch accepts at most 64 paths and 16 MiB of combined UTF-8 text.
Workspace path checks and plugin shutdown checks apply to these reads.
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.
Plugin commands can supply an optional `icon` from the shared action icon set in `src/lib/ui/actionIcons.ts`.
Use a recognizable action icon, such as `skip-forward` or `pause`, for each command. 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.
@@ -384,6 +392,13 @@ The host mounts that view inside Settings and removes it from the launch menu.
Settings loads enabled plugins so their configuration pages remain available in the separate settings window.
The host calls `mount(container, context)` with `context.surface` set to `"settings"` or `"view"`.
Older hosts can omit the context argument.
The optional language API shares the language selected in General settings across plugin views and windows.
Plugins supply their own catalogs for plugin-specific text. A missing message falls back to the shared host catalog, then its English source.
For example, `api.i18n?.t('Hide column', {}, { fr: { 'Hide column': 'Masquer la colonne' } }) ?? 'Hide column'`.
Use a subscription to refresh interface labels after a language change. Dispose a view's subscription when that view closes.
Translate explicit interface text only. Keep document text, filenames, board names, IDs, and keyboard identifiers unchanged.
Existing packages retain their current language until their source adopts this API and supplies catalogs.
Local Autocomplete keeps temporary reference text in its editor view because that text belongs to one window.
Open Commands → Configure Local Autocomplete in that window to use reference text.
@@ -448,8 +463,8 @@ The plugin must stop its mounted controls and native sessions in `onDispose` bef
| `src/lib/plugins/registry.ts` / `contracts.ts` | Shared feature contributions and their types |
| `src/lib/plugins/TerminalSlot.svelte` | The host element for terminal controls |
| `../RuneStone_Terminal/src/` | Terminal plugin source in its own repository |
| `../RuneStone_TableFormulas/` | Table formulas source, unit tests, and package build |
| `scripts/buildPlugins.mjs` | Table formulas compilation and ZIP release in `../RuneStone_TableFormulas/releases/` |
| `../RuneStone_Table_Formulas/` | Table Formulas source, unit tests, and package build |
| `scripts/buildPlugins.mjs` | Table Formulas compilation and ZIP release in `../RuneStone_Table_Formulas/releases/` |
| `scripts/packagePlugin.mjs` | Shared checks and ZIP creation for plugin authors |
Run `pnpm build:plugins`, `pnpm check`, `pnpm test`, `pnpm build`, and `cargo test --manifest-path src-tauri/Cargo.toml --lib --offline`.
+5 -5
View File
@@ -6,7 +6,7 @@ This reference preserves intended capabilities and design constraints. Some feat
See the [interface design reference](ui-design.md) for shared controls, dimensions, and visual checks.
See the [roadmap](roadmap.md) for goals and milestones, and the [user guide](user-guide.md) for current behavior and limitations.
The core stays active while installed packages supply optional Terminal and Table formulas features.
The core stays active while installed packages supply optional Terminal and Table Formulas features.
External JavaScript packages can add commands and views. See the [plugin guide](plugins.md) for current boundaries.
## Workspace and files
@@ -49,7 +49,7 @@ External JavaScript packages can add commands and views. See the [plugin guide](
## Plugins
Terminal and Table formulas use the same installed package system as all other plugins.
Terminal and Table Formulas use the same installed package system as all other plugins.
External JavaScript packages now support local installation, commands, views, retained settings, and removal with one confirmation.
Users can enable or disable each plugin. A marketplace is outside the planned scope.
Installation accepts standard ZIP packages and stores copies in the application data directory.
@@ -72,14 +72,14 @@ See the [installation and removal guide](plugins.md#uninstall-with-one-confirmat
- [ ] Add isolated execution and restricted permissions.
- [x] Move terminal views, shortcuts, settings, and desktop API calls into an external plugin package.
- [ ] Move native terminal services into a separate in-house package.
- [x] Move formula evaluation, rendered results, and help controls into an external Table formulas package.
- [x] Move formula evaluation, rendered results, and help controls into an external Table Formulas package.
- [ ] Move the remaining spreadsheet operations into a separate in-house package.
- [ ] Add one Project Management plugin with connected Kanban, Gantt, and Calendar views.
- [x] Add one Project Management plugin with connected Kanban, Gantt, and Calendar views.
- [ ] Add a virtual tabletop system plugin.
Keep basic Markdown table editing and rendering in the core. Users must retain access to workspace files when plugins are disabled.
Kanban, Gantt, and Calendar belong to one optional Project Management package with shared items.
The Project Management plugin has a separate development project. See its [design and scope](../../RuneStone_ProjectManagement/project-management.md).
The Project Management plugin has a separate development project. See its [design and scope](../../RuneStone_Project_Management/project-management.md).
### Planned plugin lineup
+2 -2
View File
@@ -44,7 +44,7 @@ and identify a reported code problem within the workspace.
**Objective:** Support different ways of working while keeping the core editor simple.
Users can install, disable, and remove Terminal and Table formulas while retaining access to their files.
Users can install, disable, and remove Terminal and Table Formulas while retaining access to their files.
Separately packaged plugins can extend that choice to planning, tabletop play, and other workflows.
Users can now install local packages and remove them through one confirmation while retaining their data.
Restricted permissions and the remaining spreadsheet modules are still planned.
@@ -52,7 +52,7 @@ Restricted permissions and the remaining spreadsheet modules are still planned.
**Milestone:** A user can enable a packaged plugin, use it with workspace files,
and disable it while retaining access to those files in the core editor.
Project Management plugin planning lives in the separate [Project Management roadmap](../../RuneStone_ProjectManagement/roadmap.md).
Project Management plugin planning lives in the separate [Project Management roadmap](../../RuneStone_Project_Management/roadmap.md).
## Why this order?
+7
View File
@@ -80,6 +80,8 @@ Right opens a submenu. Left returns to its parent. Keyboard dismissal restores f
Menus stay inside the viewport and scroll when their contents exceed its height.
Menus use 24-pixel rows, 13-pixel text, and a borderless panel with a shadow.
Menus use an 82% surface tint through `--rs-menu-bg` and `--rs-menu-active-bg`.
Appearance can adjust this tint or make surfaces opaque through `--rs-surface-opacity`.
Text and icons retain their opacity. Compatible plugins consume the same surface token.
The shared action menu applies this tint to host and plugin menus, including submenus.
The workspace picker shares the menu surface. Labels and icons remain opaque.
See [UI-013](design-decisions.md#ui-013--translucent-menu-surfaces).
@@ -99,6 +101,11 @@ The host filters the native collection before shared display or native fallback.
## Settings
Settings navigation pairs icons with labels. Each settings page uses readable text and ordinary controls.
General offers the interface language. The language menu uses the shared action menu.
Custom theme templates use one fixed `colors` palette in schema 2.
Templates also include `fonts` stacks for the interface, prose, headings, and code.
The transparency amount covers 0% to 100%. Its slider uses the current theme's accent and surface tokens.
Schema 1 imports select the current appearance's palette. See [UI-028](design-decisions.md#ui-028--adjustable-surface-transparency-and-fixed-custom-palettes).
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.
The app work area and Project Management keep separate background images and settings in every theme. Images can be up to 50 MiB.
+8 -1
View File
@@ -19,6 +19,8 @@ Check its release notes if a control is missing.
Use the folder button or Ctrl+O to open a folder or choose a recent workspace.
The menu shows full paths and remembers the 20 most recent folders.
Use the × beside a recent workspace to remove it from this menu.
Removal keeps its files, settings, and open windows.
New workspace creates a named folder without replacing an existing folder.
Opening another workspace creates a new window and keeps the current window's documents and terminals.
@@ -121,11 +123,16 @@ Settings searches by category. Preferences apply to all workspaces on this devic
The desktop uses a separate Settings window. The browser preview uses a dialog.
Settings → Appearance selects built-in colors or installs a theme. See the [appearance guide](guides/themes.md).
Settings → General → Display language selects English, French, Japanese, or Simplified Chinese for the host interface.
This setting does not translate documents, plugin-owned content, operating-system messages, or bundled Monaco controls.
Some runtime and file-operation diagnostics retain English fallback text.
Reopen a document to refresh existing editor widget tooltips after a language change.
The documentation remains in English.
Settings → Plug-ins installs local ZIPs or experimental Gitea release links.
Use the [plugin guide](plugins.md#install-a-plugin) for installation, access, and removal details.
No optional plugin starts automatically in a fresh installation. Enable choices persist across restarts and windows.
Disabling Terminal ends its sessions. Disabling Table formulas preserves formulas and basic table editing.
Disabling Terminal ends its sessions. Disabling Table Formulas preserves formulas and basic table editing.
Uninstall removes the installed package after confirmation and retains its settings and workspace documents.
## Keyboard reference