updates metadata acquisition tabs with links to wiki for help. adds explanatory text to ownership tab.

This commit is contained in:
Seyi Adebajo 2017-03-31 17:30:21 -07:00 committed by Mars Lan
parent c3033dc455
commit 8e02adcfd2
7 changed files with 121 additions and 13 deletions

View File

@ -68,7 +68,7 @@ export default Component.extend({
).mapBy('fieldName');
if (fieldNamesAreUnique(fieldNames.sort())) {
return;
return set(this, '_hasBadData', false);
}
// Flag this component's data as problematic

View File

@ -33,9 +33,13 @@
of Owner Type <code>Owner</code>
</li>
</ul>
<br>
<p>
Only owners that are not sourced from <code>SCM</code> can be removed
from this list. To remove any such owner(s), please make the change at the
source.</p>
</div>
{{#if errorMessage}}
<div class="alert alert-danger" role="alert">{{errorMessage}}</div>
{{/if}}
@ -51,10 +55,70 @@
<th>Full Name</th>
<th>ID Type</th>
<th>Source</th>
<th>Owner Type</th>
<th>
Owner Type
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-ownership">
<sup>
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
</sup>
</a>
</th>
<th>Confirmed</th>
<th>Remove</th>
</tr>
{{/each}}
</tbody>
</table>
</thead>
<tbody data-attribute="owner-table">
{{#each owners as |owner|}}
<tr class="dataset-author-row">
<td class="dataset-author-cell"
onclick={{action "willEditUserName"
value="currentTarget.classList"}}>
<label class="dataset-author-cell__name-tag">
{{owner.userName}}
</label>
<input class="userEntity dataset-author-cell__user-name"
type="text"
placeholder="Enter Username"
autofocus="autofocus"
title="{{owner.userName}}"
value="{{owner.userName}}"
onblur={{action "editUserName" owner}}/>
</td>
<td>{{owner.name}}</td>
<td>{{owner.idType}}</td>
<td>{{owner.source}}</td>
<td>
{{ember-selector
values=ownerTypes
selected=owner.type
change=(action "updateOwnerType" owner)}}
</td>
<td>
{{input
type="checkbox"
title=(if owner.confirmedBy owner.confirmedBy "Not confirmed")
checked=(readonly owner.confirmedBy)
change=(action "confirmOwner" owner)}}
</td>
<td>
<button class="nacho-button nacho-button--small"
title={{if (contains (w "SCM") (w owner.source))
"Owners sourced from SCM should be removed directly from SCM"
"Remove"}}
disabled={{contains (w "SCM") (w owner.source)}}
{{action "removeOwner" owner}}>
<i class="fa fa-trash"
aria-label="Remove Owner"></i>
</button>
</td>
</tr>
{{/each}}
</tbody>
</table>
</div>

View File

@ -29,6 +29,7 @@
<section class="metadata-prompt" id="has-member">
<header class="metadata-prompt__header">
<p class="metadata-prompt__page-number">Question 1 of 3</p>
<p>Can any fields in this dataset's schema be used to identify a
member?</p>
</header>
@ -64,6 +65,7 @@
{{#if showOrgPrompt}}
<section class="metadata-prompt" id="has-org">
<header class="metadata-prompt__header">
<p class="metadata-prompt__page-number">Question 2 of 3</p>
<p>Do fields in the schema contain the ID of an organization?</p>
</header>
<span>
@ -97,6 +99,7 @@
{{#if showGroupPrompt}}
<section class="metadata-prompt" id="has-group">
<header class="metadata-prompt__header">
<p class="metadata-prompt__page-number">Question 3 of 3</p>
<p>Do fields in the schema contain the ID of a group?</p>
</header>
<span>

View File

@ -22,8 +22,10 @@
Which fields should be classified as Confidential or Highly Confidential
(if any)?
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
<sup>
More Info
@ -53,8 +55,10 @@
{{#head.column}}Data Type{{/head.column}}
{{#head.column}}
Security Classification
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
<sup>
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
@ -63,10 +67,12 @@
{{/head.column}}
{{#head.column}}
Field Format
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
<sup>
<span class="glyphicon glyphicon-question-sign"
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
</sup>
</a>

View File

@ -14,8 +14,30 @@
{{#table.head as |head|}}
{{#head.column columnName="identifierField"}}Field{{/head.column}}
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
{{#head.column}}Member Identifier?{{/head.column}}
{{#head.column}}Is this field a Subject Owner?{{/head.column}}
{{#head.column}}
Member Identifier?
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-compliance">
<sup>
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
</sup>
</a>
{{/head.column}}
{{#head.column}}
Is this field a Subject Owner?
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-compliance">
<sup>
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
</sup>
</a>
{{/head.column}}
{{#head.column}}Field Format{{/head.column}}
{{/table.head}}
{{#table.body as |body|}}

View File

@ -14,7 +14,18 @@
{{#table.head as |head|}}
{{#head.column columnName="identifierField"}}Field{{/head.column}}
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
{{#head.column}}Organization Identifier?{{/head.column}}
{{#head.column}}
Organization Identifier?
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
<sup>
<span class="glyphicon glyphicon-question-sign"
title="Link to more information"></span>
</sup>
</a>{{/head.column}}
{{#head.column}}Field Format{{/head.column}}
{{/table.head}}
{{#table.body as |body|}}

View File

@ -52,6 +52,8 @@
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
</li>
<li>
<!--TODO: DSS-6716-->
<!-- DRY out with wrapper component that takes the link as an attribute-->
<a href="https://iwww.corp.linkedin.com/wiki/cf/display/ENGS/Metadata+Coverage"
title="Metadata Coverage"
target="_blank">