Gaming, Linux, Programming by day. Atheism and tolerance by night. Sci-Fi television all hours of the day.
I spent the majority of today fleshing out the CLI of Mogu. Aside from cleaning up the import/export functionality, I also spent some time with a fun little command called relate .
Relate takes two widgets in your application, finds their common ancestor, and displays the paths to each from this ancestor, to aid in putting together signal broadcasts (so that Widget A and talk to Widget B)
in the picture, the yellow text represents the common ancestor, the red path is the path to ‘footer_logo’, and the green path is the path to ‘side_profile’. Another run of the command shows two widgets that are directly related and how the output changes.
Still tweaking the output of the more complex path display, but I’m pretty super excited that it actually works.