mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
chore: simplify plugin readmes, changelogs and manifest descriptions
This commit is contained in:
1 parent
7423e33184
commit
8043d6dbdd
96 files changed
+1147
-722
No files matched your search
@@ -2,14 +2,6 @@
|
||||
|
||||
## 1.0.0
|
||||
|
||||
Bundled with Termix 2.9.0.
|
||||
First release, bundled with Termix 2.9.0.
|
||||
|
||||
- Owns its data: core's `user_workspaces` table is renamed to
|
||||
`p_workspaces_workspaces` on first activation, keeping every saved workspace.
|
||||
- New `workspaces.use` permission, given to the admin and user roles. Without
|
||||
it the rail item is hidden and the routes answer 403.
|
||||
- Saved workspaces sync between the desktop app and a server. The per-device
|
||||
"Last Session" does not.
|
||||
- Offers `workspaces.saved` to other plugins, used by the AI assistant.
|
||||
- A tab from a plugin that is off is kept as a placeholder when a workspace is
|
||||
applied, instead of being dropped.
|
||||
Save your open tabs and split layouts as named workspaces and bring them back later. Workspaces sync between the desktop app and a server.
|
||||
@@ -1,26 +1,30 @@
|
||||
# Workspaces
|
||||
|
||||
Save and restore named tab/split layouts per user.
|
||||
Save and restore named tab and split layouts.
|
||||
|
||||
Bundled with Termix and enabled by default. This is the reference
|
||||
conversion: it imports only `@termix/plugin-sdk`, and "Converting a feature
|
||||
into a plugin" in packages/plugin-sdk/ARCHITECTURE.md points here for each step.
|
||||
## Features
|
||||
|
||||
## Layout
|
||||
- Save your open tabs and split layouts as a named workspace.
|
||||
- Open a workspace later to bring every tab back.
|
||||
- Tabs from a feature that is turned off are kept as placeholders.
|
||||
- Saved workspaces sync between the desktop app and a server.
|
||||
|
||||
manifest.json id, capabilities and what this plugin contributes
|
||||
src/backend/ activate(ctx), the table, repository and routes
|
||||
migrations/ one .sql per dialect, generated from src/backend/tables.ts
|
||||
src/frontend/ the UI it registers
|
||||
locales/en.json its strings (English only; the rest are translated)
|
||||
tests/backend/ vitest, node
|
||||
tests/frontend/ vitest, jsdom
|
||||
## Permissions
|
||||
|
||||
## Commands
|
||||
- `workspaces.use`: Use workspaces. Admins and users have it by default.
|
||||
|
||||
npm run build bundle into dist/
|
||||
npm run test run this plugin's tests
|
||||
npm run typecheck
|
||||
npx termix-plugin migrations <name> after changing src/backend/tables.ts
|
||||
## Services
|
||||
|
||||
See packages/plugin-sdk/ARCHITECTURE.md for the contract this follows.
|
||||
Provides to other plugins:
|
||||
|
||||
- `workspaces.saved`: list a user's saved workspaces.
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
npm run build # build into dist/
|
||||
npm run test # run this plugin's tests
|
||||
npm run typecheck # type-check this plugin
|
||||
```
|
||||
|
||||
See `packages/plugin-sdk/ARCHITECTURE.md` for the plugin contract.
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "workspaces",
|
||||
"name": "Workspaces",
|
||||
"version": "1.0.0",
|
||||
"description": "Save and restore named tab/split layouts per user.",
|
||||
"description": "Save and restore named tab and split layouts.",
|
||||
"author": {
|
||||
"name": "Termix"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user