Company Preference Cleanup (breaking changes)

Issue No: DASH-1232
Created 5/4/2015 10:18:57 PM
Type Task
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 15.2
Description From Dan's Email   Hi All,     We made some changes with the Company Preferences process, we will no longer be using createPreferenceUI() as identifier among modules that wants their panels to be included in the Company Preferences screen. What we do now is we reuse the ModuleList store and defined a new property named “companyPreferenceEnabled” with boolean type as the new identifier.     To adapt with the changes we require module developers to change the following file and class name:   # Preference’s view to CompanyPreferenceOption. # Preference’s viewController to CompanyPreferenceOptionViewController. # Preference’s viewModel to CompanyPreferenceOptionViewModel. # Preference’s alias to [module prefix] + “companypreferenceoption”.   {color:red}* I think Sir Steve already changed the view and alias.{color}     Example in the System Manager:   # PrefSettings -> CompanyPreferenceOption # PrefSettingsViewController -> CompanyPreferenceOptionViewController # PrefSettingsViewModel -> CompanyPreferenceOptionViewModel # smprefsettings -> smcompanypreferenceoption     Fyi,   Dan