ryan Posted October 7, 2022 Share Posted October 7, 2022 This week we have ProcessWire 3.0.206 on the dev branch and a new version of the ProDevTools UserActivity module, which we'll take a closer look at in this post— https://processwire.com/blog/posts/user-activity-v6/ 9 Link to comment Share on other sites More sharing options...
bernhard Posted October 7, 2022 Share Posted October 7, 2022 Great stuff @ryan ! While reading (and because a client asked that this week) I wonder if that would open the doors for a kind of "undo" feature? I guess that would be a lot more difficult to implement? But maybe the activity log could easily be extended with some kind of "undo" information? Just thinking out loud... ? Link to comment Share on other sites More sharing options...
Fuzen Posted October 7, 2022 Share Posted October 7, 2022 @ryan auto-reload and limit-save are incredible features. I never thought to buy ProDevTools but will do so for my next project because those two additions are great. Thank you. 1 Link to comment Share on other sites More sharing options...
ryan Posted October 8, 2022 Author Share Posted October 8, 2022 @bernhard Quote I wonder if that would open the doors for a kind of "undo" feature? Not really. This sort of thing would be simple on some fields but very difficult on others. For instance, text fields, numbers, etc... very simple. But for any field that stores data beyond the field_* table (Repeaters, Files/images, PageTable, etc.) it would be difficult to achieve and to maintain. The only way to do it reliably across all Fieldtypes would be is if each Fieldtype implemented the ability on its own (through some base Fieldtype provided interface, which we may add at some point). That's because individual Fieldtype modules are the the only authority on how and where their data is stored. Granted, the vast majority of Fieldtypes just store data in their field_* table, keeping it simple, but it's those more complex ones (repeaters, files, etc.) that are the primary obstacle to some undo or version feature that works the same across all fields. It's one of the reasons I gave up on developing the Snapshots module, which I spent weeks on before realizing such features are not sustainable for complex Fieldtypes until it becomes part of the Fieldtype interface. 1 Link to comment Share on other sites More sharing options...
Pete Posted October 8, 2022 Share Posted October 8, 2022 I'd 100% love to see the snapshots feature make a comeback eventually - clients can do... "funny" things sometimes (and I've been guilty of it too ?), though I appreciate it's a hard one to crack. Link to comment Share on other sites More sharing options...
Pete Posted October 8, 2022 Share Posted October 8, 2022 @ryan ProcessWireUpgrade can't seem to see 3.0.206: 1 Link to comment Share on other sites More sharing options...
ryan Posted October 9, 2022 Author Share Posted October 9, 2022 @Pete Oops, looks like I neglected to push the final "bump version" commit. Just pushed it and the version number should update within a day. Thanks. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now