summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/labels_select.js
Commit message (Collapse)AuthorAgeFilesLines
* Make label filter URL dynamicKushal Pandya2018-02-281-12/+28
|
* Clear "Labels" dropdown search filter after selectionKushal Pandya2018-02-271-0/+6
|
* Use imported `DropdownUtils`Kushal Pandya2018-02-261-1/+1
|
* Harmonize CE and EE JS codereduce-ce-ee-disrepancies-in-jsRémy Coutable2018-02-221-3/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Update to jQuery 3.Jacob Schatz2018-02-201-9/+9
|
* fixed failing specsPhil Hughes2018-01-311-6/+6
|
* Converted labels_select.js to axiosPhil Hughes2018-01-301-85/+85
|
* Merge branch 'label-xss-10-3' into 'security-10-3'Jacob Schatz2018-01-161-1/+1
| | | | | | | | | | [10.3] Fix XSS in issue label dropdown See merge request gitlab/gitlabhq!2253 (cherry picked from commit 363ffabcebd7bb0d1a2d59ca1a75e4eadb4a4360) ea1fb0ea Fix XSS in issue label dropdown
* fix bad master mergeSimon Knox2017-11-021-4/+4
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Simon Knox2017-11-011-417/+413
|\ | | | | | | 2518-saved-configuration-for-issue-board
| * Export logo and labels select as ES6 modulesFilipa Lacerda2017-11-011-415/+411
| |
* | apply changes for JS and CSS from gitlab-ee!2912Simon Knox2017-10-311-4/+9
|/ | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2912/
* Revert "Merge branch '2518-saved-configuration-for-issue-board' into 'master'"revert-2573818fDmitriy Zaporozhets2017-10-301-9/+4
| | | This reverts merge request !15009
* [CE backport] Saved configuration for issue boardOswaldo Ferreira2017-10-301-4/+9
|
* Cleanup data-page attribute after each Karma test38871-cleanup-data-page-attribute-after-karma-testEric Eastwood2017-10-111-2/+2
| | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38871
* Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespaceFilipa Lacerda2017-10-091-1/+2
|
* Remove animate.js and the issuable label pulse animation.refactor-animate-jsBryce Johnson2017-09-131-7/+0
| | | | Nobody tell @jschatz1 :P
* Resolve "Specific Async Script Loading by using a Page Variable"Tim Zallmann2017-08-031-1/+1
|
* Add filtered search to group issue dashboardClement Ho2017-08-021-12/+2
|
* Move issuable bulk edit form into a new sidebar.28340-mass-edit-issues-and-mrs-from-sidebarBryce Johnson2017-06-061-9/+6
|
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-2/+5
|
* Add ES lint support to identify poorly written PromisesKushal Pandya2017-04-201-3/+5
|
* don't show loading spinners for server-rendered sidebar fieldsSimon Knox2017-03-181-1/+1
|
* Removed previous filter codePhil Hughes2017-03-081-16/+2
|
* replace implicit this == window with explicit bindingMike Greiling2017-02-171-1/+1
|
* Added all filtersPhil Hughes2017-02-031-10/+26
|
* Merge branch 'label-select-toggle' into 'master' kamil-test-branchFatih Acet2017-01-251-1/+5
|\ | | | | | | | | | | | | Fixed label select toggle not updating correctly Closes #26119 See merge request !8601
| * Fixed label select toggle not updating correctlylabel-select-togglePhil Hughes2017-01-161-1/+5
| | | | | | | | Closes #26119
* | 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
|/
* Fix eslint errorsfix-master-eslint-errorsAlfredo Sumaran2016-12-151-1/+1
|
* Merge branch '24877-bulk-edit-only-keeps-common-labels-when-searching' into ↵Fatih Acet2016-12-151-62/+84
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
| * Address feedback24877-bulk-edit-only-keeps-common-labels-when-searchingAlfredo Sumaran2016-12-141-5/+13
| |
| * Improve issuable's bulk assignment implementationAlfredo Sumaran2016-12-141-62/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | resolve all instances of no-undef eslint rule violationsclean-no-undefMike Greiling2016-12-141-1/+4
|/
* Remove JSX/React eslint plugins.remove-jsx-react-eslint-pluginsLuke "Jared" Bennett2016-11-291-1/+1
| | | | | | | | | | | | Change airbnb eslint config package to `eslint-config-airbnb-base` and update plugins. Change `airbnb` to `airbnb-base` for .eslintrc `extends` value. Added changelog entry Made sure all plugins and envs are set Corrected new failing specs
* explicitly disable eslint inlineexplicitly-disable-eslint-inlineLuke "Jared" Bennett2016-11-151-1/+1
|
* Merge branch 'eslint' into 'master' Fatih Acet2016-10-261-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ESLint ## What does this MR do? - create `package.json` - add ESLint dependencies to `package.json` - add JavaScript linting to CI - add Rake task `lint:javascript`as alias for `eslint` (which itself is an alias for `npm run eslint`) ## Are there points in the code the reviewer needs to double check? Probably not. ## Why was this MR needed? My hovercraft was full of eels. ## What are the relevant issue numbers? - https://gitlab.com/gitlab-org/gitlab-ce/issues/13224#note_12537431 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5006#note_13255658 See merge request !5445
| * disable ESLint for all JavaScript fileswinniehell2016-10-261-0/+1
| |
* | Hides/shows the boards sidebarPhil Hughes2016-10-201-1/+1
| | | | | | | | | | | | Rather than constructing & then deconstructing, we know just hide & show the sidebar. This is done so we dont' have a memory leak on the frontend with objects getting created.
* | Merge branch 'master' into issue-board-sidebarPhil Hughes2016-10-191-1/+1
|\ \ | |/
| * Return the title for id of 'No label'23375-filtering-on-any-label-or-no-label-does-not-workLuke Bennett2016-10-191-1/+1
| |
* | Merge branch 'master' into issue-board-sidebarPhil Hughes2016-10-191-2/+2
|\ \ | |/
| * Updated JS to work with issue index & showfeature/issues-boardPhil Hughes2016-10-121-2/+2
| |
* | Fixed filter specsPhil Hughes2016-10-071-1/+1
| |
* | Fixed sidebar dropdowns to work with VuePhil Hughes2016-10-071-2/+3
| |
* | Sidebar details update when changingPhil Hughes2016-10-071-2/+26
|/ | | | | Need to get working the subscription Styling updates
* Fix CHANGELOG and wrong conflict resolutionRémy Coutable2016-10-061-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge commit 'dev/security' into 'master'Rémy Coutable2016-10-061-2/+3
|\ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Convert label creation from API to controller endpointNick Thomas2016-09-231-3/+4
| |