ncihtan / htan-portal

The HTAN Data Portal
https://humantumoratlas.org
9 stars 11 forks source link

Add Data Standards Directions, Update Submit Data Link #682

Open jen-dfci opened 10 hours ago

jen-dfci commented 10 hours ago
  1. Add Data Standards Directions at top of each Manifest table. (see below). If implemented with react-show-more-text or react-collapsible, have "Directions" as start and everything else collapsed or show more.

  2. change link in transfer.tsx:

From

<a href="https://dca-docs.scrollhelp.site/DCA/Working-version/HTAN/" target="_blank">HTAN Data Ingress docs</a>

To

<a href="https://docs.humantumoratlas.org/data_submission/overview/" target="_blank">HTAN Manual Data Submission Overview</a>

For DataStandardDIrections.tsx

const DSDirections = () => (
    <div className = "data-standards-directions">
        <h2>Attributes</h2>
        <p>
            WARNING: Manifests provided on this page are for reference only. 
            DO NOT USE THESE MANIFESTS FOR DATA SUBMISSION.
            </p>
        <h3>Directions</h3>
        <p>
            The interactive tables below are provided to help users understand 
            the HTAN Data Model. The tables allow a user to view, search or download attributes either:
        </p>
        <ol>
            <li>1. in a specific manifest; or</li>
            <li>2. in all manifests represented on this page.</li>
        </ol>
        <p>
            To view a specific manifest, click on the link in the Manifests tab.  The manifest will appear in a 
            new tab on the page. Navigate to the new tab to search for attributes or download the manifest. 
            <br></br>
            To search for attributes among all manifests, navigate to the All Attributes tab and use the search 
            box provided at the top of the tab. All attributes can also be downloaded as a csv file.
        </p>

    </div>
);

export default DSDirections;