It's currently not clear what changes are being published when publishing a new version of a live rule.
This PR adds a diff to the publication modal to show what fields have been updated, plus tests for the functions added.
How to test
Run the rule manager locally according to the instructions in the readme.
Change some fields in a Live rule (If you have no Live rules, publish a Draft rule. If you have no draft rules, pull rules from the Google Sheet by activating the feature switch in the top right dropdown menu).
Do you receive a diff of any field you change? Do any fields show up in the diff when they shouldn't?
What does this change?
It's currently not clear what changes are being published when publishing a new version of a live rule.
This PR adds a diff to the publication modal to show what fields have been updated, plus tests for the functions added.
How to test