The hide inactive deployments feature (that I contributed myself in #1149) hides messages about inactive deployments in the timeline.
In long PRs, some items are collapsed and can be lazy loaded:

If these include inactive deployments, they aren't hidden:

This is because the feature reload only fires when .js-discussion's node list changes. With lazy loading, the deployments aren't direct descendants of .js-discussion, but of its descendant .progressive-timeline-item-container.
You can prove this by manually removing a .js-timeline-item using dev tools:
Load more ..., the feature doesn't reload..js-discussion), the feature does reload and inactive deployments become hidden.So we have to tweak the observeEl function call:
subtree: true would solve this, but is probably too expensive.progressive-timeline-item-container could work too, but the simplified-element-observer module only allows observation of a single node. We could extend this module, though.Do you have another idea?
Here's an example PR: https://github.com/OpenLightingProject/open-fixture-library/pull/425
This affects all the other discussion features as well so we'd need a generic "discussion listener" that can be used across the extension.
By looking at GitHub's code (I just search .class names in the dev tools) I found that it should trigger a page:loaded event when the ajax pieces are loaded, so we can just listen to them. This might even replace any other observeEl we have in place for "recent comments pushed via ajax"
we'd need a generic "discussion listener" that can be used across the extension.
This has been added: https://github.com/sindresorhus/refined-github/blob/master/source/libs/on-new-comments.js
@fxedel do you want to take a stab at it? I don't have any repos with deployments