Skip to content

Commit

Permalink
Resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsibilla committed Nov 29, 2023
2 parents 235a2ab + 64b3201 commit f7817d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
17 changes: 11 additions & 6 deletions src/components/custom/layout/TutorialSteps.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
import React from "react";

function TutorialSteps(loggedIn) {
const stepsCount = loggedIn ? 6 : 4
const stepsCount = loggedIn ? 7 : 5
let _steps = [
{
target: '#search',
disableBeacon: true,
title: <span>Search Entities by Free Text (1/{stepsCount})</span>,
content: 'To further narrow the relevant entities, type search terms or phrases into the Search bar. Entities containing any of the search terms will be returned.'
},
{
target: '#searchDropdown',
title: <span>Search Entities or Metadata (2/{stepsCount})</span>,
content: 'The default option to search by entities allows you to filter results based on the core properties of various entity types. You can also search and filter the metadata that has been submitted to registered entities.',
},
{
target: '.sui-facet',
title: <span>Filter Your Browsing (2/{stepsCount})</span>,
title: <span>Filter Your Browsing (3/{stepsCount})</span>,
content: 'The faceted search options on the left side allows filtering entities by any combination of categories. Search results update automatically as you edit the selection of filters.',
},
{
target: '[data-column-id="2"].rdt_TableCol',
title: <span>Sort Search Results (3/{stepsCount})</span>,
title: <span>Sort Search Results (4/{stepsCount})</span>,
content: 'Clicking the header of any column will sort search results. A bolded arrow indicates the current sorting selection. Clicking again will reverse the order.'
},
{
target: '#sui-tbl-checkbox-actions',
title: <span>Download Search Results (4/{stepsCount})</span>,
title: <span>Download Search Results (5/{stepsCount})</span>,
content: <span>Clicking on the checkboxes <input type={'checkbox'} role='presentation' disabled /> on the left side of the search results table allows selecting distinct entities for export. Clicking on the ellipsis <button
role='presentation'
className="dropdown-toggle btn btn-secondary-outline border-0">...</button> at the top of the search results table allows for exporting either only the selected entities or all entities in the table to a <code>JSON</code> or <code>TSV</code> format.</span>
Expand All @@ -30,13 +35,13 @@ function TutorialSteps(loggedIn) {
if (loggedIn){
_steps.push({
target: '#nav-dropdown',
title: <span>Registering entities (5/{stepsCount})</span>,
title: <span>Registering entities (6/{stepsCount})</span>,
content: <span>You may register individual and bulk entities by clicking on this menu. Then selecting under <i>Single</i> for single registration or under <i>Bulk</i> for bulk registration.</span>
})

_steps.push({
target: '#nav-dropdown--bulkMetadata',
title: <span>Bulk uploading metadata (6/{stepsCount})</span>,
title: <span>Bulk uploading metadata (7/{stepsCount})</span>,
content: <span>Select this menu to bulk upload metadata. <br /> <small className='text-muted'>Note: You may also upload metadata for a single entity during registration. See previous step for details.</small></span>
})
}
Expand Down
7 changes: 0 additions & 7 deletions src/sass/components/sui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,6 @@

.sui-resultsTable {
min-height: 400px;
@include xlg {
.spinner-wrapper {
position: absolute;
top: 30%; right: 45%;
transform: translate(50%,-50%);
}
}
}

#sui-tbl-checkbox-actions {
Expand Down

0 comments on commit f7817d8

Please sign in to comment.