-
Notifications
You must be signed in to change notification settings - Fork 230
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
Support customizing sections #145
Comments
I like this idea :) Shouldn't be too hard to add.. |
I'd be happy to, but I'm not sure I'll have time. 😞 If I find myself with the bandwidth, I'll comment here and ask you to assign this to me 👍🏻 Glad to hear it wouldn't be too difficult. I've never written any go before, so I'll have a bit of a learning curve. Could you give me an overview of how it might be implemented? That'll definitely give me a head start :D |
No problem, only if you have time. |
I started poking around the code and I had a couple of thoughts I wanted to run by you before doing anything. It's very tempting to want to make a new top-level config option called However, that's a huge change and wouldn't be backward compatible, so I'm guessing that's not really tenable. An alternative could be adding a boolean flag to the Also, I'm noticing a number of if/elses that assume there's only ever two possible sections - PRs or Issues. Here's an example: Lines 295 to 301 in d25d810
If I'm updating that code anyway, what do you think about me changing those ifs to switches to more easily support new sections? Thanks for your guidance! |
Yeah that sounds like a good idea.
Sure that sounds great. |
Should be solved by #145 |
yes @miniscruff thank you! |
Is your feature request related to a problem? Please describe.
My company does not use Github Issues, so I have no need for the issues section. I'd love to hide it!
Describe the solution you'd like
A config option to specify which sections should be shown.
Describe alternatives you've considered
Just ignoring the issues section. :) But if #141 is ever supported (and I really hope it is!) then it would be more important, imo, to be able to customize which sections are shown because then there would be three.
Thanks for the awesome project!
The text was updated successfully, but these errors were encountered: