← Commit history

Project workspaces: a Try it section with the hydrogen:// link

John Lauer ·44316e3349 ·1mo ago ·parent 88c751a
1 file changed +11
project-workspaces/README.md+11
@@ -6,6 +6,17 @@ A project can ship its Hydrogen layout. The file is `hydrogen/workspace.json` in  *The whole loop in 72 seconds: build a layout, save it as a project workspace, see the file, push it to the project's wiki page, then load it back three ways: from the menu, from an AI through the control API, and from a hydrogen:// link. Every step was driven through Hydrogen's API on a test box. [Download the video](project-workspaces/project-workspaces.mp4).* +## Try it in two minutes++1. Clone the demo project into your workspace (in a VS Code terminal): `cd ~/project && adom-wiki repo clone john/example-bench`+2. Open the bench with a link. Any of these works on a machine with Hydrogen Desktop installed:+   - Click: <a href="hydrogen://edit?workspace=john/example-bench">hydrogen://edit?workspace=john/example-bench</a>+   - Or press Win+R and paste `hydrogen://edit?workspace=john/example-bench`+   - Or paste that address into your browser's address bar. Windows asks once whether to open Adom Hydrogen.+3. Hydrogen comes to the front and applies the bench next to your panes. Undo it with Unload in the Project workspaces menu, or `POST /workspaces/unload` from your AI.++The same three steps work for any project that ships a bench; only the reference changes.+ ## What you see in ah  The icon right of the Adom logo opens the pulldown.