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
45ec2653
Commit
45ec2653
authored
Jan 08, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor `explore:*`
parent
8a7bbe1f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
428 additions
and
342 deletions
+428
-342
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+409
-342
app/assets/javascripts/pages/explore/groups/index.js
app/assets/javascripts/pages/explore/groups/index.js
+14
-0
app/assets/javascripts/pages/explore/projects/index.js
app/assets/javascripts/pages/explore/projects/index.js
+5
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
45ec2653
This diff is collapsed.
Click to expand it.
app/assets/javascripts/pages/explore/groups/index.js
0 → 100644
View file @
45ec2653
import
GroupsList
from
"
~/groups_list
"
;
import
Landing
from
"
~/landing
"
;
export
default
function
()
{
new
GroupsList
();
const
landingElement
=
document
.
querySelector
(
"
.js-explore-groups-landing
"
);
if
(
!
landingElement
)
return
;
const
exploreGroupsLanding
=
new
Landing
(
landingElement
,
landingElement
.
querySelector
(
"
.dismiss-button
"
),
"
explore_groups_landing_dismissed
"
);
exploreGroupsLanding
.
toggle
();
}
app/assets/javascripts/pages/explore/projects/index.js
0 → 100644
View file @
45ec2653
import
ProjectsList
from
"
~/projects_list
"
;
export
default
function
()
{
new
ProjectsList
();
}
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