Translate Project Management and add its tests and guide
- Every interface string of Project Management goes through the catalog: 539 new rows with fr, ja, and zh-CN. - Storage and model messages use a local message() marker and stay free of host imports. The interface translates them. - A board renders again when the language changes. Dates use the interface language. - Fix: the ribbon button waits for the feature switches at startup, and the settings code loads no feature module. - Add six smoke tests: board state, cards, menus, drag and drop, views, and language. - Add docs/guides/project-management.md and UI-060. Update the user, plugin, SDK, host, development, and interface docs and CLAUDE.md. - Name the fake board view of tree/renameUndo "Board fixture", because the native Project Management button is now in the ribbon.
This commit is contained in:
@@ -1091,3 +1091,18 @@ Update 2026-10-29: The native Terminal feature keeps the 65% cap on `--rs-select
|
||||
- Evidence: `tests/smoke/features/pdf.smoke.mjs` and `tests/unit/features/pdf.spec.ts`, with screenshots in both themes, at 900 pixels, and with keyboard focus in `output/smoke/features/pdf/`.
|
||||
- Replaces / replaced by: The toolbar of the PDF Viewer plugin.
|
||||
- Limits: The tab shows one page at a time. The old package stays installed until the user removes it.
|
||||
|
||||
### UI-060 — Native Project Management
|
||||
|
||||
- Type: Rule change
|
||||
- Date: 2026-10-29
|
||||
- Status: Implemented for user review
|
||||
- Decision source: The owner decisions of Phase 7, stage 7-5 (2026-10-29), and decision 5C.
|
||||
- Previous rule: The Project Management plugin (`runestone.pm` 0.2.49) opened from the **Plug-in views** menu. It bundled the tooltip and icon helpers of the SDK, and its strings were English only. Its settings were a settings view of the plugin. It read boards and cards from visible Markdown notes and from `.runestone/pm/`. It offered the boards service to other plugins, and it read board frames through `api.backgrounds`.
|
||||
- New rule: Project Management is a native feature with a switch in Settings → Features. A ribbon button with the `kanban` icon, after Terminal, opens the default board of the workspace or All tasks. The button is active while a Project Management tab is active. **Plug-in views** does not list Project Management. The board scope, the select choices, and the details pickers use the shared action menu. Icon-only controls use the shared tooltip and the shared action icons. All interface text comes from the catalog. **Settings → Project Management** shows only while the feature is on. It has **Priority levels** and **Default board**, and each change saves at once. **More actions** → **Project Management settings** shows the same component. The feature reads only `.runestone/pm/`. For a workspace with data in visible notes, the **Migrate Project Management data** panel names the data. It offers **Migrate** and **Not now**. The migration keeps exact backups and does not change the original files. **Migration complete** lists the original files for the user to remove.
|
||||
- Reason: The owner chose response time and memory over the plugin API. One ribbon button is easier to find than a menu entry. A migration that the user starts keeps the original notes safe.
|
||||
- Scope: The ribbon button, the board tabs, All tasks, Settings → Project Management, the migration panel, and the Background board list.
|
||||
- Shared implementation: `src/lib/features/pm/`, `src/lib/features/pmSettings.ts`, `src/lib/features/pmBoards.ts`, `src/lib/features/ProjectManagementSettings.svelte`, `src/lib/layout/PluginRibbon.svelte`, and `src/lib/features/session.ts`.
|
||||
- Evidence: `tests/smoke/features/pm*.smoke.mjs` and `tests/unit/features/pm/`, with screenshots in both themes in `output/smoke/features/`. `pmLanguage.smoke.mjs` shows a board in French.
|
||||
- Replaces / replaced by: The Project Management plugin, its settings view, the boards service, and `api.backgrounds`. The rules of [UI-033](#ui-033--list-capacity-and-a-frozen-all-tasks-overview) through [UI-038](#ui-038--fixed-workspace-default-board) stay.
|
||||
- Limits: **More actions**, the card actions, and the list actions stay popup panels of the feature. The old package stays installed until the user removes it.
|
||||
|
||||
+15
-8
@@ -88,7 +88,7 @@ A new command needs an entry in `generate_handler!` in `lib.rs`, in the command
|
||||
| `settings/` | The settings store (`store.ts`), and the code that moves the old browser values to the settings file (`migration.ts`) |
|
||||
| `plugins/` | The plugin runtime, the host types (`sdk.ts`, which also exports the SDK types), and Settings → Plug-ins |
|
||||
| `browser/` | The interface of the built-in browser |
|
||||
| `features/` | The native features with an off switch: the catalog (`catalog.ts`), the switches (`state.ts`), the first-start migration, the loader, the launch rules, the Background settings (`backgroundSettings.ts`), and one folder for each feature (`git/`, `background/`, `terminal/`). The main-bundle files of Terminal are `terminalKeys.ts`, `terminalSettings.ts`, `terminalHost.ts`, `TerminalHost.svelte`, and `TerminalSettings.svelte`. See [Native features](#native-features). |
|
||||
| `features/` | The native features with an off switch: the catalog (`catalog.ts`), the switches (`state.ts`), the first-start migration, the loader, the launch rules, and the Background settings (`backgroundSettings.ts`). Each feature has a folder: `git/`, `background/`, `terminal/`, `pdf/`, and `pm/`. The main-bundle files of Terminal are `terminalKeys.ts`, `terminalSettings.ts`, `terminalHost.ts`, `TerminalHost.svelte`, and `TerminalSettings.svelte`. The main-bundle files of Project Management are `pmSettings.ts`, `pmBoards.ts`, and `ProjectManagementSettings.svelte`. See [Native features](#native-features). |
|
||||
| `completion/` | Contracts and services that plugins use |
|
||||
| `git/` | The Git service and its types, for the Git feature and the line history in the status bar |
|
||||
| `theme/` | Appearance settings, palettes, and the theme tokens (`tokens.css`) |
|
||||
@@ -114,12 +114,12 @@ A new command needs an entry in `generate_handler!` in `lib.rs`, in the command
|
||||
| Data | Location |
|
||||
| --- | --- |
|
||||
| Documents | Ordinary files in the workspace folder |
|
||||
| Workspace state: tab order, pins, bookmarks, templates, Project Management boards | `.runestone/` in the workspace |
|
||||
| Workspace state: tab order, pins, bookmarks, templates, and the boards, cards, labels, and images of Project Management (`.runestone/pm/`) | `.runestone/` in the workspace |
|
||||
| Installed plugins and their settings | The app data folder. See [plugin storage](plugin-host.md#storage-and-recovery). |
|
||||
| Preferences: general settings, appearance, custom themes, display language, feature switches, Background, Terminal | `settings.json` in the app config folder |
|
||||
| Preferences: general settings, appearance, custom themes, display language, feature switches, Background, Terminal, Project Management | `settings.json` in the app config folder |
|
||||
| The image folder of Background | `background-folder.json` in the app data folder. The image of the image source stays in the WebView storage (IndexedDB). |
|
||||
| Browser profiles, bookmarks, history, browser settings, and Chromium caches | `browser/` in the local app data folder. On Windows, this is `%LOCALAPPDATA%\com.runestone.app\browser\`. See [Built-in browser runtime](#built-in-browser-runtime). |
|
||||
| Window layout and the open tabs of each workspace | The WebView storage (`localStorage`) of the app. RuneStone can lose these values without harm. |
|
||||
| Window layout, the open tabs of each workspace, and the view state of each Project Management tab (`runestone.pm.viewStates`) | The WebView storage (`localStorage`) of the app. RuneStone can lose these values without harm. |
|
||||
|
||||
#### The settings file
|
||||
|
||||
@@ -136,15 +136,16 @@ On macOS, it is `~/Library/Application Support/<identifier>/`. On Linux, it is `
|
||||
"customThemes": [],
|
||||
"customThemesLegacy": [],
|
||||
"language": "en",
|
||||
"features": { "git": true, "background": true, "terminal": true },
|
||||
"features": { "git": true, "background": true, "terminal": true, "pdf": true, "pm": true },
|
||||
"background": { "source": "folder", "seconds": 60, "order": "name", "paused": false, "targets": ["app"], "overlay": 0, "position": "center", "size": "cover" },
|
||||
"terminal": { "defaultProfile": "", "fontSize": 13, "scrollback": 10000, "cursorBlink": true }
|
||||
"terminal": { "defaultProfile": "", "fontSize": 13, "scrollback": 10000, "cursorBlink": true },
|
||||
"projectManagement": { "priorityLevels": 3 }
|
||||
}
|
||||
```
|
||||
|
||||
| Rule | Detail |
|
||||
| --- | --- |
|
||||
| Sections | `general`, `appearance`, `customThemes`, `customThemesLegacy` (the original version 1 themes), `language`, `features` (the switches of the native features), `background` (the source, the timing, the targets, and the folder layout of Background), and `terminal` (the default profile, the font size, the scrollback, and the cursor of Terminal). The host does not interpret their values. The frontend normalizes each section. |
|
||||
| Sections | `general`, `appearance`, `customThemes`, `customThemesLegacy` (the original version 1 themes), `language`, `features` (the switches of the native features), `background` (the source, the timing, the targets, and the folder layout of Background), and `terminal` (the default profile, the font size, the scrollback, and the cursor of Terminal). `projectManagement` holds the priority levels of Project Management. The host does not interpret their values. The frontend normalizes each section. |
|
||||
| Size | At most 8 MiB in total. The appearance can hold an image data URL of up to 3,000,000 characters. |
|
||||
| Writes | `settings_write` replaces one section. The host writes a complete temporary file and renames it. Then it sends `settings-changed` to all windows with the section, the revision, and the value. |
|
||||
| Damaged file | The host moves the file to `settings.corrupt-<seconds>.json` and writes a new file with the defaults. The first window that reads the settings shows a message one time. |
|
||||
@@ -209,7 +210,7 @@ Errors of the plugin API stay in English, because they are for plugin developers
|
||||
|
||||
## Native features
|
||||
|
||||
Git, Background, Terminal, and PDF Viewer are native features: host code with an off switch in **Settings → Features**. They do not use the plugin API.
|
||||
Git, Background, Terminal, PDF Viewer, and Project Management are native features: host code with an off switch in **Settings → Features**. They do not use the plugin API.
|
||||
|
||||
| Part | File |
|
||||
| --- | --- |
|
||||
@@ -229,6 +230,12 @@ Git, Background, Terminal, and PDF Viewer are native features: host code with an
|
||||
- `@xterm/xterm` and `@xterm/addon-fit` are host dependencies. `pnpm check:features` keeps them out of the start chunks.
|
||||
- PDF Viewer has a document type and no view. The file tree marks PDF files through `identifyPdf` in `src/lib/features/pdfDocument.ts`, in the main bundle. The first PDF tab loads the module and calls `FeatureInstance.mountDocument`. Each tab reads its file with `workspace_read_bytes` and starts its own PDF.js worker. Closing the tab, or Off, stops the worker.
|
||||
- `pdfjs-dist` is a host dependency. `src/lib/features/pdf/engine.ts` loads the minified build. The worker, the character maps, the standard fonts, and the image decoders are Vite assets of the app, so PDF.js makes no network request. `build.assetsInlineLimit` in `vite.config.js` keeps these files out of the code.
|
||||
- Project Management has one editor view, `planning`, with `launch: true`. The view pattern `board-<hex of the board ID>` gives each board its own tab. Its ribbon button in `PluginRibbon.svelte` calls the launch, which opens the default board of the workspace or All tasks. It has no command.
|
||||
- Project Management reads and writes only `.runestone/pm/`. `storage/legacy.ts` finds data in the old format of visible notes. The interface then offers the migration, with backups in `.runestone/pm/backups/`. It migrates only after the user chooses it.
|
||||
- `pm/storage/` and `pm/model/` stay pure TypeScript without host modules, so the `runestone-project-management` skill can bundle them. They mark their user-visible text with `message()` from `storage/message.ts` and keep it in English. The interface translates that text with `localize()` in `pm/ui/text.ts`.
|
||||
- The `projectManagement` section holds the priority levels (`pmSettings.ts`). The default board is `defaultBoardId` in `.runestone/pm/workspace.json`, so each workspace has its own. Appearance → Background reads the board list from the same file through `pmBoards.ts`, without the feature code.
|
||||
- The first start makes the `projectManagement` section from the kept settings of the Project Management plugin. When `localStorage` has no view states, it also copies the view states of the plugin.
|
||||
- `yaml` is a host dependency of Project Management. The card descriptions use the markdown-it of the host.
|
||||
- [THIRD_PARTY_NOTICES.md](../THIRD_PARTY_NOTICES.md) gives the version, license, and source of each third-party package that a feature includes. Update it when you add or update such a package.
|
||||
- The first start makes the `terminal` section from the `runestone.terminal` key of `localStorage`, which the Terminal plugin wrote. The old key stays.
|
||||
- Before Terminal goes off, Settings asks `pty_running` for the shells of all windows. Off closes the sessions of each window.
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
# Project Management guide
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to plan work with boards, lists, and cards in RuneStone. It also explains the timeline and calendar views of the same cards.
|
||||
|
||||
Project Management is part of RuneStone and is on by default. To turn it off, see [Turn Project Management off](#turn-project-management-off).
|
||||
|
||||
## Open Project Management
|
||||
|
||||
Select **Project Management** (the board icon) in the left ribbon. It opens the default board of the workspace, or **All tasks** when the workspace has no default board. See [Choose the default board](#choose-the-default-board).
|
||||
|
||||
Each board opens in its own tab. To open another board in the same tab, select the board name in the toolbar. Then select a board or **All tasks**.
|
||||
|
||||
A workspace without boards shows **Create your first board**. Select it and enter a name.
|
||||
|
||||
## Boards and lists
|
||||
|
||||
A board holds lists, and a list holds cards. A new board starts with the lists **To do**, **In progress**, and **Done**.
|
||||
|
||||
| Action | How |
|
||||
| --- | --- |
|
||||
| Create a board | **More actions** (the three dots) → **New board** |
|
||||
| Rename a board | **Rename board** beside the board name, or **More actions** → **Rename board** |
|
||||
| Archive or restore a board | **More actions** → **Archive board** or **Restore board** |
|
||||
| Delete a board | **More actions** → **Delete board**. The cards stay in All tasks. You cannot undo this action. |
|
||||
| Add a list | **Add a list** in the toolbar of a board |
|
||||
| Rename a list, or set its status | List actions (the button in the list header) → **Edit list** |
|
||||
| Move a list | Drag its header, or use **Move left** and **Move right** in the list actions |
|
||||
| Set a card limit | List actions → **Set list limit**. A warning shows at the limit. Cards can still go into the list. |
|
||||
| Archive all cards of a list | List actions → **Archive all cards** |
|
||||
| Delete a list | List actions → **Delete list**. Its cards go to **Unlisted**. Their status does not change. |
|
||||
| Collapse or expand a list | The collapse button in the list header. A collapsed list is a narrow strip with its name and card count. |
|
||||
|
||||
**Status when a card enters this list** sets the status of each card that you move into the list. Choose **Do not change status** to keep the status of the card.
|
||||
|
||||
## Cards
|
||||
|
||||
| Action | How |
|
||||
| --- | --- |
|
||||
| Create a card | **Add a card** at the bottom of a list, or **More actions** → **New card** |
|
||||
| Open the card details | Select the card |
|
||||
| Move a card on the board | Drag the card, or use **Move to list**, **Move up**, and **Move down** in the card actions |
|
||||
| Put a card on another board | Card actions → **Move to board** |
|
||||
| Take a card off this board | Card actions → **Remove from board**. The card stays in All tasks and on its other boards. |
|
||||
| Archive or restore a card | Card actions → **Archive** or **Restore**. **More actions** → **Show archived** shows the archived cards. |
|
||||
| Delete a card | Card actions → **Delete card**. It removes the card from all boards. You cannot undo this action. |
|
||||
| Work with more than one card | **Select cards** in the toolbar. Then move the selected cards to a list or a board, or delete them. |
|
||||
| Find a card | **Search tasks** in the toolbar. The search looks in titles, descriptions, tags, labels, assignments, and custom fields. |
|
||||
|
||||
A card can be on more than one board, with a different list on each board.
|
||||
|
||||
The card details have the title, the labels, and the description in Markdown.
|
||||
A change to the description stays a draft until you select **Save**. **Cancel** restores the saved text. When you close the card with a draft, the card shows an unsaved marker.
|
||||
Board and list changes save at once. Other fields save when you close the card details.
|
||||
|
||||
### Card details
|
||||
|
||||
Select **Add details** in the card details to add one of these fields:
|
||||
|
||||
| Field | Use |
|
||||
| --- | --- |
|
||||
| **Priority** | The urgency of the card, apart from its labels |
|
||||
| **Labels** | Colored labels that all boards of the workspace share |
|
||||
| **Tags** | Plain words for the search |
|
||||
| **Planned dates** | The first and the last day of the work. The Gantt view shows them as a bar. |
|
||||
| **Deadline** | The due date. Gantt and Calendar show it with ◆. |
|
||||
| **Work session** | A start time and an end time. The Calendar view shows the session. |
|
||||
| **Assignments** | People, teams, or customers |
|
||||
| **Color** | The color of the card |
|
||||
| **Custom field** | A name and a value of your choice |
|
||||
| **Subtasks and linked cards** | Smaller tasks of the card, and other cards that block it, that it blocks, or that relate to it |
|
||||
| **Card cover** | An image of the card that shows on the board |
|
||||
|
||||
**More actions** → **Add existing note** makes a new card from a Markdown note of the workspace. The card gets the file name as its title and the note text as its description.
|
||||
The note does not change. Later edits to the note do not change the card.
|
||||
|
||||
## Labels and priority
|
||||
|
||||
Select **Manage labels** (the tag icon) in the toolbar to add, rename, recolor, or delete labels.
|
||||
All boards of the workspace share the labels. A change of name or color applies to each card with the label. When you delete a label, RuneStone removes it from all cards.
|
||||
|
||||
Priority has two, three, or five levels. To change the number of levels, see [Change the Project Management settings](#change-the-project-management-settings).
|
||||
|
||||
## Views
|
||||
|
||||
The buttons at the left of the toolbar change the view of the board.
|
||||
|
||||
| View | Shows |
|
||||
| --- | --- |
|
||||
| **Kanban** | The lists and their cards |
|
||||
| **Gantt** | Each card with its planned dates as a bar and its deadline as ◆, for 28 days from the visible date |
|
||||
| **Calendar** | Deadlines and work sessions by **Day**, **Week**, or **Month**, in the time zone of your computer |
|
||||
|
||||
**Previous**, **Today**, **Next**, and the date field change the visible dates of Gantt and Calendar.
|
||||
|
||||
In Calendar, you can create a card from a date:
|
||||
|
||||
- In **Month**, select the number of a day to create a card with that deadline.
|
||||
- In **Day** or **Week**, select an hour to create a card with a one-hour work session.
|
||||
|
||||
Gantt and Calendar do not move a card when you drag it. To change dates, open the card and edit **Planned dates**, **Deadline**, or **Work session**.
|
||||
|
||||
## All tasks
|
||||
|
||||
**All tasks** shows the cards of all boards of the workspace in one view.
|
||||
|
||||
- Lists with the same name on different boards share one column. The match ignores uppercase and lowercase letters.
|
||||
- In each column, the cards show below the name of their board. Cards without an active board show below **No active board**.
|
||||
- You cannot drag cards between columns. To move a card, open it and change **Board** or **List**, or open its board.
|
||||
- A new card in All tasks needs a board. Choose the board and the list in the card details.
|
||||
|
||||
## Images
|
||||
|
||||
To add an image to a card, paste it or drop it into the description, or select **Add image**.
|
||||
Use a PNG, JPEG, GIF, or WebP image of at most 50 MiB.
|
||||
To show an image on the board, add **Card cover** and choose one of the images of the card.
|
||||
|
||||
**More actions** → **Customize background** sets an image behind the open board, or behind All tasks.
|
||||
To show the Background slideshow on the boards, see [Choose where the background shows](themes.md#choose-where-the-background-shows).
|
||||
|
||||
## Choose the default board
|
||||
|
||||
1. Open **Settings → Project Management**, or select **More actions** → **Project Management settings**.
|
||||
2. Select **Default board**.
|
||||
3. Select a board, or **All tasks**.
|
||||
|
||||
Each workspace has its own default board. The ribbon button then opens that board. Restored tabs keep their board.
|
||||
An archived or deleted default board opens All tasks.
|
||||
|
||||
## Change the Project Management settings
|
||||
|
||||
Open **Settings → Project Management**. The page shows only while Project Management is on. Each change saves at once.
|
||||
|
||||
| Setting | Values |
|
||||
| --- | --- |
|
||||
| **Priority levels** | **2** (High and Low), **3** (High, Medium, and Low), or **5** (Highest through Lowest). The default is 3. The priorities of existing cards do not change. |
|
||||
| **Default board** | **All tasks** or one board of the current workspace. See [Choose the default board](#choose-the-default-board). |
|
||||
|
||||
After an update, the first start copies the priority levels of the old Project Management plugin.
|
||||
|
||||
## Where the boards are
|
||||
|
||||
The boards, cards, labels, and images of a workspace are in `.runestone/pm/` in the workspace folder.
|
||||
To see this folder in the file tree, turn on **Show .runestone folder** in Settings → General.
|
||||
|
||||
Git ignores `.runestone/pm/`, because RuneStone puts a `.gitignore` file there. To keep a copy of your boards, back up this folder separately.
|
||||
|
||||
## Move old Project Management notes
|
||||
|
||||
Early versions of the Project Management plugin kept boards and cards in visible Markdown notes, and labels in `runestone-pm-labels.json`.
|
||||
RuneStone reads only `.runestone/pm/`. When a workspace has data in the old format, Project Management shows **Migrate Project Management data**.
|
||||
|
||||
1. Read the list of boards, task notes, and label files.
|
||||
2. If the offer names notes with invalid properties, repair these notes first.
|
||||
3. Select **Migrate**. RuneStone copies the data to `.runestone/pm/` and keeps exact backups in `.runestone/pm/backups/`.
|
||||
4. Examine the boards.
|
||||
5. Remove the original files that **Migration complete** lists, then select **Done**.
|
||||
|
||||
The migration does not change or remove the original files. **Not now** hides the offer in this tab.
|
||||
|
||||
## Turn Project Management off
|
||||
|
||||
1. Open **Settings → Features**.
|
||||
2. Clear **Project Management**.
|
||||
|
||||
Off closes the Project Management tabs and removes the ribbon button and the settings page in all windows.
|
||||
Your boards stay in `.runestone/pm/`, and your settings stay. Turn Project Management on again in the same place.
|
||||
@@ -74,7 +74,7 @@ RuneStone keeps these settings in `.runestone-backgrounds.json` in the image fol
|
||||
### Choose where the background shows
|
||||
|
||||
Under **Show the background in**, select **The workspace and new tabs**, **All Project Management boards**, or one board.
|
||||
The board list comes from the Project Management plugin of the current workspace. A saved board that is not available shows as **Unavailable board**, so that you can clear it.
|
||||
The board list shows the Project Management boards of the current workspace. A saved board that is not available shows as **Unavailable board**, so that you can clear it.
|
||||
A blank tab of a browser window also shows the background.
|
||||
|
||||
### Next and Pause
|
||||
|
||||
+11
-53
@@ -13,7 +13,6 @@ This reference gives the package contract, the build procedure, and the API for
|
||||
- [Use the SDK instead of native calls](#use-the-sdk-instead-of-native-calls)
|
||||
- [Folder grants](#folder-grants)
|
||||
- [Plugin services](#plugin-services)
|
||||
- [Background API](#background-api)
|
||||
|
||||
## Install the SDK
|
||||
|
||||
@@ -223,6 +222,8 @@ Without the SDK, examine the member directly: `if (!api.workspace.readBytes) thr
|
||||
|
||||
Older hosts ignore unknown fields in objects that you pass to the host, such as a view `icon` or `launch` handler.
|
||||
|
||||
The host has no `api.backgrounds`. Only the native Background feature shows images behind the interface, and plugins cannot set or read its frames.
|
||||
|
||||
### Activation and cleanup
|
||||
|
||||
- The host limits activation, each view mount, and each cleanup callback to five seconds. A timeout reports an error.
|
||||
@@ -230,7 +231,7 @@ Older hosts ignore unknown fields in objects that you pass to the host, such as
|
||||
- Plugins activate in every RuneStone window except browser windows.
|
||||
- `api.signal` aborts when shutdown starts. Use it to stop pending work.
|
||||
- After shutdown starts, every API call throws an error. Ignore results that arrive after shutdown.
|
||||
- On disable, the host removes contributions, commands, views, and background frames first. Then it runs view cleanups and `onDispose` callbacks in reverse order.
|
||||
- On disable, the host removes contributions, commands, and views first. Then it runs view cleanups and `onDispose` callbacks in reverse order.
|
||||
- Remove timers, listeners, and other resources in cleanup. Closing a view and disabling the plugin share the same cleanup promise.
|
||||
- Plugins have full application access. The SDK does not isolate plugin JavaScript.
|
||||
|
||||
@@ -264,7 +265,6 @@ Older hosts ignore unknown fields in objects that you pass to the host, such as
|
||||
| `completion` | yes | Autocomplete fields and providers. See the [completion API](completion.md). |
|
||||
| `files` | yes | Folders outside the workspace that the user granted to the plugin. See [Folder grants](#folder-grants). |
|
||||
| `services` | yes | Data that one plugin offers to other plugins. See [Plugin services](#plugin-services). |
|
||||
| `backgrounds` | yes | Background image frames. See [Background API](#background-api). |
|
||||
|
||||
### Commands
|
||||
|
||||
@@ -306,7 +306,6 @@ Closing an editor tab or disabling the plugin disposes the view.
|
||||
|
||||
A `launch()` handler can select a default target and call `api.openView(id)`.
|
||||
Explicit `api.openView` calls and restored tabs do not call `launch()`.
|
||||
Example: [Project Management](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/development.md#workspace-default-board) uses `launch()` to open the default board of the workspace.
|
||||
|
||||
### Navigation buttons
|
||||
|
||||
@@ -422,7 +421,7 @@ Do not call `invoke`, `listen`, or other `@tauri-apps/api` functions from a plug
|
||||
Use the `api` members of the [API reference](#api-reference). They check plugin shutdown, and they will stay available when a later host runs each plugin in its own isolated context.
|
||||
Make sure that an optional member exists before you use it.
|
||||
|
||||
The Project Management, Local Autocomplete, and CSV Viewer plugins make no native calls.
|
||||
The Local Autocomplete and CSV Viewer plugins make no native calls.
|
||||
Their test scripts replace `window.__TAURI_INTERNALS__` with a test double. That is test code and does not go into the package.
|
||||
|
||||
## Folder grants
|
||||
@@ -450,6 +449,13 @@ A sidecar holds valid JSON of at most 1 MiB. The host writes no other files in a
|
||||
|
||||
Store the grant `id` in the plugin settings. Before you use a saved grant, look for it in `grants()`.
|
||||
|
||||
### Example: the per-image settings of Background
|
||||
|
||||
The per-image settings file of the Background feature is `.runestone-backgrounds.json` in the image folder.
|
||||
It is JSON with `"schema": 1` and an `images` object, at most 1 MiB. Each key is a file name. Each value can have `fit` (`cover`, `contain`, `auto`, or `blurred`), `position`, and `overlay`.
|
||||
A plugin with a folder grant can read and write the same file with `files.readSidecar` and `files.writeSidecar`. `writeSidecar` compares the current file to `expected` (`null` when the file does not exist). It fails when the file changed, so external edits are not lost. The host checks only that the text is JSON. The plugin checks the schema.
|
||||
Example: `src/lib/features/background/imageSettings.ts` reads the file and applies it.
|
||||
|
||||
## Plugin services
|
||||
|
||||
`api.services` (`version: 1`) lets a plugin offer data to other plugins in the same window. The host passes the calls, so no plugin reads the private files of another plugin.
|
||||
@@ -464,51 +470,3 @@ A service name uses lowercase letters, digits, dots, and hyphens, and starts wit
|
||||
Each method call returns a promise. The host copies the arguments and the result with `structuredClone`. Use only data that this function can copy, not functions or DOM nodes.
|
||||
When the provider stops, the host removes its services and notifies the subscribers. Calls through an old service object then fail. Call `get` again after a notification.
|
||||
Make the data of a service a documented contract of the provider. Give its name, methods, and result shapes in the documentation of the provider plugin.
|
||||
|
||||
## Background API
|
||||
|
||||
`api.backgrounds` (`version: 1`) lets a plugin show image frames behind the RuneStone interface, and read the frames of other owners.
|
||||
Frames stay in the current window and do not change the saved appearance settings.
|
||||
To read images from a folder outside the workspace, use [folder grants](#folder-grants).
|
||||
|
||||
| Method | Contract |
|
||||
| --- | --- |
|
||||
| `set(target, frame)` | Show a frame for a target. `null` removes the frame of this plugin. |
|
||||
| `get(target)` | Return the active frame for a target, or `null`. |
|
||||
| `subscribe(listener)` | Receive the target name when a frame changes. Returns a cleanup function. |
|
||||
|
||||
The folder methods of earlier hosts (`chooseFolder`, `defaultFolder`, `list`, `read`, `readImageSettings`, and `writeImageSettings`) are gone. The native Background feature replaced the Background Slideshow plugin that used them.
|
||||
|
||||
### Targets and frames
|
||||
|
||||
| Target | Use |
|
||||
| --- | --- |
|
||||
| `app` | The host shows this frame behind the app. |
|
||||
| `pm-all` | Read by Project Management for all boards. |
|
||||
| `pm-board:<board UUID>` | Read by Project Management for one board. |
|
||||
|
||||
| Frame field | Rule |
|
||||
| --- | --- |
|
||||
| `url` | Required `blob:` URL. |
|
||||
| `blurredUrl` | Optional `blob:` URL for a blurred layer. Each target scales it separately from the foreground. |
|
||||
| `overlay` | From -1 to 1. Negative values make the image lighter. Positive values make it darker. |
|
||||
| `position` | `center`, `top left`, `top`, `top right`, `left`, `right`, `bottom left`, `bottom`, or `bottom right`. |
|
||||
| `size` | `cover`, `contain`, or `auto`. |
|
||||
| `previous` | Optional earlier frame with the same fields, without `previous` or `transitionMs`. |
|
||||
| `transitionMs` | Optional fade time from 0 to 5,000 milliseconds. |
|
||||
|
||||
The host fades from `previous` to the new frame, unless the user turns on reduced motion.
|
||||
The plugin owns all frame URLs. Keep them valid until a new frame replaces them or the plugin stops, then release them.
|
||||
When more than one plugin sets a frame for a target, the most recent frame is shown. When it is removed, the host shows the earlier frame or the saved background.
|
||||
Disable removes the frames and subscriptions of the plugin before cleanup.
|
||||
To share saved configuration across windows, use the plugin settings API.
|
||||
|
||||
Example: the native Background feature (`src/lib/features/background/index.ts`) sets frames from a local image folder through the host frames.
|
||||
Example: [Project Management](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/development.md#pm-0229-slideshow-backgrounds) reads frames for board backgrounds.
|
||||
|
||||
### Per-image settings
|
||||
|
||||
The per-image settings file of the Background feature is `.runestone-backgrounds.json` in the image folder.
|
||||
It is JSON with `"schema": 1` and an `images` object, at most 1 MiB. Each key is a file name. Each value can have `fit` (`cover`, `contain`, `auto`, or `blurred`), `position`, and `overlay`.
|
||||
A plugin with a folder grant can read and write the same file with `files.readSidecar` and `files.writeSidecar`. `writeSidecar` compares the current file to `expected` (`null` when the file does not exist). It fails when the file changed, so external edits are not lost. The host checks only that the text is JSON. The plugin checks the schema.
|
||||
Example: `src/lib/features/background/imageSettings.ts` reads the file and applies it.
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ The browser preview (`pnpm dev`) has no installed plugins unless a smoke test su
|
||||
|
||||
The built-in browser and the theme editor use the plugin API, but they are not packages. `builtInModules` in `src/lib/plugins/external.ts` lists them. The host starts them in each window, and the plugin menus do not list their tools. A browser window starts only the browser.
|
||||
`builtInPackages` lists the IDs of old packages for features that RuneStone now includes. The host never loads such a package. Settings → Plug-ins shows it as included with RuneStone, so that the user can remove it.
|
||||
Native features, such as Git, Background, Terminal, and PDF Viewer, do not use the plugin API. `syncFeatures` in `external.ts` gives each feature that is on a feature session (`src/lib/features/session.ts`) under the ID of its old package, so that its views and document types share the tab model of plugin views. The file tree identifies the files of a feature document type, such as PDF files, without the feature code. A launch rule (`src/lib/features/launch.ts`) can start a feature at once: Background starts when a folder or an image is selected. Browser windows start only the features with a browser window rule, which is Background. See [Native features](development.md#native-features).
|
||||
Native features, such as Git, Terminal, and Project Management, do not use the plugin API. `syncFeatures` in `external.ts` gives each feature that is on a feature session (`src/lib/features/session.ts`) under the ID of its old package, so that its views and document types share the tab model of plugin views. A view pattern in the catalog gives a feature many editor views, for example one for each board (`board-<hex>`). A tab transfer of such a view works before the feature loads. The file tree identifies the files of a feature document type, such as PDF files, without the feature code. A launch rule (`src/lib/features/launch.ts`) can start a feature at once: Background starts when a folder or an image is selected. Browser windows start only the features with a browser window rule, which is Background. See [Native features](development.md#native-features).
|
||||
`features_legacy` (`src-tauri/src/features.rs`) reads the catalog row and the kept `plugin-data/<id>/settings.json` of an old package. It accepts only the IDs of native features and changes no file.
|
||||
|
||||
### Scans
|
||||
@@ -219,7 +219,7 @@ The other windows load every enabled plugin. A smaller command set for them woul
|
||||
| `src/lib/plugins/PluginManager.svelte` | Settings → Plug-ins: review, switches, Gitea form, and uninstall dialog |
|
||||
| `src/lib/plugins/PluginSettings.svelte` | Plugin configuration pages in Settings |
|
||||
| `src/lib/plugins/PluginTools.svelte` / `PluginEditor.svelte` | Dialog views and editor views |
|
||||
| `src/lib/plugins/backgrounds.ts` | Background frames |
|
||||
| `src/lib/plugins/backgrounds.ts` | The background frames of one window. The Background feature sets them, and Project Management reads the board targets. Plugins have no access. |
|
||||
| `src/lib/plugins/nativeServices.ts` | The host side of `api.files`. It binds the plugin ID. The plugin never sends it |
|
||||
| `src/lib/plugins/services.ts` | `api.services`: services that one plugin offers to another in the same window |
|
||||
| `src/lib/completion/` | The [completion API](completion.md) |
|
||||
|
||||
+3
-3
@@ -2,9 +2,9 @@
|
||||
|
||||
[RuneStone](../README.md) · [User guide](user-guide.md)
|
||||
|
||||
This guide explains how to install, enable, update, and remove optional plugins such as Project Management and CSV Viewer.
|
||||
This guide explains how to install, enable, update, and remove optional plugins such as CSV Viewer and Local Autocomplete.
|
||||
|
||||
Manage all plugins in **Settings → Plug-ins**. The built-in browser, table formulas, Git, Background, Terminal, and PDF Viewer are part of RuneStone and are not plugins. To turn Git, Background, Terminal, or PDF Viewer off, see [Turn features on or off](user-guide.md#turn-features-on-or-off).
|
||||
Manage all plugins in **Settings → Plug-ins**. The built-in browser, table formulas, Git, Background, Terminal, PDF Viewer, and Project Management are not plugins. To turn Git, Background, Terminal, PDF Viewer, or Project Management off, see [Turn features on or off](user-guide.md#turn-features-on-or-off).
|
||||
|
||||
Plugins run with the full access of RuneStone, including your files. There is no permission sandbox, and the author field does not prove who published the plugin. Enable only code that you trust.
|
||||
|
||||
@@ -75,7 +75,6 @@ RuneStone uses the token for this request only and does not save it.
|
||||
|
||||
| Plugin | Guide |
|
||||
| --- | --- |
|
||||
| Project Management | [Project Management guide](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/project-management.md) |
|
||||
| Local Autocomplete | [Local Autocomplete trial guide](https://git.knottywyvern.com/kwyvern/RuneStone_LocalModel/src/branch/main/docs/trial-guide.md) |
|
||||
| CSV Viewer | [CSV Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_CSV_Viewer/src/branch/main/README.md) |
|
||||
|
||||
@@ -95,6 +94,7 @@ RuneStone uses the token for this request only and does not save it.
|
||||
| An old Background Slideshow plugin shows in the list | Uninstall it. RuneStone includes Background, and the first start after the update took the folder and the settings of the plugin. See [Show a background](guides/themes.md#show-a-background). |
|
||||
| An old Terminal plugin shows in the list | RuneStone includes Terminal. The plugin stays inactive and shows **Included with RuneStone**. Uninstall it. The first start after the update kept the plugin state and its terminal settings. See the [Terminal guide](guides/terminal.md). |
|
||||
| An old PDF Viewer plugin shows in the list | RuneStone includes PDF Viewer. The plugin stays inactive and shows **Included with RuneStone**. Uninstall it. The first start after the update kept the plugin state. See [Read PDF files](user-guide.md#read-pdf-files). |
|
||||
| An old Project Management plugin shows in the list | RuneStone includes Project Management. The plugin stays inactive and shows **Included with RuneStone**. Uninstall it. The first start after the update kept the plugin state and its priority levels. Your boards in `.runestone/pm/` stay. If the workspace has boards in old visible notes, Project Management offers a migration. See [Move old Project Management notes](guides/project-management.md#move-old-project-management-notes). |
|
||||
| An old Table Formulas plugin shows in the list | Uninstall it. RuneStone does not run it. Your formulas stay in your files. See [Calculate with table formulas](guides/document-tools.md#calculate-with-table-formulas). |
|
||||
|
||||
To see the installed files of a plugin, choose **Show files** beside it. **Open plugins folder** opens the folder for all plugins.
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ Correct a wrong color in the theme data or in the derivation rule. Do not add lo
|
||||
| --- | --- | --- |
|
||||
| Theme identity | `--rs-accent`, `--rs-accent-2` | Keep the characteristic hues of the reference at their strength. |
|
||||
| Status | `--rs-error`, `--rs-warn`, `--rs-warn-hot`, `--rs-ok` | Use clear, assertive colors. Pair color with a shape or text. |
|
||||
| Priority (Project Management) | `--pm-priority-color` in the plugin `src/style.css` | Full saturation and value, with opaque symbols and readable text. |
|
||||
| Priority (Project Management) | `--pm-priority-color` in `src/lib/features/pm/ui/style.css` | Full saturation and value, with opaque symbols and readable text. |
|
||||
| Links and actions | `--rs-link` (from `--rs-accent` unless the theme sets it) | Keep actionable text distinct and readable on its actual surface. |
|
||||
| Text on an accent fill | `--rs-on-accent` (black or white, whichever is more readable) | Readable text and icons on accent buttons and badges. |
|
||||
| Focus | `--rs-focus` (from `--rs-accent` unless the theme sets it) | A visible outline on every surface. |
|
||||
|
||||
+8
-6
@@ -148,12 +148,12 @@ Decisions: [UI-002](design-decisions.md#ui-002--share-the-requested-dropdown-des
|
||||
|
||||
- The main header holds navigation, document tabs, Save, the outline toggle, and window controls. The other tools are in the left ribbon, so the tabs keep their room. A detached tab window has no ribbon, so its header keeps those tools.
|
||||
- A bar at the bottom of the side pane holds the workspace switcher, Help, and Settings, as in Obsidian. The switcher names the workspace and opens the workspace list above it.
|
||||
- The left ribbon is always present. It holds the tools (New browser tab, Terminal, Plug-in views, and Commands), then a line, then the plugin view shortcuts. Its menus open at its right. While the side pane is closed, the workspace switcher, Help, and Settings move to the bottom of the ribbon, so they stay reachable.
|
||||
- The left ribbon is always present. It holds the tools, then a line, then the plugin view shortcuts. The tools are New browser tab, Terminal, Project Management, Plug-in views, and Commands. A tool of an off feature does not show. Its menus open at its right. While the side pane is closed, the workspace switcher, Help, and Settings move to the bottom of the ribbon, so they stay reachable.
|
||||
- Tabs keep a minimum width of 120 pixels and scroll. Fades show tabs out of view, and ⌄ lists all tabs. A drag area of 120 pixels sits after the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels.
|
||||
- Windows and Linux title bars use square caption buttons, 46 pixels wide and full height. Rest the pointer on maximize for Snap Layouts on Windows 11. macOS keeps its native traffic lights, and title bars leave `--rs-titlebar-inset-start` free for them.
|
||||
- Files, Search, Bookmarks, Source control (while Git is on), and the sidebar views of installed plugins share the top navigation group. The active navigation button shows which view fills the left pane.
|
||||
- Plugin editor views can use the left ribbon.
|
||||
- The built-in browser opens from its own ribbon action. Project Management opens from Plug-in views. Keep Plug-in views in the ribbon, away from the new-tab button.
|
||||
- The built-in browser and Project Management open from their own ribbon buttons. The Project Management button is active while a board tab or All tasks is the active tab. Plug-in views lists only plugin views. Keep Plug-in views in the ribbon, away from the new-tab button.
|
||||
- Document and plugin tabs share the tab bar. The new-tab button follows the tabs. Tabs keep their order and pin state when a plugin replaces its view.
|
||||
- The main window keeps an empty New tab after its last tab closes. A secondary window closes with its last tab. The unsaved-edit and active-terminal confirmations still apply, and Cancel keeps the tab open.
|
||||
- Sidebar widths and visibility persist across window sessions. A different editor does not restore a hidden outline.
|
||||
@@ -175,12 +175,13 @@ Decisions: [UI-004](design-decisions.md#ui-004--detached-tab-work-area), [UI-039
|
||||
- **Features** lists each native feature in one card: its name, one line of description, and a switch. The page sits between Appearance and Plug-ins, and the `toggle` icon marks it. A failed load shows its cause under the switch in the error color.
|
||||
- A feature that is off shows no controls: no navigation button, ribbon button, command, or tab. A settings section of an off feature shows one line that names Settings → Features.
|
||||
- **Terminal** is a Settings page with the `terminal` icon, after Plug-ins and Browser. It shows only while Terminal is on. **Terminal settings** in the profile menu of the terminal panel opens it. No dialog of the panel holds terminal settings.
|
||||
- **Project Management** is a Settings page with the `kanban` icon, after Terminal. It shows only while Project Management is on. It holds **Priority levels** and **Default board**, with pickers on the shared action menu. **More actions** → **Project Management settings** on a board shows the same component in a popup.
|
||||
- The transparency slider covers 0% to 100% and uses the accent and surface tokens of the current theme.
|
||||
- Appearance shows a preview card for each theme. The arrow keys move between the cards and select a theme. The current card has the selection outline and a check mark.
|
||||
- **Edit theme** opens the theme editor as a workbench tab in the window that opened Settings. The editor shows every color role in groups, with a swatch, a hex field, the lowest contrast result, and a reset button. Each change shows at once in that window. Save writes a short schema 3 theme with a base.
|
||||
- Custom theme files use schema 3: one `mode`, an optional built-in `base` theme, the `colors` that differ from the base, and `fonts` stacks for interface, prose, headings, and code. The export writes every color and font. Schema 1 and 2 imports convert to schema 3. A schema 1 import selects the palette of the current appearance.
|
||||
|
||||
Decisions: [UI-028](design-decisions.md#ui-028--adjustable-surface-transparency-and-fixed-custom-palettes), [UI-042](design-decisions.md#ui-042--theme-file-format-3-and-terminal-colors), [UI-047](design-decisions.md#ui-047--theme-editor-tab-and-theme-cards), [UI-055](design-decisions.md#ui-055--settings--features-and-native-git), [UI-057](design-decisions.md#ui-057--background-replaces-background-image-and-background-slideshow), [UI-058](design-decisions.md#ui-058--settings--terminal-and-theme-colors-in-the-terminal).
|
||||
Decisions: [UI-028](design-decisions.md#ui-028--adjustable-surface-transparency-and-fixed-custom-palettes), [UI-042](design-decisions.md#ui-042--theme-file-format-3-and-terminal-colors), [UI-047](design-decisions.md#ui-047--theme-editor-tab-and-theme-cards), [UI-055](design-decisions.md#ui-055--settings--features-and-native-git), [UI-057](design-decisions.md#ui-057--background-replaces-background-image-and-background-slideshow), [UI-058](design-decisions.md#ui-058--settings--terminal-and-theme-colors-in-the-terminal), [UI-060](design-decisions.md#ui-060--native-project-management).
|
||||
|
||||
## Typography and tables
|
||||
|
||||
@@ -233,7 +234,7 @@ Decisions: [UI-010](design-decisions.md#ui-010--background-surface-visibility),
|
||||
### Project Management surfaces
|
||||
|
||||
- Without its own image, Project Management shows the host image through a transparent root. A saved or temporary board image keeps its own area.
|
||||
- The host gives `--rs-workarea-plugin-bg` and `--rs-workarea-surface-opacity` for saved images and slideshow frames.
|
||||
- The host gives `--rs-workarea-plugin-bg` and `--rs-workarea-surface-opacity` for saved board images and slideshow frames.
|
||||
- With an image, lists, cards, card details, and search fields share the 82% tint. Gantt and calendar views use one tinted panel, and their date cells show the image.
|
||||
- Selected cards use the shared selection treatment. Nested surfaces keep their own tint.
|
||||
- Card detail buttons have a transparent resting background. Hover, pressed, and focus states stay visible.
|
||||
@@ -292,10 +293,11 @@ Decisions: [UI-021](design-decisions.md#ui-021--workspace-links-in-document-pane
|
||||
|
||||
- A description edit stays a draft until Save. Cancel restores the saved text. Closing card details keeps the draft, and the card then shows an unsaved marker. Edit opens the draft. Use the labels Save and Cancel, and leave readable space below long descriptions.
|
||||
- Board and list changes save at once. Close and an outside click use the same save path for other fields.
|
||||
- Each workspace can set a fixed default view: All tasks or one board. Restored tabs and explicit links keep their targets. An unavailable default returns to All tasks. A workspace without boards shows a New board action.
|
||||
- Each workspace can set a fixed default view: All tasks or one board. Restored tabs and explicit links keep their targets. An unavailable default returns to All tasks. A workspace without boards shows **Create your first board**.
|
||||
- Project Management is host code (`src/lib/features/pm/ui/`). The board scope, the select choices, and the details pickers use the shared action menu. Icon-only controls use the shared tooltip and the shared action icons. All interface text comes from the catalog.
|
||||
- New cards record their creation time, and card details show it. Existing cards show Unknown when no reliable time exists. Moves and edits do not change it. Board cards do not show timestamps.
|
||||
|
||||
Decisions: [UI-033](design-decisions.md#ui-033--list-capacity-and-a-frozen-all-tasks-overview), [UI-034](design-decisions.md#ui-034--find-scope-and-shared-list-names), [UI-035](design-decisions.md#ui-035--board-dividers-in-all-tasks), [UI-036](design-decisions.md#ui-036--compact-list-collapse-and-assigned-creation), [UI-037](design-decisions.md#ui-037--saved-metadata-and-explicit-description-drafts), [UI-038](design-decisions.md#ui-038--fixed-workspace-default-board).
|
||||
Decisions: [UI-033](design-decisions.md#ui-033--list-capacity-and-a-frozen-all-tasks-overview), [UI-034](design-decisions.md#ui-034--find-scope-and-shared-list-names), [UI-035](design-decisions.md#ui-035--board-dividers-in-all-tasks), [UI-036](design-decisions.md#ui-036--compact-list-collapse-and-assigned-creation), [UI-037](design-decisions.md#ui-037--saved-metadata-and-explicit-description-drafts), [UI-038](design-decisions.md#ui-038--fixed-workspace-default-board), [UI-060](design-decisions.md#ui-060--native-project-management).
|
||||
|
||||
## Review checklist
|
||||
|
||||
|
||||
+6
-3
@@ -16,6 +16,7 @@ This guide explains how to work with files, documents, tabs, settings, and the b
|
||||
| Save, or recover from a changed file | [Save your work](#save-your-work) and [Resolve file conflicts](#resolve-file-conflicts) |
|
||||
| Change the language or colors | [Change settings](#change-settings) and [Appearance](guides/themes.md) |
|
||||
| Review changes and commit with Git | [Git guide](guides/git.md) |
|
||||
| Plan work on boards, a timeline, and a calendar | [Project Management guide](guides/project-management.md) |
|
||||
| Turn a built-in feature on or off | [Turn features on or off](#turn-features-on-or-off) |
|
||||
| Add plugins | [Install and manage plugins](plugins.md) |
|
||||
| Browse websites | [Use the built-in browser](#use-the-built-in-browser) |
|
||||
@@ -221,22 +222,24 @@ Settings apply at once to all workspaces on this computer and update all open wi
|
||||
| --- | --- |
|
||||
| General | Display language, **File name title**, **Keep line breaks**, **Table formulas**, **Show .runestone folder**, and auto-save |
|
||||
| Appearance | Color theme, transparency, background (a folder slideshow or one image), and custom themes. See [Appearance and custom themes](guides/themes.md). |
|
||||
| Features | Turn Git, Background, Terminal, and PDF Viewer on or off. See [Turn features on or off](#turn-features-on-or-off). |
|
||||
| Features | Turn Git, Background, Terminal, PDF Viewer, and Project Management on or off. See [Turn features on or off](#turn-features-on-or-off). |
|
||||
| Plug-ins | Install, enable, update, and remove plugins. See [Install and manage plugins](plugins.md). |
|
||||
| Browser | Homepage, search engine, profiles, ad blocking, and web data |
|
||||
| Terminal | Default profile, font size, scrollback lines, and cursor blink. The page shows only while Terminal is on. See [Change the terminal settings](guides/terminal.md#change-the-terminal-settings). |
|
||||
| Project Management | Priority levels and the default board of the workspace. The page shows only while Project Management is on. See [Change the Project Management settings](guides/project-management.md#change-the-project-management-settings). |
|
||||
|
||||
### Turn features on or off
|
||||
|
||||
Git, Background, Terminal, and PDF Viewer are built-in features with an off switch. Open **Settings → Features** and use the switch beside the feature.
|
||||
Git, Background, Terminal, PDF Viewer, and Project Management are built-in features with an off switch. Open **Settings → Features** and use the switch beside the feature.
|
||||
|
||||
- A feature that is on uses no extra memory until you first use it, for example when you open Source control, the terminal panel, or a PDF file. Background loads at the start only when you selected a folder or an image.
|
||||
- A feature that is on uses no extra memory until you first use it. Examples are Source control, a terminal, a PDF file, or a board. Background loads at the start only when you selected a folder or an image.
|
||||
- A feature that is off does not load. Its buttons, commands, and tabs do not show.
|
||||
- Terminal off ends the terminal sessions of every window. When a window runs a shell, RuneStone asks first.
|
||||
- A change applies at once in all windows. The code that a window loaded stays in memory until you restart RuneStone.
|
||||
|
||||
After an update, Git takes the state of its old plugin package: on when the package was enabled, off when it was disabled. Without an old package, Git starts on.
|
||||
Terminal does the same with the old Terminal plugin, and it copies the terminal settings of that plugin. PDF Viewer does the same with the old PDF Viewer plugin.
|
||||
Project Management does the same with the old Project Management plugin, and it copies the priority levels of that plugin.
|
||||
Background starts on for every user. It takes the folder, the timing, and the targets of the Background Slideshow plugin when that plugin was on. Otherwise it shows your old background image, if you had one. See [Show a background](guides/themes.md#show-a-background).
|
||||
Settings → Plug-ins shows an old package as **Included with RuneStone**. You can uninstall it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user