Open Sdaswani opened 5 years ago
Hey @Sdaswani – I don't code much in my free time anymore so I don't think I'll get around to adding new features. Sorry :( If you get something to work with decent code quality, I'd be happy to merge it though.
Looking at your suggested approach, I think one challenge is that the data in the Closed tab is not available until the user clicks into it. If it's an acceptable user experience, you could expect the user to click into both tabs (to cache the data) before showing the burndown calculation. If it's not an acceptable experience, you'll have to get the data from the GitHub API.
Alternatively, you could write a standalone script to access the GitHub API and pull down the milestone data directly. Some benefits of this are:
closed_at
dates for individual issues to create an actual burndown chartLet me know if I can be of any further help.
No worries @mcomella , I'll see if I can whip up a PR. It's my own fault I guess since your free time now has an XBox option! ;)
I think instead of requiring a click into both tabs, I would just display the burndown on the closed tab, since most folks come in through the open tab first. I will also look into the GitHub API since you have made it easy to access your API key.
I'm also hearing rumors that at the GitHub conference they may be expanding their project management features, which may include some of the feature set provide by this plugin.
I'm wondering if it's pretty easy to add a burndown calculation to this extension.
Elements Required: A. The Open Issues tab has days remaining. B. The Closed Issues tab has days accomplished. C. Sprint Length in days (configurable by user)
Then looking at this: https://fga.fa.us1.oraclecloud.com/fscmUI/topic/TopicId_P_D1EA7F4781E5BB60E040D30A68814A24
D. Planned (Ideal) days : A + B E. Completed days : B F. Days Remaining in Sprint G. Sprint Days Completed : C - F Ideal Burndown % : 100 / C G, when G >= 1 Current Burndown % : E / D 100
Example: A: 27 B: 3 C: 10
D: 30 E: 3 F: 8 G: 2 Ideal Burndown: 20% Current Burndown: 10%