Feature: Allow customizable template for Dependency Dashboard line items #44926
pvickery-ParamountCommerce
started this conversation in
Suggest an Idea
Replies: 1 comment 3 replies
|
Sounds good |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
What would you like Renovate to be able to do?
The Dependency Dashboard currently renders each pending update using
prTitleas the line item text. There is no way to customize how items appear on the dashboard independently from the PR title.I would like to add contextual links (e.g., changelog/release notes) to dashboard line items without polluting PR titles with raw markdown.
Desired output:
This would render as a clickable changelog link on the dashboard issue, making it easy to evaluate updates at a glance without opening each PR or navigating to the source repo manually.
Current behavior:
Dashboard items use
prTitleverbatim (or link to the PR if one exists). There is no separate template for how items render on the dashboard. Embedding markdown links inprTitlewould make PR titles unreadable.If you have any ideas on how this should be implemented, please tell us here.
A new config option like
dependencyDashboardItemTemplate(or extendingcustomizeDashboard) that supports Renovate template syntax with the same runtime variables available toprTitle(sourceUrl,depName,currentVersion,newVersion,packageFileDir, etc.).Example config:
{ "customizeDashboard": { "itemTemplate": "{{{prTitle}}} [📋]({{{sourceUrl}}}/releases)" } }When no PR exists, the template would be rendered into the issue body markdown. When a PR exists, the existing behavior of linking to the PR could remain as-is, or the template could wrap/augment it.
Is this a feature you are interested in implementing yourself?
Potentially, if pointed in the right direction.
Related issues
.appVersionfor Helm Charts #20007 (show additional info on dashboard items — closed)All reactions