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

Tooltip info #350

Merged
merged 4 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion api/controllers/datalad.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ router.get('/datasets', common.jwt({credentialsRequired: false}), (req, res, nex

/**
* @apiGroup Datalad
* @api {get} /datalad/import/:dataset_id
* @api {post} /datalad/import/:dataset_id
* @apiDescription Import dataset
*
* @apiParam {String} project Project ID to import dataset
Expand Down
4 changes: 3 additions & 1 deletion ui/src/assets/noprocess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
<p>
To do so, look under the <b>Archive</b> tab on your new project.
Select data objects from a single subject by clicking the checkbox next to each DataType.
Then click <b><icon name="play"/> Stage to process</b> button to open <i>Stage Datasets</i> modal
Then click <b><icon name="play"/> Stage to process
<icon name="info-circle" title="Staging data for processing prepares and transfers selected datasets to a computational environment where they can be analyzed or processed according to project requirements"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kept it here in case needed in future

</b> button to open <i>Stage Datasets</i> modal
where you can select your own project to stage selected dataset to. Click Submit to create a new process.
</p>
<p>
Expand Down
4 changes: 3 additions & 1 deletion ui/src/components/datasets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@
</b-btn>
</p>
<p>
<b-btn size="sm" variant="outline-secondary" @click="process"><icon name="play" scale="0.8"/> Stage to process</b-btn>
<b-btn size="sm" variant="outline-secondary" @click="process"><icon name="play" scale="0.8"/> Stage to process
<icon name="info-circle" title="Staging data for processing prepares and transfers selected datasets to a computational environment where they can be analyzed or processed according to project requirements"/>
</b-btn>
</p>
<p>
<b-btn size="sm" variant="outline-secondary" @click="copy"><icon name="copy" scale="0.8"/> Copy</b-btn>
Expand Down
10 changes: 10 additions & 0 deletions ui/src/project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
<div v-if="project.stats && get_total(project.stats.instances) > 0" style="display: inline-block; width: 75px;">
<stateprogress :states="project.stats.instances"/>
</div>
<icon name="info-circle" title="A Process is a logical grouping of data analysis and processing tasks that share input and output datasets."/>
</span>


<span v-if="tabinfo.id == 'pipeline' && project.stats && project.stats.rules && (project.stats.rules.active||project.stats.rules.inactive)"
title="Number of pipeline rules" style="opacity: 0.6; font-size: 80%;">
&nbsp;{{project.stats.rules.active}} <small>/ {{project.stats.rules.active + project.stats.rules.inactive}}</small>
Expand All @@ -54,6 +56,14 @@
<span v-if="tabinfo.id == 'pub' && project.stats && project.stats.publications > 0" style="opacity: 0.6; font-size: 80%;">
&nbsp;{{project.stats.publications}}
</span>

<span v-if="tabinfo.id=='pub'">
<icon name="info-circle" id="info-publications"></icon>
<b-tooltip target="info-publications" triggers="hover">
Brainlife's publications provide datasets and analyses openly, allowing anyone on the internet to explore and download these resources directly.
</b-tooltip>
</span>

</template>
</b-tab>
</b-tabs>
Expand Down
Loading