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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
4fb47407
Commit
4fb47407
authored
Dec 22, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update icon names, add `updated_at` prop to mock objects
parent
495c714e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
spec/javascripts/groups/mock_data.js
spec/javascripts/groups/mock_data.js
+19
-3
No files found.
spec/javascripts/groups/mock_data.js
View file @
4fb47407
...
...
@@ -18,9 +18,9 @@ export const PROJECT_VISIBILITY_TYPE = {
};
export
const
VISIBILITY_TYPE_ICON
=
{
public
:
'
fa-globe
'
,
internal
:
'
fa-
shield
'
,
private
:
'
fa-
lock
'
,
public
:
'
earth
'
,
internal
:
'
shield
'
,
private
:
'
lock
'
,
};
export
const
mockParentGroupItem
=
{
...
...
@@ -46,6 +46,7 @@ export const mockParentGroupItem = {
isOpen
:
true
,
isChildrenLoading
:
false
,
isBeingRemoved
:
false
,
updatedAt
:
'
2017-04-09T18:40:39.101Z
'
,
};
export
const
mockRawChildren
=
[
...
...
@@ -69,6 +70,7 @@ export const mockRawChildren = [
subgroup_count
:
2
,
can_leave
:
false
,
children
:
[],
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
];
...
...
@@ -96,6 +98,7 @@ export const mockChildren = [
isOpen
:
true
,
isChildrenLoading
:
false
,
isBeingRemoved
:
false
,
updatedAt
:
'
2017-04-09T18:40:39.101Z
'
,
},
];
...
...
@@ -119,6 +122,7 @@ export const mockGroups = [
project_count
:
2
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
67
,
...
...
@@ -139,6 +143,7 @@ export const mockGroups = [
project_count
:
0
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
54
,
...
...
@@ -159,6 +164,7 @@ export const mockGroups = [
project_count
:
0
,
subgroup_count
:
1
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
5
,
...
...
@@ -179,6 +185,7 @@ export const mockGroups = [
project_count
:
1
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
4
,
...
...
@@ -199,6 +206,7 @@ export const mockGroups = [
project_count
:
2
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
3
,
...
...
@@ -219,6 +227,7 @@ export const mockGroups = [
project_count
:
1
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
{
id
:
2
,
...
...
@@ -239,6 +248,7 @@ export const mockGroups = [
project_count
:
4
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
},
];
...
...
@@ -262,6 +272,7 @@ export const mockSearchedGroups = [
project_count
:
1
,
subgroup_count
:
2
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
children
:
[
{
id
:
57
,
...
...
@@ -282,6 +293,7 @@ export const mockSearchedGroups = [
project_count
:
4
,
subgroup_count
:
2
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
children
:
[
{
id
:
60
,
...
...
@@ -302,6 +314,7 @@ export const mockSearchedGroups = [
project_count
:
0
,
subgroup_count
:
1
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
children
:
[
{
id
:
61
,
...
...
@@ -322,6 +335,7 @@ export const mockSearchedGroups = [
project_count
:
2
,
subgroup_count
:
0
,
can_leave
:
false
,
updated_at
:
'
2017-04-09T18:40:39.101Z
'
,
children
:
[
{
id
:
17
,
...
...
@@ -336,6 +350,7 @@ export const mockSearchedGroups = [
permission
:
null
,
edit_path
:
'
/platform/hardware/bsp/kernel/common/v4.4/edit
'
,
star_count
:
0
,
updated_at
:
'
2017-09-12T06:37:04.925Z
'
,
},
{
id
:
16
,
...
...
@@ -350,6 +365,7 @@ export const mockSearchedGroups = [
permission
:
null
,
edit_path
:
'
/platform/hardware/bsp/kernel/common/v4.1/edit
'
,
star_count
:
0
,
updated_at
:
'
2017-04-09T18:41:03.112Z
'
,
},
],
},
...
...
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