RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

Report-config.json: Support more fields

Open Boon-Jun opened this issue 4 years ago • 7 comments

We have added a report-config.json file that can be used for the configuration of report generation. Right now, it only allows users to specify a report title.

We can support more fields with this config file, especially if they can be applied to all repositories during report generation. The following are some of the fields I think we can include:

  • [ ] sinceDate
  • [ ] untilDate
  • [ ] timeZone
  • [ ] introductory text?(see discussion below)

Boon-Jun avatar Nov 16 '20 19:11 Boon-Jun

We can also extend it to configure the introductory text as outlined in #467.

dcshzj avatar Nov 17 '20 12:11 dcshzj

I think we have to decide to what extent should we allow the customization of the introductory text. If its just basic text replacement, then it can be done, but if the users are allowed to modify the html themselves, then it might not be suitable

Boon-Jun avatar Nov 17 '20 15:11 Boon-Jun

@damithc Hi, Prof. Do you think a simple text will do what you need?

fzdy1914 avatar Jan 19 '21 12:01 fzdy1914

I think it would be support basic HTML but if that's too hard, even just text is good enough. We also need to figure out where we are going to display that text, in what format.

damithc avatar Jan 19 '21 14:01 damithc

Related task for setting sinceDate and untilDate: #634

dcshzj avatar Jan 25 '21 03:01 dcshzj