Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
+13
-25
@@ -1,6 +1,9 @@
|
||||
# Developer README
|
||||
# Development guide
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
[RuneStone](../README.md) · [Interface design](ui-design.md) · [Build and package](builds.md) · [Plugin development](plugins.md)
|
||||
|
||||
For task-based app help, use the [user guide](user-guide.md).
|
||||
Dated implementation records and proposals live in the [archive](archive/README.md).
|
||||
|
||||
## Test changes without a full rebuild
|
||||
|
||||
@@ -44,13 +47,13 @@ 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 uninstall and install the changed package through Settings. |
|
||||
| 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. |
|
||||
| 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. |
|
||||
| Tauri configuration, capabilities, or Vite configuration | Restart `pnpm tauri dev` to check the new settings. Native changes can require compilation. |
|
||||
| Release or installer behavior | Use the [release guide](releases.md). Packaging requires a release build. |
|
||||
| Release or installer behavior | Use the [build guide](builds.md). Packaging requires a release build. |
|
||||
|
||||
Keep `src-tauri/target/` between sessions so Cargo can reuse its build cache.
|
||||
Do not run `cargo clean` as part of normal feature tests.
|
||||
@@ -68,20 +71,21 @@ Use the [Linux readiness guide](linux.md) for Linux setup, native tests, and pac
|
||||
|
||||
See the setup steps below to install dependencies and run the desktop app.
|
||||
See the [roadmap](roadmap.md) for goals and milestones. See the [product scope](product-scope.md) for capabilities and architecture constraints.
|
||||
Agent instructions and UI design rules live in [AGENTS.md](../AGENTS.md).
|
||||
See the [interface design reference](ui-design.md) for shared controls, dimensions, and visual checks. Agent instructions live in [AGENTS.md](../AGENTS.md).
|
||||
See the [plugin guide](plugins.md) to build and install feature packages, use the API, and understand current plugin boundaries.
|
||||
|
||||
## Run from source
|
||||
|
||||
These steps are for developers. App users can use the [Windows installer](installation.md).
|
||||
These steps are for developers. App users can use a supplied [Windows installer](installation.md). Linux and macOS source setup remains experimental.
|
||||
|
||||
### Requirements
|
||||
|
||||
- Node.js 22.12 or later and pnpm
|
||||
- Node.js 24 and pnpm 10
|
||||
- A current stable Rust toolchain
|
||||
- Microsoft C++ Build Tools and Microsoft Edge WebView2 on Windows
|
||||
|
||||
Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) to install the Windows build tools and Rust toolchain.
|
||||
Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) for native build dependencies.
|
||||
The [installation guide](installation.md) has separate Windows, Linux, and macOS routes.
|
||||
|
||||
1. Download or clone this repository.
|
||||
2. Open a terminal in the repository folder.
|
||||
@@ -89,7 +93,7 @@ Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) t
|
||||
4. Run `pnpm tauri dev`.
|
||||
5. Use the folder button in the app to open a workspace or create one.
|
||||
|
||||
See the [release guide](releases.md) to build a Windows installer.
|
||||
See the [build guide](builds.md) to build a Windows installer.
|
||||
|
||||
## Checks
|
||||
|
||||
@@ -182,19 +186,3 @@ Read Rust errors in the terminal that runs `pnpm tauri dev`.
|
||||
In the Windows development window, press Ctrl+Shift+I to open the web inspector.
|
||||
Use its console for frontend errors.
|
||||
See [Tauri's inspector instructions](https://v2.tauri.app/develop/#opening-the-web-inspector).
|
||||
|
||||
## RuneStone 0.1.8: Settings windows and pasted Markdown
|
||||
|
||||
Desktop Settings opens in a separate movable window for each workspace window.
|
||||
Repeated requests focus the existing Settings window.
|
||||
Closing the workspace window also closes its Settings window.
|
||||
Settings opened before a workspace closes when that workspace opens, so plugin context cannot remain stale.
|
||||
|
||||
Saved preferences synchronize across windows. The browser preview keeps the Settings dialog.
|
||||
The separate window has dedicated native permissions and loads only the browser settings contribution.
|
||||
Plugin installation still lists all installed plugins.
|
||||
|
||||
Live Markdown formatting refreshes when background parsing finishes after a large paste.
|
||||
Run `scripts/markdownPaste.smoke.mjs` against the development server to check pasted source and rendered formatting.
|
||||
Run `scripts/settingsWindow.smoke.mjs` to check the Settings layout, save synchronization, and mocked native requests.
|
||||
The browser checks do not test native title-bar movement or desktop clipboard behavior.
|
||||
|
||||
Reference in New Issue
Block a user