Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DT-960] Change wording for tooltips #2706

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/data_search/DatasetSearchTableConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const makeStudyTableHeaders = (datasets: DatasetTerm[], selected: number[
const indeterminate = numberSelected > 0 && numberSelected < studyDatasetIds.length;
const checkboxId = `${datasets[0].study.studyId}-is-selected-checkbox`;
const isSelectableStudy = datasets.filter(isSelectable).length === datasets.length;
const tooltipText = 'This study contains some open or external datasets. Select the \'View By Datasets\' tab to apply for access to datasets in this study.';
const tooltipText = 'This study contains one or more dataset that is either open access or whose requests are managed outside DUOS. Go to the datasets tab for additional information per dataset.';
return {
data: <>
<ReactTooltip
Expand Down Expand Up @@ -260,7 +260,7 @@ export const makeDatasetTableHeader = (datasets: DatasetTerm[], selected: number
cellDataFn: (dataset: DatasetTerm) => {
const isSelected = selected.includes(dataset.datasetId);
const checkboxId = `${dataset.datasetId}-is-selected-checkbox`;
const tooltipText = `${dataset.accessManagement == 'open' ? 'Applying for access to open access datasets is not necessary' : 'To apply for access to external access datasets, please follow the link to the external site'}`;
const tooltipText = `${dataset.accessManagement == 'open' ? 'Open access data doesn’t require a request, go to the link in the data location column to proceed.' : 'Data access is managed outside DUOS, follow the link in the data location column to proceed'}`;
return {
data: <>
<ReactTooltip
Expand Down
Loading