|
78 | 78 | required |
79 | 79 | @focus="$store.dispatch('toggleShortcutLock', true)" |
80 | 80 | @blur="$store.dispatch('toggleShortcutLock', false)"> |
81 | | - <input v-tooltip="t('deck', 'Add list')" |
| 81 | + <input :title="t('deck', 'Add list')" |
82 | 82 | class="icon-confirm" |
83 | 83 | type="submit" |
84 | 84 | value=""> |
85 | 85 | </form> |
86 | 86 | </div> |
87 | 87 | <div v-if="board" class="board-action-buttons"> |
88 | 88 | <div class="board-action-buttons__filter"> |
89 | | - <NcPopover container=".board-action-buttons__filter" |
90 | | - :placement="'bottom-end'" |
| 89 | + <NcPopover :placement="'bottom-end'" |
91 | 90 | :aria-label="t('deck', 'Active filters')" |
92 | 91 | :name="t('deck', 'Active filters')" |
93 | | - :tooltip="t('deck', 'Active filters')" |
94 | 92 | @show="filterVisible=true" |
95 | 93 | @hide="filterVisible=false"> |
96 | 94 | <!-- We cannot use NcActions here are the popover trigger does not update on reactive icons --> |
97 | | - <NcButton slot="trigger" |
98 | | - ref="filterPopover" |
99 | | - :name="t('deck', 'Apply filter')" |
100 | | - class="filter-button" |
101 | | - :type="isFilterActive ? 'primary' : 'tertiary'"> |
102 | | - <template #icon> |
103 | | - <FilterIcon v-if="isFilterActive" :size="20" decorative /> |
104 | | - <FilterOffIcon v-else :size="20" decorative /> |
105 | | - </template> |
106 | | - </NcButton> |
| 95 | + <template #trigger> |
| 96 | + <NcButton ref="filterPopover" |
| 97 | + :title="t('deck', 'Apply filter')" |
| 98 | + :aria-label="t('deck', 'Apply filter')" |
| 99 | + class="filter-button" |
| 100 | + :type="isFilterActive ? 'primary' : 'tertiary'"> |
| 101 | + <template #icon> |
| 102 | + <FilterIcon v-if="isFilterActive" :size="20" decorative /> |
| 103 | + <FilterOffIcon v-else :size="20" decorative /> |
| 104 | + </template> |
| 105 | + </NcButton> |
| 106 | + </template> |
107 | 107 |
|
108 | 108 | <div v-if="filterVisible" class="filter"> |
109 | 109 | <h3>{{ t('deck', 'Filter by tag') }}</h3> |
|
228 | 228 | </NcActionButton> |
229 | 229 | </NcActions> |
230 | 230 | <!-- FIXME: NcActionRouter currently doesn't work as an inline action --> |
231 | | - <NcActions> |
| 231 | + <NcActions v-if="isFullApp"> |
232 | 232 | <NcActionButton icon="icon-menu-sidebar" |
233 | 233 | :aria-label="t('deck', 'Open details')" |
234 | 234 | :name="t('deck', 'Details')" |
@@ -306,6 +306,7 @@ export default { |
306 | 306 | 'canManage', |
307 | 307 | ]), |
308 | 308 | ...mapState({ |
| 309 | + isFullApp: state => state.isFullApp, |
309 | 310 | compactMode: state => state.compactMode, |
310 | 311 | showCardCover: state => state.showCardCover, |
311 | 312 | searchQuery: state => state.searchQuery, |
@@ -412,6 +413,9 @@ export default { |
412 | 413 | this.showAddCardModal = false |
413 | 414 | }, |
414 | 415 | setPageTitle(title) { |
| 416 | + if (!this.isFullApp) { |
| 417 | + return |
| 418 | + } |
415 | 419 | if (this.defaultPageTitle === false) { |
416 | 420 | this.defaultPageTitle = window.document.title |
417 | 421 | if (this.defaultPageTitle.indexOf(' - Deck - ') !== -1) { |
@@ -559,8 +563,4 @@ export default { |
559 | 563 | .popover:focus { |
560 | 564 | outline: 2px solid var(--color-main-text); |
561 | 565 | } |
562 | | -
|
563 | | - .tooltip-inner.popover-inner { |
564 | | - text-align: left; |
565 | | - } |
566 | 566 | </style> |
0 commit comments