I created a plugin that can be accessed by clicking a custom icon in the left-hand sidebar of the repository page (the sidebar with “source”, “branches”, “pull requests”, etc.).
The plugin is successfully navigated to once the icon is clicked, but that sidebar (“source”, “branches”, “pull requests”, etc.) does not appear on the new page.
I’ve been looking through documentation for days, but have been unable to find out how to make the sidebar stay visible after the plugin is navigated to. Any ideas?
This is done using decorators. I’m assuming your plugin uses a servlet and renders an html template. You add the snippet of info on that page for, presumably, the bitbucket.repository.general decorator, and the layout surrounding your content will look like other repo pages. Hope that helps!