I am developing a stash plugin to display information regarding Pull request participation and statistics. I have added a web item to stash.pull-requests.list.nav. with a link to a servlet/soy page. Is there a way to put content into the body of that page rather than it using up the entire page in the link? I looked into the web panels and web sections, but didn't see anything in that area which could be added to.
Secondarily, do you know of any source which contains an example of pie charts or other graphs?
Any thoughts on either subject would be greatly appreciated.
Community moderators have prevented the ability to post new answers.
Hi John,
Unfortunately there is no decorator for that particular page. I don't think it should be too difficult to add, but if you could raise an issue at http://jira.atlassian.com/browse/STASH then the Stash team can assess how long it will take to implement (and when).
There is a reference plugin for decorating pages here: https://bitbucket.org/atlassian/stash-example-plugin, perhaps you could use the repository decorator for now?
As for pie charts, consider a client side approach; there are many javascript libraries available, such as http://www.jscharts.com/how-to-use-pie-charts and http://www.flotcharts.org
That all sounds like a great answer. I'll use the suggested decorator, I can't think of to many other applications which would require a decorator inside the pull request section.
Additionally, your links on charting were very helpful. I will probably go with Flot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.