I haven’t done much with the plugin API, but I did see that there is a method that can add classes to small action posts:
So I made a theme component that included this in the Head section:
<script type="text/discourse-plugin" version="1.6.0">
api.addPostSmallActionClassesCallback(post => {
return ["small-action-" + post.actionCode]
});
</script>
…and this in the CSS section:
.small-action.small-action-autobumped {
display: none;
}
…and the autobumped message disappeared!
I haven’t done any other testing, so I don’t know if there would be any other side effects. It’s possible that small-action-[...]
classes might clash somewhere else in the application, in which case you should choose a prefix that is guaranteed to be unique.