Interactive interface for browsing global, full-resolution satellite imagery
WV-2080: Display QA datasets meaningfully (#3787)
Jason Kent7bf52cb3700b
diff --git a/web/css/smart-handoff.css b/web/css/smart-handoff.cssindex 354fb9553..7a9d0b149 100644--- a/web/css/smart-handoff.css+++ b/web/css/smart-handoff.css@@ -79,7 +79,7 @@color: #999;}.collection-choice {- margin: 8px 5px 8px 15px;+ margin: 8px 0 8px 5px;input {cursor: pointer;position: relative;@@ -88,7 +88,7 @@label {color: #eee;cursor: pointer;- margin: 0 5px 0 7px;+ margin-left: 5px;font-size: 13px;}svg {diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.jsindex 1d62ddc1c..0f22f7ccf 100644--- a/web/js/containers/sidebar/smart-handoff.js+++ b/web/js/containers/sidebar/smart-handoff.js@@ -389,11 +389,14 @@ class SmartHandoff extends Component {{layer.conceptIds.filter(({ value }) => validatedConceptIds[value]).map((collection) => {const {- type, value, version,+ type, value, version, quality,} = collection;const inputId = `${util.encodeId(value)}-${util.encodeId(layer.id)}-collection-choice`;const isSelected = (selectedCollection || {}).value === value && layerIsSelected;const labelId = `${inputId}-label`;+ const label = STD_NRT_MAP[type]+ + (version ? ` - v${version}` : '')+ + (quality ? ' (Quality)' : '');return (<div className="collection-choice" key={inputId}>@@ -405,7 +408,7 @@ class SmartHandoff extends Component {onChange={() => selectCollection(collection.value, layer.id)}/><label id={labelId} htmlFor={inputId}>- {STD_NRT_MAP[type] + (version ? ` - v${version}` : '')}+ {label}<FontAwesomeIcon id={`${util.encodeId(value)}-tooltip`} icon="info-circle" /></label>