core:open-note it would be nice to have an argument like
selectInSidebar where when the passed noteID belongs to a notebook, that notebook is also selected on the sidebar so it keeps the context consistent.
Or if this is not possible, a separate API (command) to select a notebook from the sidebar would be enough. I can just call those one after the other.
Would be more than happy to contribute this, but not sure if the source code is open or closed?