summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/todos.js.es6
Commit message (Collapse)AuthorAgeFilesLines
* Remove .es6 from file extensions (!9241)winniehell2017-03-051-146/+0
|
* Todo done clicking is kind of unusable.Jacopo2017-02-171-85/+58
| | | | | | The Done button will change to an Undo button and the line item will be greyed out. Bold links will be unbolded. The user can undo the task by clicking the Undo button.
* Fix regression where cmd-click stopped working for todos and merge request tabs27922-cmd-click-todo-doesn-t-workClement Ho2017-02-151-10/+7
|
* Use `gl.utils.isMetaClick` to identify meta-clicksKushal Pandya2017-02-071-5/+1
|
* Use plain JS in `goToTodoUrl`, make comment more conciseKushal Pandya2017-02-071-7/+8
|
* Add Ctrl+Click supportKushal Pandya2017-02-071-3/+18
|
* Remove turbolinks.Bryce Johnson2017-02-021-4/+3
|
* Do not rely on style class for changing DOM state on "Mark all as done"23634-remove-project-groupingOswaldo Ferreira2017-01-271-1/+1
|
* resolve all padded-blocks eslint violationsMike Greiling2017-01-181-2/+1
|
* resolve all semi and no-extra-semi eslint violationsMike Greiling2017-01-181-2/+2
|
* resolve all instances of no-undef eslint rule violationsclean-no-undefMike Greiling2016-12-141-2/+2
|
* expand remaining non-explicit eslint-disable blocks and factor out globals ↵Mike Greiling2016-12-131-1/+4
| | | | when no-undef encountered
* Merge branch 'add-todo-toggle-event' into 'master' remove-tooltip-text-truncation-from-pipeline-graph-build-node-tooltipsFatih Acet2016-10-271-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add todo toggle event ## What does this MR do? Adds a custom jQuery event `todo:toggle` to detect when a new todo is added so that the respective todo counters (header navigation and sidebar) can update as needed ## Are there points in the code the reviewer needs to double check? * I wasn't sure whether each `spec` should be modularized based on the html templates or whether they should be separated based on function. There are some crossovers between the `dashboard_spec` and the `header_spec`. * The naming conventions for `sidebar` and `right_sidebar` were a little confusing since they were named the opposite in their `specs`. I made a few assumptions and named a few files based on what I thought they should be named. I'd be happy to change it to something else though :smile: ## Why was this MR needed? This resolves an existing issue where the todo count on the sidebar would not update (until refresh) and refactors the existing methods that are used to update the todo counters (header navigation and sidebar) ## What are the relevant issue numbers? Closes #20140 ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5724
| * Add todo toggle eventClement Ho2016-10-261-1/+2
| |
* | disable ESLint for all JavaScript fileswinniehell2016-10-261-0/+1
|/
* Make fixes to get tests passing.Bryce Johnson2016-10-051-1/+1
|
* Fix todos specs.Bryce Johnson2016-10-051-1/+1
|
* Set defaults in constructor, in case opts are undefined.Bryce Johnson2016-10-051-2/+2
|
* Make use of destructuring options, clean up based on feedback.Bryce Johnson2016-10-051-5/+5
|
* Use parentheses in IFFE's as per AirBnb styleguide.Bryce Johnson2016-10-051-1/+1
|
* Fixup refs to currPage and currPages.Bryce Johnson2016-10-051-2/+2
|
* Refactor Todos to ES6.Bryce Johnson2016-10-051-0/+161