User Tools

Site Tools


onboarding:mobile:mdctranslatoruiconfig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
onboarding:mobile:mdctranslatoruiconfig [2022/05/27 11:36] 10.91.110.100onboarding:mobile:mdctranslatoruiconfig [2022/10/11 12:29] (current) 10.91.110.100
Line 1: Line 1:
 ====== MDC Translator Ui Configuration for Mobile ====== ====== MDC Translator Ui Configuration for Mobile ======
  --- //[[anna.dowling@errigal.com|Anna Dowling]] 2022/05/27 11:25//  --- //[[anna.dowling@errigal.com|Anna Dowling]] 2022/05/27 11:25//
 +
 +See also: [[onboarding:nova:mdctranslatoruiconfig|MDC Translator Ui Configuration for Nova]]
  
 ===== Overview ===== ===== Overview =====
Line 7: Line 9:
  
 These entries are used to render the performance and configuration cards on the device or component overview pages in mobile. These entries are used to render the performance and configuration cards on the device or component overview pages in mobile.
-If a UiProperty is found on a parameter object, it uses the UiProperty specification to attempt to render the parameter in a card.+If a UiProperty is found on a parameter object, it uses the UiProperty specification to attempt to render the parameter in a card. The same object can be used across both mobile and nova to prevent duplication of technology entries.
  
 See sample of UiProperty object for mobile below: See sample of UiProperty object for mobile below:
Line 27: Line 29:
  
 </code> </code>
 +
 +===== Description of Fields =====
 + 
 +  * **title** - will render on parameter card / list entry instead of prettyName or key if specified
 +  *   **uiType** - not needed for mobile but used in nova to show different card types
 +  *   **row** - not needed for mobile but used in nova to determine how many rows card takes up
 +  *   **column** - not needed for mobile but used in nova to determine how many columns card takes up
 +  *   **order** - determines card order - used in both apps
 +  *   **uiCategory** - used in mobile to customise performanceIcon displayed for parameter. For full list of icons see: [[https://bitbucket.org/errigal/idms-mobile/src/master/src/config/performanceIcons/|performance icons dir]]
 +  *   **properties**: properties are configured via the translator key_value table. Mobile has a few extra properties that can be used to further control the ui. These are:
 +      - showOnOverView : boolean - true / false (Controls device overview parameter display. Defaults to true if property not set but UiProperty is found for parameter)
 +      - showOnComponent: boolean - true / false (Controls component overview parameter display. Defaults to true if property not set but UiProperty is found for parameter and matches component id / discoveredName)
 +      - mobileUiTag:  string - RANGE_SLIDER / INPUT_TEXT / INPUT_SELECT (Defaults to '', used on parameter edit card to render different ui types for configuration values)
 +
 +
onboarding/mobile/mdctranslatoruiconfig.1653647774.txt.gz · Last modified: 2022/05/27 11:36 by 10.91.110.100