Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stash Plugin WebItems link display in Stash

John Chaney May 19, 2013

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.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 19, 2013

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

John Chaney May 22, 2013

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.

TAGS
AUG Leaders

Atlassian Community Events