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
315a5e70
Commit
315a5e70
authored
Apr 22, 2020
by
Gilang Gumilar
Committed by
Jan Provaznik
Apr 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix filter todos by design
parent
d3264cca
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
doc/user/todos.md
doc/user/todos.md
+1
-1
ee/app/finders/ee/todos_finder.rb
ee/app/finders/ee/todos_finder.rb
+1
-1
ee/changelogs/unreleased/33187-fix-filter-todos-by-design.yml
...hangelogs/unreleased/33187-fix-filter-todos-by-design.yml
+5
-0
spec/finders/todos_finder_spec.rb
spec/finders/todos_finder_spec.rb
+1
-1
No files found.
doc/user/todos.md
View file @
315a5e70
...
...
@@ -137,7 +137,7 @@ There are four kinds of filters you can use on your To-Do List.
| Project | Filter by project |
| Group | Filter by group |
| Author | Filter by the author that triggered the To Do |
| Type | Filter by issue, merge request, or epic
**(ULTIMATE)**
|
| Type | Filter by issue, merge request,
design,
or epic
**(ULTIMATE)**
|
| Action | Filter by the action that triggered the To Do |
You can also filter by more than one of these at the same time. The possible Actions are
...
...
ee/app/finders/ee/todos_finder.rb
View file @
315a5e70
...
...
@@ -4,7 +4,7 @@ module EE
module
TodosFinder
extend
ActiveSupport
::
Concern
EE_TODO_TYPES
=
(
::
TodosFinder
::
TODO_TYPES
+
%w[Epic]
).
freeze
EE_TODO_TYPES
=
(
::
TodosFinder
::
TODO_TYPES
+
%w[Epic
DesignManagement::Design
]
).
freeze
class_methods
do
extend
::
Gitlab
::
Utils
::
Override
...
...
ee/changelogs/unreleased/33187-fix-filter-todos-by-design.yml
0 → 100644
View file @
315a5e70
---
title
:
Fix filter todos by design.
merge_request
:
29972
author
:
Gilang Gumilar
type
:
fixed
spec/finders/todos_finder_spec.rb
View file @
315a5e70
...
...
@@ -260,7 +260,7 @@ describe TodosFinder do
it
'returns the expected types'
do
expected_result
=
if
Gitlab
.
ee?
%w[Epic Issue MergeRequest]
%w[
DesignManagement::Design
Epic Issue MergeRequest]
else
%w[Issue MergeRequest]
end
...
...
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