Skip to content

Conversation

banchan86
Copy link
Contributor

Fixes #134.

After reviewing the operators, it looks like there are only five operators in the current Bonsai.Core docs that use a ROI editor, and there are two main variants, a single ROI editor and one that accepts polygonal/multiple editors. Thus I have created two overwrite markdown snippets that can be included with each operator.

There may be other ROI editors used by operators outside of Bonsai.Core. For example ScreenCaptureStream uses an IplImageOutputRectangleEditor but the Bonsai.Video package doesn’t have a website setup yet. I will just make a note and address them as I come across them.

@banchan86 banchan86 added the documentation Improvements or additions to documentation label Mar 21, 2025
@banchan86 banchan86 requested a review from glopesdev March 21, 2025 00:34
@glopesdev glopesdev force-pushed the roi-instructions branch 2 times, most recently from 2a93147 to 399e1a2 Compare June 21, 2025 10:48
@glopesdev
Copy link
Member

glopesdev commented Jun 21, 2025

@banchan86 Thanks for pushing this, it has been a long time coming. I have reviewed by adding a reference from a missing operator MaskPolygon which also uses these editors, and also by refining and adding extra commands which are available but relatively obscure.

I decided to use subsections rather than bullet points to list the possible actions, as that will both include them in the TOC and make them shareable with a URL.

Similar to the recommendations in #120 I have used <kbd> instead of inline code snippets to indicate keyboard shortcuts. I have merged an update to the CSS theme in #146 to improve the default bootstrap styling of keyboard shortcuts in DocFX.

banchan86 and others added 3 commits June 21, 2025 12:20
Using section headers over bullet points places commands in the TOC.
We have also added missing commands and used `<kbd>` tags to mark
keyboard shortcuts.
@banchan86
Copy link
Contributor Author

@glopesdev thanks for the edits, everything looks great to me!

@glopesdev glopesdev merged commit 911f311 into bonsai-rx:main Jun 22, 2025
1 check passed
@banchan86 banchan86 deleted the roi-instructions branch June 22, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ROI editor interface instructions for operators with ROI properties
2 participants