Release RuneStone 0.1.7 with plugin documents and shared menus

This commit is contained in:
Knotty Wyvern
2026-10-06 09:29:09 -07:00
parent 6b7af0d527
commit 5d0a4a24f9
75 changed files with 2286 additions and 1665 deletions
+42
View File
@@ -8,6 +8,18 @@ product plans in `docs/`, with links from the README.
Keep the roadmap visual and organized around goals, user outcomes, and milestones.
Keep detailed capability lists and design constraints in the product scope reference.
## Plugin packages
Use `docs/plugins.md` as the package and release reference for all plugin work.
Distribute one standard `.zip` per plugin, with `plugin.json` at the archive root.
Use `pnpm package:plugin <compiled-folder> [output-folder]` to create release files.
Use Settings → Plug-ins for local ZIP and experimental Gitea-link installation.
Do not introduce custom extensions, loose JSON installation, or folder installation instructions.
Keep the manifest and entry module readable. Include the assets and dependencies needed to run the plugin.
Follow the Gitea release standard in `docs/plugins.md`: one plugin ZIP per published release, with an explicit tag for prerelease trials.
Keep the download source separate from package validation and installation.
GitHub and GitLab adapters remain future work. Do not add untested host support.
## UI work: prefer meaningful icons
Apply these rules whenever designing, implementing, modifying, or reviewing RuneStone UI.
@@ -61,3 +73,33 @@ Apply them automatically without requiring the user to repeat them.
- Keep the fill continuous within each selected region.
Ordinary table grid lines can remain, but must not become highlighted selection borders inside the region.
- Check single items, contiguous ranges, separated selections, and nested rows.
## UI work: use one menu design
Apply these rules to context menus, action menus, and their submenus.
Apply them automatically when you add, change, or review a menu.
- Use `src/lib/ui/actionMenu.ts` for action menus.
Svelte callers can use `src/lib/layout/ContextMenu.svelte`.
Keep presentation in `src/lib/ui/menu.css` and theme values in `src/lib/theme/tokens.css`.
Do not create a separate menu renderer or local style overrides for individual features.
- Use the same font, row height, padding, icon size, label alignment, separators, and shadow throughout a menu family.
Use `--rs-menu-*` tokens and `--rs-control-radius`.
Keep a padding inset around every row so hover and focus backgrounds do not touch the panel border.
Menu width can change when content requires more space. Keep the other shared measurements.
- Use the same action icon for the same function across menus.
Give recognizable actions an icon and a concise label.
Reserve the icon column when an item has no suitable icon.
Keep submenu arrows and shortcut text in separate trailing columns.
- Give enabled rows the same hover and keyboard focus treatment.
Keep disabled rows readable, skip them during keyboard navigation, and prevent their activation.
Use the same inset separators between related groups.
- Support arrow keys, Home, End, Enter, Space, and Escape.
Open submenus with the Right arrow and return with the Left arrow.
Restore focus on keyboard dismissal. Keep menus within the viewport and scroll long menus.
- Check file, folder, pane, tab, editor, table, and submenu examples after changes to shared menu code.
Check both themes, disabled items, icon alignment, keyboard focus, and viewport edges.
Run `scripts/menuConsistency.smoke.mjs` against the development server to compare shared styles and behavior.
Rich pickers and dialogs can use their own layouts when they contain search fields, descriptions, or forms.
Plugin menus should use these rules where the host API permits shared components.