Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
71555ac5
Commit
71555ac5
authored
Sep 14, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in groups/merge_requests/index.js and remove outdated file
parent
737a62f6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
85 deletions
+0
-85
app/assets/javascripts/filtered_search/issues_filtered_search_token_keys.js
...ipts/filtered_search/issues_filtered_search_token_keys.js
+0
-77
app/assets/javascripts/pages/groups/merge_requests/index.js
app/assets/javascripts/pages/groups/merge_requests/index.js
+0
-8
No files found.
app/assets/javascripts/filtered_search/issues_filtered_search_token_keys.js
deleted
100644 → 0
View file @
737a62f6
import
FilteredSearchTokenKeys
from
'
./filtered_search_token_keys
'
;
export
const
tokenKeys
=
[{
key
:
'
author
'
,
type
:
'
string
'
,
param
:
'
username
'
,
symbol
:
'
@
'
,
icon
:
'
pencil
'
,
tag
:
'
@author
'
,
},
{
key
:
'
assignee
'
,
type
:
'
string
'
,
param
:
'
username
'
,
symbol
:
'
@
'
,
icon
:
'
user
'
,
tag
:
'
@assignee
'
,
},
{
key
:
'
milestone
'
,
type
:
'
string
'
,
param
:
'
title
'
,
symbol
:
'
%
'
,
icon
:
'
clock-o
'
,
tag
:
'
%milestone
'
,
},
{
key
:
'
label
'
,
type
:
'
array
'
,
param
:
'
name[]
'
,
symbol
:
'
~
'
,
icon
:
'
tag
'
,
tag
:
'
~label
'
,
}];
if
(
gon
.
current_user_id
)
{
// Appending tokenkeys only logged-in
tokenKeys
.
push
({
key
:
'
my-reaction
'
,
type
:
'
string
'
,
param
:
'
emoji
'
,
symbol
:
''
,
icon
:
'
thumbs-up
'
,
tag
:
'
emoji
'
,
});
}
export
const
alternativeTokenKeys
=
[{
key
:
'
label
'
,
type
:
'
string
'
,
param
:
'
name
'
,
symbol
:
'
~
'
,
}];
export
const
conditions
=
[{
url
:
'
assignee_id=0
'
,
tokenKey
:
'
assignee
'
,
value
:
'
none
'
,
},
{
url
:
'
milestone_title=No+Milestone
'
,
tokenKey
:
'
milestone
'
,
value
:
'
none
'
,
},
{
url
:
'
milestone_title=%23upcoming
'
,
tokenKey
:
'
milestone
'
,
value
:
'
upcoming
'
,
},
{
url
:
'
milestone_title=%23started
'
,
tokenKey
:
'
milestone
'
,
value
:
'
started
'
,
},
{
url
:
'
label_name[]=No+Label
'
,
tokenKey
:
'
label
'
,
value
:
'
none
'
,
}];
const
IssuesFilteredSearchTokenKeys
=
new
FilteredSearchTokenKeys
(
tokenKeys
,
alternativeTokenKeys
,
conditions
);
export
default
IssuesFilteredSearchTokenKeys
;
app/assets/javascripts/pages/groups/merge_requests/index.js
View file @
71555ac5
import
projectSelect
from
'
~/project_select
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
<<<<<<<
HEAD
import
IssuesFilteredSearchTokenKeys
from
'
~/filtered_search/issues_filtered_search_token_keys
'
;
=======
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
>>>>>>>
upstream
/
master
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilteredSearch
({
page
:
FILTERED_SEARCH
.
MERGE_REQUESTS
,
isGroupDecendent
:
true
,
<<<<<<<
HEAD
filteredSearchTokenKeys
:
IssuesFilteredSearchTokenKeys
,
=======
filteredSearchTokenKeys
:
IssuableFilteredSearchTokenKeys
,
>>>>>>>
upstream
/
master
});
projectSelect
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment