Commit b84608c0 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '298700-update-devops-adoption-metric-tooltip' into 'master'

Update Devops adoption metric tooltip

See merge request gitlab-org/gitlab!52872
parents a4b475ca 36c6f0ab
...@@ -159,11 +159,7 @@ export default { ...@@ -159,11 +159,7 @@ export default {
<strong v-if="item.latestSnapshot">{{ item.name }}</strong> <strong v-if="item.latestSnapshot">{{ item.name }}</strong>
<template v-else> <template v-else>
<span class="gl-text-gray-400">{{ item.name }}</span> <span class="gl-text-gray-400">{{ item.name }}</span>
<gl-icon <gl-icon name="hourglass" class="gl-text-gray-400" />
v-gl-tooltip.hover="$options.i18n.pendingTooltip"
name="hourglass"
class="gl-text-gray-400"
/>
</template> </template>
</div> </div>
</template> </template>
......
...@@ -90,7 +90,6 @@ export const DEVOPS_ADOPTION_STRINGS = { ...@@ -90,7 +90,6 @@ export const DEVOPS_ADOPTION_STRINGS = {
tooltip: s__('DevopsAdoption|At least 1 security scan of any type run in pipeline'), tooltip: s__('DevopsAdoption|At least 1 security scan of any type run in pipeline'),
}, },
}, },
pendingTooltip: s__('DevopsAdoption|Group data pending until the start of next month'),
}, },
deleteModal: { deleteModal: {
title: s__('DevopsAdoption|Confirm delete Group'), title: s__('DevopsAdoption|Confirm delete Group'),
......
...@@ -114,13 +114,6 @@ describe('DevopsAdoptionTable', () => { ...@@ -114,13 +114,6 @@ describe('DevopsAdoptionTable', () => {
expect(icon.exists()).toBe(true); expect(icon.exists()).toBe(true);
expect(icon.props('name')).toBe('hourglass'); expect(icon.props('name')).toBe('hourglass');
}); });
it('contains a tooltip', () => {
const tooltip = getBinding(icon.element, 'gl-tooltip');
expect(tooltip).toBeDefined();
expect(tooltip.value).toBe('Group data pending until the start of next month');
});
}); });
}); });
}); });
......
...@@ -10125,9 +10125,6 @@ msgstr "" ...@@ -10125,9 +10125,6 @@ msgstr ""
msgid "DevopsAdoption|Filter by name" msgid "DevopsAdoption|Filter by name"
msgstr "" msgstr ""
msgid "DevopsAdoption|Group data pending until the start of next month"
msgstr ""
msgid "DevopsAdoption|Issues" msgid "DevopsAdoption|Issues"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment