MainUI Widget with graphical timeline of item historical states

These are good candidates for the marketplace. The rule would be a rule template, obviously, and the widget a custom UI widget. See How to write a rule template for details on creating a rule template.

The advantage is users will be able to just install them same as an add-on and instantiate and configure these rather than copy/paste/edit.

It looks like your widget is already ready to go but the rule would need to be converted.

Note, there might be some improvements to creating rule templates comming in OH 5.