Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider opening date of issues, upwards trend #132

Open
doniks opened this issue Jun 16, 2018 · 3 comments
Open

Consider opening date of issues, upwards trend #132

doniks opened this issue Jun 16, 2018 · 3 comments

Comments

@doniks
Copy link

doniks commented Jun 16, 2018

It seems the chart takes the total number of issues as the starting point in the time line. However, that's not accurate when issues are created over time rather than all being defined at the start.

It would be really helpful to see the upwards trend of new issues coming in. Right now, if new issues come in, I do not see the chart go up, but rather it looks like history is rewritten and we always started from more issues.

@radekstepan
Copy link
Owner

Interesting. Can you describe how your process works? Usually people allocate a fixed amount of issues to a milestone/sprint/release and the point of the chart is to show you a progress for that specific milestone. Are you adding more issues into a sprint when the chart shows you are ahead of schedule?

@doniks
Copy link
Author

doniks commented Jun 17, 2018

The most important difference is that while approaching the release more regression tests are performed and issues are raised.

There is also a secondary effect of reconsidering whether a specific issue really can/should be targeted for this milestone or moved to a later milestone.

The particular project/milestone I was trying to chart is this one:github.com/ubports/ubuntu-touch/milestone/7 . It's an operating system for mobile phones preparing their next release. The milestone starts off with a selected set of new features/ old issues, but over time issues are added (additional features or new regressions) or pushed out to a later milestone.

@radekstepan
Copy link
Owner

I see. So basically you'd like to adjust the trendline when new issues are added and on the day/time that an issue is added to add a vertical line up and then start trending downward again.

If you change the code in here:

https://github.com/radekstepan/burnchart/blob/master/src/js/modules/chart/lines.js#L100-L150

I can provide a config and some test cases for this so it's part of master. One way to go about it would be to recalculate the trendline fn every time a new issue has been added and push it to the array of points returned at the end of the function trend().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants