import featureDetails from 'utils/features' ; export const getDisplayNameForBrowser = ( id ) => { return id || 'Unknown' ; } ; export const getFeatureName = ( { id } ) => { if ( id && featureDetails [ id ] ) { return featureDetails [ id ] . name ; } return id || 'Unknown feature' ; } ; export const getWhyFeatureIsRequired = ( { id } ) => { if ( id && featureDetails [ id ] ) { return featureDetails [ id ] . whyRequired ; } return undefined ; } ;