summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issuable.js.es6
Commit message (Collapse)AuthorAgeFilesLines
* resolve all prefer-const eslint violationsMike Greiling2017-01-181-2/+2
|
* resolve all padded-blocks eslint violationsMike Greiling2017-01-181-3/+1
|
* Maintain milestone filter option when updating filter25561-maintain-milestone-filter-paramSam Rose2016-12-211-5/+9
| | | | Setup teaspoon tests for Issuable
* Merge branch '24877-bulk-edit-only-keeps-common-labels-when-searching' into ↵Fatih Acet2016-12-151-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Improve bulk assignment This MR improves current implementation of Label dropdown when used for bulk assignment on issuable pages (/:namespace/:project/issues, /:namespace/:project/merge_requests) Previously this dropdown relied on `<input>` tags to get its active items and also to calculate items with indeterminate state. Relying on `<input>` tags is not enough when we want to set/get multiple states on a dropdown. For this case we want to get/set: - Marked items - Unmarked items that were initially marked - Unmarked items that were initially indeterminate - Items with indeterminate state. This MR makes the Label dropdown to save its own state as `data` so it will be easy to get and set whatever state we want no matter if the dropdown is filtering which is the issue that I initially wanted to solve as you can see in the following gif. **Before** ![2016-12-07_11.44.48](/uploads/cb697161b8b39cdee72fdbb95a531100/2016-12-07_11.44.48.gif) **After** ![2016-12-07_11.32.43](/uploads/338255a302de0dd1367474f33232d2a3/2016-12-07_11.32.43.gif) As you can see in the first gif the `bug` label is removed from the selected issues but the `enhancement` label should set but the `critical` should be kept. This is fixed on the next gif. Fixes #24877 See merge request !7765
| * Improve issuable's bulk assignment implementationAlfredo Sumaran2016-12-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the case when the user wants to add a label. The user has to use the dropdown’s filter input to look for a label and click it in order to see the bug. Step to reproduce - Select at least two issues, one label should be present in all issues, other label should be present in at least one. - On the label dropdown: Deselect label that is present in all issues, look for another issue using the filter input and click it. - Click on `Update issues` Before: Unmarked label were kept on selected issues. Now: Unmarked label is removed from selected issues
* | expand remaining non-explicit eslint-disable blocks and factor out globals ↵Mike Greiling2016-12-131-1/+4
|/ | | | when no-undef encountered
* implements reset incoming email token on issues modal and account page,use-separate-token-for-incoming-emailtiagonbotelho2016-11-071-0/+22
| | | | reactivates all tests and writes more tests for it
* disable ESLint for all JavaScript fileswinniehell2016-10-261-0/+1
|
* Ensure search val is defined.itchy-trigger-finger-on-issues-searchBryce Johnson2016-10-251-1/+1
|
* Ensure cursor is applied to end of issues search input.Bryce Johnson2016-10-251-2/+16
|
* Increase debounce wait on issues search execution.Bryce Johnson2016-10-251-3/+39
|
* Merge branch 'master' into revert-c676283bPhil Hughes2016-10-031-1/+0
|
* Intercept issues search form submit to preserve filters.search-field-ignoresBryce2016-09-221-17/+24
|
* fix issues mr counterbarthc2016-09-201-2/+2
|
* Restore comments lost when converting CoffeeScript to JavaScriptJared Deckard2016-09-081-0/+2
|
* Add bulk update support for merge requests listDmitriy Zaporozhets2016-09-081-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add issues filters reset btn (ES6-ified).Bryce2016-09-021-0/+101
(Also refactored checkChanged slightly.)