summaryrefslogtreecommitdiff
path: root/app/helpers/todos_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate N+1 queries in Dashboard::TodosControllerStan Hu2019-06-241-1/+1
| | | | | | | This appears to bring down the number of SQL queries on GitLab.com for my Todos page from 672 to 100. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/43042
* Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-5/+6
| | | | Partially addresses #47424.
* Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""Jarka Kadlecová2018-08-021-1/+9
| | | | This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.
* Revert "Merge branch 'ee-5481-epic-todos' into 'master'"Jarka Kadlecová2018-07-111-9/+1
| | | | | This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
* More EE->CE fixesJan Provaznik2018-07-031-3/+1
|
* Move todo_group_options to CEJan Provaznik2018-07-031-0/+10
|
* Support todos for epics backportJarka Kadlecová2018-07-031-1/+1
|
* Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets2018-03-051-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Resolve "Closed issue label in todo's styling is difficult to read"Simon Knox2018-01-171-1/+9
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-1/+1
|
* Test todos_count_format helper at the correct level to improve speedrs-simplify-todo-count-specRobert Speicher2017-06-091-1/+1
| | | | | Instead of an integration test that creates 101 Todo records to test a simple view helper, just unit test the helper.
* Consistently use monospace font for commit SHAs and branch and tag namesDouwe Maan2017-05-121-4/+7
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve text on todo list when the todo action comes from yourselfJacopo2017-04-281-4/+8
| | | | | | | | | | | | | | Improved todo message when an issue is assigned to yourself. - The new message when an user assign to himself an issue or a mr is: "You assigned issue xx to yourself" - The new message when an user adds a todo to himself is: "You added a todo for issue xx" - The new message when and user mention himself is: "You mentioned yourself on issue xx" - The new message when an user directly address himself is: "You directly addressed yourself on issue xx" - The new message when an user mark himself as an approver is: "You set yourself as an approver for merge request xx"
* Revert "Merge branch '29534-todos-performance' into 'master'"Sean McGivern2017-03-211-7/+3
| | | This reverts merge request !10076
* Todos performance: Include associations in FinderJarka Kadlecova2017-03-201-3/+7
|
* Include routes when loading user projectsJarka Kadlecova2017-03-161-2/+1
|
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* change todos counter position & format ( for large counts )mhasbini2017-02-211-0/+4
|
* Create directly_addressed Todos when mentioned in beginning of a lineErshad Kunnakkadan2017-02-081-1/+3
|
* Filter todos by manual addJacopo2017-01-281-1/+3
| | | | Added the option to filter todo by Added and Pipelines
* Merge branch '23524-notify-automerge-user-of-failed-build' into 'master' Sean McGivern2017-01-191-1/+2
|\ | | | | | | | | | | | | Notify the user who set auto-merge when merge is not possible Closes #23524 See merge request !8056
| * Notify the user who set auto-merge when merge conflict occurstwonegatives2017-01-141-0/+1
| |
| * Notify the user who set auto-merge when a build failstwonegatives2016-12-161-1/+1
| |
* | Fix viewing "build failed" TODOsNick Thomas2016-12-221-1/+1
|/
* Changed helper method to check for none on paramsPhil Hughes2016-11-081-1/+1
| | | | Moved if statements around in view
* Fixed todos empty state when filteringtodos-filter-empty-statePhil Hughes2016-11-071-0/+4
| | | | Closes #24127
* Removed try method call on due datetodo-issue-due-datePhil Hughes2016-10-031-3/+11
|
* Moved middot into helper methodPhil Hughes2016-10-031-1/+2
|
* Moved todo due date to helper methodPhil Hughes2016-10-031-1/+6
|
* Moved todo due date text into helper methodPhil Hughes2016-10-031-0/+6
|
* Removed inline JS and improved dropdown labelsLuke Bennett2016-09-011-3/+13
|
* Swapped out author dropdown and started on swapping out project dropdownLuke Bennett2016-09-011-16/+10
|
* Recover usage of Todos counter cache20842-todos-queries-cachePaco Guzman2016-08-121-2/+2
| | | | | | | We’re being kept up to date the counter data but we’re not using it. The only thing which is not real if is the number of projects that the user read changes the number of todos can be stale for some time. The counters will be sync just after the user receives a new todo or mark any as done
* Merge branch 'approval-required-todo' into 'master' Robert Speicher2016-07-121-0/+1
|\ | | | | | | | | | | | | Add approval required todos Ports the 'approval required' todo type from EE - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/547 See merge request !5217
| * Add approval required todosapproval-required-todoSean McGivern2016-07-121-0/+1
| |
* | Cache todos pending/done dashboard query countsPaco Guzman2016-07-121-2/+2
|/
* Merge branch 'issuable-todo-improvements'Douwe Maan2016-06-181-1/+1
|\ | | | | | | | | # Conflicts: # app/controllers/projects/todos_controller.rb
| * Improved manual todosPhil Hughes2016-06-171-1/+1
| | | | | | | | Based on feedback from !4502
* | Ensure Todos counters doesn't count Todos for projects pending deleteDouglas Barbosa Alexandre2016-06-171-2/+2
| |
* | Cache todo counters (pending/done)18034-cache-todo-counterPaco Guzman2016-06-171-2/+2
|/ | | | | | | - As todos are created/updated inside the TodoService we repopulate the cache just there for both pending/done todos - Todos as mark as done from the TodosController we update cache there too - All the added methods are kept in the User class for cohesion
* Updated TODO descriptionPhil Hughes2016-06-141-1/+1
|
* todo title text update for manual todosPhil Hughes2016-06-141-0/+1
|
* Add tooltips to todo target linksrs-todo-has-tooltipRobert Speicher2016-05-301-1/+3
|
* Make conditional a guard clauseAlfredo Sumaran2016-05-251-5/+5
|
* Address feedbackAlfredo Sumaran2016-05-251-9/+12
| | | | Signed-off-by: Alfredo Sumaran <alfredo@gitlab.com>
* Move conditional to a methodAlfredo Sumaran2016-05-251-0/+4
|
* Fix syntaxAlfredo Sumaran2016-05-251-2/+2
|
* Add target statusAlfredo Sumaran2016-05-251-0/+9
|