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 {
:data-item-path="item.referencePath"
data-testid="board_card"
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" />
</li>
......
......@@ -127,7 +127,6 @@ export default {
icon: 'issues',
title: type,
type: 'types',
operators: [{ value: '=', description: is }],
token: GlFilteredSearchToken,
unique: true,
options: [
......
......@@ -452,7 +452,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [
icon: 'issues',
title: __('Type'),
type: 'types',
operators: [{ value: '=', description: 'is' }],
token: GlFilteredSearchToken,
unique: true,
options: [
......
......@@ -64,12 +64,12 @@ describe('Board card', () => {
};
const selectCard = async () => {
wrapper.trigger('mouseup');
wrapper.trigger('click');
await wrapper.vm.$nextTick();
};
const multiSelectCard = async () => {
wrapper.trigger('mouseup', { ctrlKey: true });
wrapper.trigger('click', { ctrlKey: true });
await wrapper.vm.$nextTick();
};
......
......@@ -604,7 +604,6 @@ export const mockTokens = (fetchLabels, fetchAuthors, fetchMilestones) => [
icon: 'issues',
title: __('Type'),
type: 'types',
operators: [{ value: '=', description: 'is' }],
token: GlFilteredSearchToken,
unique: true,
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