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
feature: Collapsible categories #1093
Comments
Great suggestion! That would be a good first PR :) Perhaps it would be good to say anything greater than 3 is collapsed if collapsed is true? I do not believe you need it to be collapsed for only 3 items or less. |
I like your idea, if we take it even further we can make it configurable and set the default to > 3? Any suggestion for the name of the configuration? categories:
- title: "Dependency updates"
collapsed: true
collapse_at: 3
labels:
- "dependencies" edit: maybe we should start with your idea, let me wrap up my PR |
https://cs.github.com/?scopeName=All+repos&scope=&q=collapse-after+path%3A.github%2Frelease-drafter.yml nice to see active usage in 9 places already 😄 |
I first noticed it being used in home-assistant/supervisor which I use (and am a big fan of) myself! Pretty cool 😄 We use it in all our (private) repo's. I've got another feature in mind, but not sure about it yet. I would like to merge these:
into:
Do you see any use for this @jetersen? |
Definitely but please keep renovate in mind |
Haven't heard of renovate before, will look into it 👍 |
Here are some example from renovate.
I guess it does not provide the from so perhaps it does not make sense. |
I see, if I understand correctly renovate has the option to make a big PR with a bunch of dependency updates, whereas dependabot makes separate PRs. One big PR (depending on the title) would be a bit meaningless in the release notes, whereas all dependabot PRs can feel a bit overwhelming. I'm not sure if this is something we should implement, but if we do the result would be something like below. Pros: cleaner release notes collapse-after: 140 changes
collapse-after: 1, merge-similar: true40 changes
|
Lets do for just dependabot than, it definitely cleans up the release notes. |
@robbinjanssen see #706 |
last but not least (and then let's stop harassing this issue 😂 ), one more idea. We have a global definition of For example: name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
change-template: '- [#$NUMBER] $TITLE [@$AUTHOR](https://github.com/$AUTHOR)'
sort-by: merged_at
sort-direction: ascending
categories:
- title: "✨ New features"
labels:
- "new-feature"
- title: "⬆️ Dependency updates"
collapse-after: 1
sort-by: title
labels:
- "dependencies" |
In some releases our "dependencies" category is huge because of many JS dependencies. It would be nice if there would be an option to make some categories collapsed by default.
Example config:
Example output:
What’s changed
New features
Dependency updates
4 changes
Is this something you would be willing to accept as an PR?
The text was updated successfully, but these errors were encountered: