in web/automerger.ts [130:147]
private styleRelatedChanges() {
document.querySelectorAll('[data-branch]').forEach(relChange => {
if (!(relChange instanceof HTMLElement)) return;
if (!this.change) return;
const relatedBranch = relChange.dataset['branch'];
if (relatedBranch === this.change.branch) {
relChange.style.fontWeight = 'bold';
} else {
relChange.style.fontWeight = '';
}
if (relChange.innerText.includes('[skipped')) {
const parent = relChange.parentNode;
if (parent && parent instanceof HTMLElement) {
parent.style.backgroundColor = 'lightGray';
}
}
});
}