Commit 5dfd0d27 authored by Florie Guibert's avatar Florie Guibert

Allow filtering of issues within boards by negate issue type

Behind feature flag `:issue_boards_filtered_search`
parent c3f0b38f
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
:data-item-path="item.referencePath" :data-item-path="item.referencePath"
data-testid="board_card" data-testid="board_card"
class="board-card gl-p-5 gl-rounded-base" class="board-card gl-p-5 gl-rounded-base"
@mouseup="toggleIssue($event)" @click="toggleIssue($event)"
> >
<board-card-inner :list="list" :item="item" :update-filters="true" /> <board-card-inner :list="list" :item="item" :update-filters="true" />
</li> </li>
......
...@@ -127,7 +127,6 @@ export default { ...@@ -127,7 +127,6 @@ export default {
icon: 'issues', icon: 'issues',
title: type, title: type,
type: 'types', type: 'types',
operators: [{ value: '=', description: is }],
token: GlFilteredSearchToken, token: GlFilteredSearchToken,
unique: true, unique: true,
options: [ options: [
......
...@@ -452,7 +452,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [ ...@@ -452,7 +452,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [
icon: 'issues', icon: 'issues',
title: __('Type'), title: __('Type'),
type: 'types', type: 'types',
operators: [{ value: '=', description: 'is' }],
token: GlFilteredSearchToken, token: GlFilteredSearchToken,
unique: true, unique: true,
options: [ options: [
......
...@@ -64,12 +64,12 @@ describe('Board card', () => { ...@@ -64,12 +64,12 @@ describe('Board card', () => {
}; };
const selectCard = async () => { const selectCard = async () => {
wrapper.trigger('mouseup'); wrapper.trigger('click');
await wrapper.vm.$nextTick(); await wrapper.vm.$nextTick();
}; };
const multiSelectCard = async () => { const multiSelectCard = async () => {
wrapper.trigger('mouseup', { ctrlKey: true }); wrapper.trigger('click', { ctrlKey: true });
await wrapper.vm.$nextTick(); await wrapper.vm.$nextTick();
}; };
......
...@@ -604,7 +604,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [ ...@@ -604,7 +604,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [
icon: 'issues', icon: 'issues',
title: __('Type'), title: __('Type'),
type: 'types', type: 'types',
operators: [{ value: '=', description: 'is' }],
token: GlFilteredSearchToken, token: GlFilteredSearchToken,
unique: true, unique: true,
options: [ options: [
......
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