Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 15:21:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 15:21:30 +0300
commit2366f969a4b3a95e052e551cc7283a2db8d5562e (patch)
tree33ea679dad4b92048697729f68f9c606f91b32e4 /app/assets/javascripts/issues/dashboard
parentc7eec01f1b68b2e047cdd709751cb695ab329933 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issues/dashboard')
-rw-r--r--app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue36
1 files changed, 21 insertions, 15 deletions
diff --git a/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue b/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue
index 2546bface58..970ab12cc85 100644
--- a/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue
+++ b/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue
@@ -1,5 +1,10 @@
<script>
-import { GlButton, GlEmptyState, GlFilteredSearchToken, GlTooltipDirective } from '@gitlab/ui';
+import {
+ GlDisclosureDropdown,
+ GlEmptyState,
+ GlFilteredSearchToken,
+ GlTooltipDirective,
+} from '@gitlab/ui';
import * as Sentry from '@sentry/browser';
import getIssuesQuery from 'ee_else_ce/issues/dashboard/queries/get_issues.query.graphql';
import IssueCardStatistics from 'ee_else_ce/issues/list/components/issue_card_statistics.vue';
@@ -64,7 +69,7 @@ export default {
i18n,
IssuableListTabs,
components: {
- GlButton,
+ GlDisclosureDropdown,
GlEmptyState,
IssuableList,
IssueCardStatistics,
@@ -156,6 +161,12 @@ export default {
apiFilterParams() {
return convertToApiParams(this.filterTokens);
},
+ dropdownItems() {
+ return [
+ { href: this.rssPath, text: i18n.rssLabel },
+ { href: this.calendarPath, text: i18n.calendarLabel },
+ ];
+ },
emptyStateDescription() {
return this.hasSearch ? this.$options.i18n.noSearchResultsDescription : undefined;
},
@@ -458,19 +469,14 @@ export default {
@sort="handleSort"
>
<template #nav-actions>
- <gl-button
- v-gl-tooltip
- :href="rssPath"
- icon="rss"
- :title="$options.i18n.rssLabel"
- class="has-tooltip btn-icon"
- />
- <gl-button
- v-gl-tooltip
- :href="calendarPath"
- icon="calendar"
- :title="$options.i18n.calendarLabel"
- class="has-tooltip btn-icon"
+ <gl-disclosure-dropdown
+ v-gl-tooltip="$options.i18n.actionsLabel"
+ category="tertiary"
+ icon="ellipsis_v"
+ :items="dropdownItems"
+ no-caret
+ text-sr-only
+ :toggle-text="$options.i18n.actionsLabel"
/>
</template>