repoxplorer icon indicating copy to clipboard operation
repoxplorer copied to clipboard

Commits graph view be shown by week instead of month

Open duffybelfield opened this issue 5 years ago • 3 comments

Is there a way to show the commit graph by week instead of by Month?

duffybelfield avatar Jul 04 '19 08:07 duffybelfield

No the scaling is automatic. See https://github.com/morucci/repoxplorer/blob/master/repoxplorer/index/commits.py#L685. But let's set that issue as RFE. Do you expect to have a choice in the UI (cumulate by day/week/month/year) ?

Thanks for the report.

morucci avatar Jul 04 '19 10:07 morucci

Yes in the UI would be great and then scrollable? Could you also set if you want to use Week / Month in the configuration?

duffybelfield avatar Jul 04 '19 17:07 duffybelfield

Yes the project configuration could provide a setting to set the default histogram scaling and then have the choice in the UI (the default might not be good for every repo). Scrollable would be awesome but I lack JS/UI skills to implements that. The plan for the future is to rewrite the JS part with react and I assume it is going to be easier than with jquery.

morucci avatar Jul 15 '19 09:07 morucci