@Fourroses: thanks for the idea. A system/plugin setting to determine what to store (or at least: what to show) sounds like a good idea.
@netProphET: thanks for sharing your thoughts.
Spend a lil’ while again this night (hehe) and pretty much finished the comparison window.
Feel free to login on the demo (see first post on this page) for a live view.
I started writing the
VersionX Documentation and the
VersionX Roadmap on the RTFM.
A little background info for those interested...
The Fields & Settings tab simply fetches all fields for the two revisions, except content, and checks if they are similar. If they’re not, they are returned to the script and show up in the grid.
The Content tab uses a different approach, as it goes line by line using xpdorevisioncontrol.
Whereas the fields & settings tab is not influenced by updates to the core / xPDO, the content one is relying on the revisioncontrol class of xpdo. Right now that class returns a plain string according to some standard I think I understand for the most part which is being exploded and parsed appropriately. When that class, or the way it outputs information, change, this part of the component will probably break.
I’d expect this class to be used by the core devs for the core versioning/workflow scheduled for 3.0, so yeah, just a mental note to keep an eye on this to see if it has been improved when time goes by.