Skip to content

Panel editor: Try it opens the panel in the scanner - #1305

Merged
enaboapps merged 3 commits into
mainfrom
feat/1302-try-it
Nov 2, 2026
Merged

enaboapps merged 3 commits into
mainfrom
feat/1302-try-it

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Closes #1302

Third slice of #1299, stacked on #1304.

  • Try it in the editor header opens the panel being edited in the scanner straight away, as if chosen from Home: one of the user's panels, a built-in menu, or the Mouse panel or Keyboard. The Switchify window minimises first, because the scan acts on whatever is in front and the editor's own fields must not be what the tried tiles type into. It is off while there are unsaved changes.
  • Backend: try_panel command (main thread) → scanning_runtime::try_panel, which builds a point-scan engine as a switch would, begins the session with Workflow::open_for_trial(TrialTarget) (Session::begin_with), dispatches OpenMouse/OpenKeyboard where needed, renders and publishes. Refused while scanning is not armed, while a phone is scanning, during switch practice, or when the licence is locked. Menus that need a chosen point cannot be tried.
  • Docs: a "Try a panel" section on the Panels page.

Validation

  • cargo fmt --check, cargo clippy --all-targets -D warnings, cargo test (940 passed; new workflow test covering each target and the Back route home), npm run lint, npm test (354 passed), npm run build in site/.
  • Dev build with Cua Driver: Try it on the Keyboard editor minimised the window and the scanning keyboard appeared over the browser that was behind it.

🤖 Generated with Claude Code

@enaboapps enaboapps added this to the v1.5.0 milestone Nov 2, 2026
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
site Ready Ready Preview Nov 2, 2026 10:04pm UTC

Request Review

@enaboapps

Copy link
Copy Markdown
Contributor Author

Owed: a run on a Mac (npm run macos:run) to confirm that Try it hides the app, the previous app comes forward, and the scan overlays stay on screen now that they are marked as unable to hide. Only the CI macOS build has compiled that path.

@enaboapps
enaboapps marked this pull request as ready for review November 2, 2026 21:06
@enaboapps
enaboapps force-pushed the feat/1301-edit-on-picture branch from 6af76bb to 53bb1aa Compare November 2, 2026 21:30
Base automatically changed from feat/1301-edit-on-picture to main November 2, 2026 22:04
OwenMcGirr and others added 3 commits November 2, 2026 22:04
Closes #1302

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ails to start, keep the mode in step

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps
enaboapps merged commit 2ade24c into main Nov 2, 2026
10 checks passed
@enaboapps
enaboapps deleted the feat/1302-try-it branch November 2, 2026 22:35

This branch was successfully deployed

1 active deployment
Preview — b59d497f Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panel editor: Try it opens the panel in the scanner

2 participants