Closed kamsar closed 8 years ago
From #unicorn
I followed the Habitat setup guide, and there were no checkboxes when I got to the sync part. The checkboxes did first appear when I had sync'ed all of the projects manually.
https://github.com/kamsar/Unicorn/blob/master/src/Unicorn/ControlPanel/Controls/ConfigurationInfo.cs#L36 is the code that controls checkbox visibility:
<h3{0}{1}</h3>".FormatWith(MultipleConfigurationsExist && configurationHasAnySerializedItems && configurationHasValidRootPaths ? @" class=""fakebox""><span></span>" : ">", _configuration.Name));
The relevant piece being:
MultipleConfigurationsExist &&
configurationHasAnySerializedItems &&
configurationHasValidRootPaths
So one of those cases (only one of which takes into account other configurations) had to be false for checkboxes to disappear.
I've seen several folks report that they have been temporarily unable to see the checkboxes next to configurations to sync things.
I have not reproduced this, but it's worth looking into. It may also be a difficult to grok business rule (e.g. I think the boxes may hide unless all configs are valid with serialized items).