Skip to content

Commit 8cf2e03

Browse files
authored
Merge pull request galaxyproject#21962 from dannon/feature/g-tooltip
Replace v-b-tooltip directive with custom v-g-tooltip
2 parents 173df77 + 78a18de commit 8cf2e03

File tree

153 files changed

+684
-346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+684
-346
lines changed

client/src/components/Annotation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ClickToEdit
33
ref="annotationInput"
44
v-slot="{ toggleEdit, placeholder, stateValidator }"
5-
v-b-tooltip.hover="{ boundary: 'viewport', placement: tooltipPlacement }"
5+
v-g-tooltip.hover="{ placement: tooltipPlacement }"
66
class="annotation"
77
tag-name="p"
88
:value="annotation"

client/src/components/AvailableDatatypes/AvailableDatatypes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const edamLink = (edamIRI: string) => `https://edamontology.github.io/edam-brows
6060
:href="item.descriptionUrl">
6161
{{ item.extension }}
6262
</GLink>
63-
<span v-else v-b-tooltip.hover :title="optionalString(item.description)">
63+
<span v-else v-g-tooltip.hover :title="optionalString(item.description)">
6464
{{ item.extension }}
6565
</span>
6666
</template>

client/src/components/Citation/CitationsList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function citationsToBibtexAsText() {
153153
</BNav>
154154
<BButton
155155
v-if="outputFormat === outputFormats.CITATION"
156-
v-b-tooltip.hover
156+
v-g-tooltip.hover
157157
title="Copy all references as APA"
158158
variant="link"
159159
size="sm"
@@ -163,7 +163,7 @@ function citationsToBibtexAsText() {
163163
</BButton>
164164
<div v-if="outputFormat === outputFormats.BIBTEX" class="bibtex-actions">
165165
<BButton
166-
v-b-tooltip.hover
166+
v-g-tooltip.hover
167167
title="Copy all references as BibTeX"
168168
variant="link"
169169
size="sm"
@@ -172,7 +172,7 @@ function citationsToBibtexAsText() {
172172
<FontAwesomeIcon :icon="faCopy" />
173173
</BButton>
174174
<BButton
175-
v-b-tooltip.hover
175+
v-g-tooltip.hover
176176
title="Download references as .bib file"
177177
variant="link"
178178
size="sm"

client/src/components/Collections/BuildFileSetWizard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ const {
270270
</BAlert>
271271
<h2 data-galaxy-file-drop-target>
272272
{{ title }}
273-
<a v-b-tooltip.hover aria-label="Upload Completed Workbook" :title="dropWorkbookTitle" href="#">
273+
<a v-g-tooltip.hover aria-label="Upload Completed Workbook" :title="dropWorkbookTitle" href="#">
274274
<FontAwesomeIcon
275275
class="workbook-upload-helper mr-1"
276276
:class="dropZoneClasses"

client/src/components/Common/Abbreviation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const props = defineProps<Props>();
77
</script>
88

99
<template>
10-
<abbr v-b-tooltip.hover :title="props.explanation">
10+
<abbr v-g-tooltip.hover :title="props.explanation">
1111
<slot></slot>
1212
</abbr>
1313
</template>

client/src/components/Common/BreadcrumbHeading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function isPathActive(path: RawLocation): boolean {
3030
<BLink
3131
v-if="item.to && !isPathActive(item.to)"
3232
:key="index"
33-
v-b-tooltip.hover.bottom.noninteractive
33+
v-g-tooltip.hover.bottom
3434
:title="`Go back to ${localize(item.title)}`"
3535
:to="item.to"
3636
class="breadcrumb-heading-header-active">

client/src/components/Common/BreadcrumbNavigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function handleNavigate(index: number | undefined) {
2424
<button
2525
v-if="idx < items.length - 1"
2626
:key="`link-${idx}`"
27-
v-b-tooltip.hover.noninteractive
27+
v-g-tooltip.hover
2828
class="breadcrumb-link"
2929
:title="`Navigate to ${item.title}`"
3030
@click="handleNavigate(item.index)">

client/src/components/Common/DOILink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const doiLink = computed(() => `https://doi.org/${props.doi}`);
1414
</script>
1515

1616
<template>
17-
<BBadge v-b-tooltip.hover.noninteractive class="doi-badge" size="sm" title="DOI link">
17+
<BBadge v-g-tooltip.hover class="doi-badge" size="sm" title="DOI link">
1818
<ExternalLink :href="doiLink">
1919
{{ props.doi }}
2020
</ExternalLink>

client/src/components/Common/FilterMenuInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ watch(
7676
:id="`${identifier}-advanced-filter-${props.name}`"
7777
ref="filterMenuInput"
7878
v-model="localValue"
79-
v-b-tooltip.focus.v-danger="props.error"
79+
v-g-tooltip.focus.v-danger="props.error"
8080
class="mw-100"
8181
size="sm"
8282
:state="props.error ? false : null"

client/src/components/Common/FilterMenuRanged.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ watch(
9090
<BFormInput
9191
:id="`${props.identifier}-advanced-filter-${localNameGt}`"
9292
v-model="localValueGt"
93-
v-b-tooltip.focus.v-danger="hasError(localNameGt)"
93+
v-g-tooltip.focus.v-danger="hasError(localNameGt)"
9494
size="sm"
9595
:state="hasError(localNameGt) ? false : null"
9696
:placeholder="localPlaceholder('gt')"
@@ -107,7 +107,7 @@ watch(
107107
<BFormInput
108108
:id="`${props.identifier}-advanced-filter-${localNameLt}`"
109109
v-model="localValueLt"
110-
v-b-tooltip.focus.v-danger="hasError(localNameLt)"
110+
v-g-tooltip.focus.v-danger="hasError(localNameLt)"
111111
size="sm"
112112
:state="hasError(localNameLt) ? false : null"
113113
:placeholder="localPlaceholder('lt')"

0 commit comments

Comments
 (0)