sts.sl
sts.sl
CC#
Created by sts.sl on 8/7/2023 in #help
✅ Tracking changes on a complex object provided by a third party library
Yeah, it's a deeply nested object of various types which each have their own editor window. This results in usually 5-10 windows being open at any time whenever someone is using it. My editor has a simple treeview to simplify this and has some additional features, such as adding documentation to each object, validation and more controlled data processing. At the end of the day I'm presenting their editor windows, just with a different structure. I could create custom editor controls for these types but that's a bigger project than this current one. I'd love to do it but there's no business reason for it and it would take months potentially.
10 replies
CC#
Created by sts.sl on 8/7/2023 in #help
✅ Tracking changes on a complex object provided by a third party library
I highly doubt it because even when I open the "official" editor and try to close it, it asks me if I want to save 😄 I'm basically working an Editor+ for this thing. But I'll have a look, maybe they have something like this
10 replies
CC#
Created by sts.sl on 8/7/2023 in #help
✅ Tracking changes on a complex object provided by a third party library
The end goal is to generate a changelog when saving the object that can be displayed in a list with two types of entries (depending on the specific property)
Path.To.Nested.Object.PropertyName1: OldValue => NewValue
Path.To.Nested.Object.PropertyName2 has changed
Path.To.Nested.Object.PropertyName1: OldValue => NewValue
Path.To.Nested.Object.PropertyName2 has changed
The nested objects all implement the same interface, which provides a Changed event. This event contains the property names but not the values
10 replies