UI: Add "New X" buttons to dashboard and group issue, MR and milestone indexes
To do
-
Use searchable dropdown since dashboard/group can have a lot of projects. Use select2?
Before
After
As you can see, for milestones, groups are listed as well as we can now easily create group milestones.
Fixes #3544 (closed) and https://dev.gitlab.org/gitlab/gitlabhq/issues/2581
Merge request reports
Activity
mentioned in merge request !1930 (closed)
mentioned in issue #3544 (closed)
Reassigned to @DouweM
@DouweM What happens with 1000+ projects in a group? I'm fine with fixing this later btw.
@JobV See the task I just added:
- Use searchable dropdown since dashboard/group can have a lot of projects. Use select2?
:)
You propose to merge this now, fix that later?
@DouweM I prefer to have select2 if possible :)
Added 48 commits:
-
5a59712b...6689224a - 47 commits from branch
master
- 66affb83 - Merge branch 'master' into ui/dashboard-new-issue
-
5a59712b...6689224a - 47 commits from branch
Added 195 commits:
-
66affb83...bd5fb1b4 - 191 commits from branch
master
- 8f817c7b - Add API group projects endpoint.
- cbcb8dbe - Use select2 dropdown for dashboard/group 'New X' buttons
- 5a9a8d03 - Merge branch 'master' into ui/dashboard-new-issue
- 6fb90a2c - Include groups in dashboard "New Milestone" select.
Toggle commit list-
66affb83...bd5fb1b4 - 191 commits from branch
Reassigned to @dzaporozhets
@JobV Done :)
65 65 DestroyGroupService.new(group, current_user).execute 66 66 end 67 67 68 # Get a list of projects in this group 69 # 70 # Example Request: 71 # GET /groups/:id/projects 72 get ":id/projects" do 73 group = find_group(params[:id]) 74 projects = group.projects 75 projects = filter_projects(projects) 76 projects = paginate projects 77 present projects, with: Entities::Project 78 end 79 @DouweM please add specs for this method
@dzaporozhets Specs added.
@DouweM thanks!
Reassigned to @DouweM
Added 1 commit:
- 0c3f70ac - Add API group projects specs
Reassigned to @dzaporozhets
Added 49 commits:
-
0c3f70ac...51ed5225 - 48 commits from branch
master
- 15925290 - Merge branch 'master' into ui/dashboard-new-issue
-
0c3f70ac...51ed5225 - 48 commits from branch
mentioned in commit 038c9a65
mentioned in commit 184aa521
mentioned in commit 6d88aabd
mentioned in commit 0f08704c
mentioned in commit tnir/gitlab-ce@fa9a2bab
Mentioned in commit maxraab/gitlab-ce@fa9a2bab